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

Ron O'Hara rono at sentuny.com.au
Mon May 3 14:20:46 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.


That might work -

the output is:
192.168.5.102 from 192.168.5.101 dev bond0 \ cache mtu 1500 advmss 1460

Ron


Lars Ellenberg wrote:

>/ 2004-05-03 10:42:07 +0200
>\ Lars Ellenberg:
>  
>
>>/ 2004-05-03 08:29:03 +0000
>>\ Ron O'Hara:
>>    
>>
>>>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
>>>      
>>>
>>thanks for feedback.
>>then I'll just drop that test and trust the admin...
>>    
>>
>
>or, what about:
> ip -o route get to 192.168.5.102 from 192.168.5.101
>
>would that do?
>
>	Lars Ellenberg
>_______________________________________________
>drbd-user mailing list
>drbd-user at lists.linbit.com
>http://lists.linbit.com/mailman/listinfo/drbd-user
>  
>




More information about the drbd-user mailing list