Hello Ian,
what I did is the follwing:
Put a cross-over cable between the two nodes and use the same ip
addresses:
I assume that eth1 is the crossover interface:
On Host a: ifconfig eth1 172.16.57.3 pointopoint 172.16.57.4 netmask
255.255.255.255
On Host b: ifconfig eth1 172.16.57.4 pointopoint 172.16.57.3 netmask
255.255.255.255
I have a debian box so for me it looks more like that in
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0.2
iface eth0.2 inet static
address 172.17.0.21
netmask 255.255.255.0
network 172.17.0.0
broadcast 172.17.0.255
gateway 172.17.0.1
auto eth1
iface eth1 inet static
address 172.17.0.21
netmask 255.255.255.255
pointopoint 172.17.0.22
That leaves you with the following: On every node on that subnet you can
communicate over eth0 but talking to the cross-over contected node you
can talk just like that. Because it has a host route that has higher
precedence than the network route over the cross-over cable.
Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems