Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- allow-hotplug eth0
- allow-hotplug eth1
- allow-hotplug bond0
- iface bond0 inet static
- address 10.0.0.102
- netmask 255.255.255.0
- network 10.0.0.0
- broadcast 10.0.0.255
- gateway 10.0.0.1
- # dns-* options are implemented by the resolvconf package, if installed
- dns-nameservers 8.8.8.8 8.8.4.4
- dns-search example.com
- up /sbin/ifenslave bond0 eth0 eth1
- down /sbin/ifenslave -d bond0 eth0 eth1
- # Ucarp ID (cluster id, must be equal on the servers)
- ucarp-vid 3
- # The virtual shared ip
- ucarp-vip 10.0.0.100
- # Secret password
- ucarp-password Topsecret42
- # priority - lower is better
- ucarp-advskew 100
- ucarp-advbase 1
- # Should only be set on one server
- ucarp-master no
- iface bond0:ucarp inet static
- # Same virtual ip as above
- address 10.0.0.100
- netmask 255.255.255.255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement