I am setting up a HA router using 2 boxes using keepalived and conntrackd.
Contrackd replication is working fine but I am having an issue with keepalived and virtual interfaces.
For example here is one interface I have setup but I am unable to break out the interface into a physical virtual one which I believe is necessary?
Currently both ip addresses are assigned to net0 however I wish to break them up like was possible before ie. eth0 and eth0:1.
Is this possible now as I believe iproute2 is now used instead of ifconfig module?
Here is currently what is setup.
Code: Select all
Blank /etc/udev/rules.d/80-net-name-slot.rules so I can assign static naming convention.
cat /etc/udev/rules.d/70-my-network.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="11:11:11:11:11:XX", NAME="net0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="22:22:22:22:22:XX", NAME="net1"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="33:33:33:33:33:XX", NAME="net2"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="44:44:44:44:44:XX", NAME="net3"
cat /etc/conf.d/net
config_net0="192.198.1.2 netmask 255.255.255.0
192.168.1.3 netmask 255.255.255.0"
routes_net0="default via 192.168.1.1"
Restarting net0
Caching service dependencies ... [ ok ]
* Bringing down interface net0
* Bringing up interface net0
* 192.198.1.2 ... [ ok ]
* 192.168.1.3 ... [ ok ]
* Adding routes
* default via 192.168.1.1 ... I wish to bind them as net0 and net0:1
Is this still possible with iproute2?
