Skip to content

Instantly share code, notes, and snippets.

@dberube1
Created November 1, 2016 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dberube1/86ced90a276a7c533cb64b02a72067c9 to your computer and use it in GitHub Desktop.
Save dberube1/86ced90a276a7c533cb64b02a72067c9 to your computer and use it in GitHub Desktop.
# /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
#add additional IP for anycast route
up ip addr add 172.30.255.240/32 dev lo
# add another anycast address
auto lo:1
iface lo:1 inet loopback
up ip addr add 172.30.255.250/32 dev lo
# The primary network interface
auto eth0
iface eth0 inet dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment