Openbsd.Anycast 2.6 KB

12345678910111213141516171819
  1. version=pmwiki-2.2.130 ordered=1 urlencoded=1
  2. agent=Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
  3. author=mkf
  4. charset=UTF-8
  5. csum=
  6. ctime=1597224884
  7. host=80.191.34.206
  8. name=Openbsd.Anycast
  9. rev=2
  10. targets=
  11. text=Anycasting allows you to have multiple servers in different data centers all share the same IP. IRCNow currently uses [[https://buyvm.net|BuyVM]], which provides [[https://buyvm.net/anycast-vps/|anycasting]] free of charge for customers that purchase 3 VMs with them provided they are all in different data centers.%0a%0aThe benefit is that, whenever a user connects to your network, he will request from the server that is closest to him, reducing the latency of the connection.%0a%0aTo set up anycasting, first follow the instructions provided by your provider ([[https://wiki.buyvm.net/doku.php/anycast_vps|here are BuyVM's]]), then configure OpenBSD to use those IP addresses.%0a%0aSuppose you have the normal IP address 192.0.1.1 and 10.0.1.1 as the anycast IP address. Inside /etc/hostname.if0, you should put:%0a%0aSuppose you have%0a%0a[@%0ainet 192.0.1.1 255.255.255.0%0ainet alias 10.0.1.1 255.255.255.255%0a@]%0a%0aMake sure to configure this for each of the three servers that share the same anycast IP address.
  12. time=1622268112
  13. author:1622268112=mkf
  14. diff:1622268112:1597224884:=11c11%0a%3c [@%0a---%0a> %3ccode>%0a14c14%0a%3c @]%0a---%0a> %3c/code>%0a
  15. host:1622268112=80.191.34.206
  16. author:1597224884=jrmu
  17. diff:1597224884:1597224884:=1,16d0%0a%3c Anycasting allows you to have multiple servers in different data centers all share the same IP. IRCNow currently uses [[https://buyvm.net|BuyVM]], which provides [[https://buyvm.net/anycast-vps/|anycasting]] free of charge for customers that purchase 3 VMs with them provided they are all in different data centers.%0a%3c %0a%3c The benefit is that, whenever a user connects to your network, he will request from the server that is closest to him, reducing the latency of the connection.%0a%3c %0a%3c To set up anycasting, first follow the instructions provided by your provider ([[https://wiki.buyvm.net/doku.php/anycast_vps|here are BuyVM's]]), then configure OpenBSD to use those IP addresses.%0a%3c %0a%3c Suppose you have the normal IP address 192.0.1.1 and 10.0.1.1 as the anycast IP address. Inside /etc/hostname.if0, you should put:%0a%3c %0a%3c Suppose you have%0a%3c %0a%3c %3ccode>%0a%3c inet 192.0.1.1 255.255.255.0%0a%3c inet alias 10.0.1.1 255.255.255.255%0a%3c %3c/code>%0a%3c %0a%3c Make sure to configure this for each of the three servers that share the same anycast IP address.%0a\ No newline at end of file%0a
  18. host:1597224884=38.81.163.143