[DRBD-user] drbd-0.7 cvs 3rd May 2004 - ip route bug

Ron O'Hara rono at sentuny.com.au
Mon May 3 10:29:03 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,
In drbdadm_main.c (about line 650) there is a test to see if a route 
between the peer drbd nodes exists. It's not quite right.
I have a number of aliases on a bonded ethernet interface ... the base 
address is 192.168.5.2 but it also has an alias of 192.168.5.101.  My 
config says the main node is 192.168.6.101 and partner node is on 
192.168.5.102

ip -o route get to 192.168.5.102

returns

192.168.5.102 dev bond0   src 192.168.5.2 \ cache mtu 1500 advmss 1460

Since the addresses are all on the same segment there is a route between 
the machines.

The test in drbdadm_main thinks there isnt a route ...probably because 
the 'src' address returned is the real address of the interface rather 
than it's alias

Ron



More information about the drbd-user mailing list