Hi all I have 5 public IP's. This is the interfaces file (/etc/network/interfaces):
auto eth2 iface eth2 inet static address aaa.bb.157.50 network aaa.bb.157.0 netmask 255.255.255.248 post-up route add -net aaa.bb.176.0 netmask 255.255.255.0 dev eth2 post-up route add default gw aaa.bb.176.241 dev eth2 auto eth2:2 iface eth2:2 inet static address aaa.bb.157.51 netmask 255.255.255.248 auto eth2:3 iface eth2:3 inet static address aaa.bb.157.52 netmask 255.255.255.248 auto eth2:4 iface eth2:4 inet static address aaa.bb.157.53 netmask 255.255.255.248 auto eth2:5 iface eth2:5 inet static address aaa.bb.157.54 netmask 255.255.255.248 All when firewall has restarted, the main IP is aaa.bb.157.51, but ours main IP on DNS zone is aaa.bb.157.50. So, to fix this issue, I log in on firewall and run this command: service network restart So, the main IP back to aaa.bb.157.50 This is a hard way to fix the problem, as you can see! Is there a better way to priorize IP aaa.bb.157.50 to be always main IP ??? Thanks for any help Regards Gilberto Nunes Ferreira -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
