[DRBD-user] Re: OSPF config and bind problem (was Using DRBD between hosts with dual redundant network interfaces)

paddy paddy at panici.net
Fri Jul 8 17:28:15 CEST 2005

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


On Fri, Jul 08, 2005 at 11:11:01AM -0400, Maurice Volaski wrote:
> Thank you for your detailed answer.
> 
> >netstat -an | grep 7788
> >tcp        0      0 192.168.5.1:7788            192.168.50.2:32775 
> >ESTABLISHED
> >tcp        0      0 192.168.50.1:32780          192.168.5.2:7788 
> >ESTABLISHED
> >
> >
> >This shows a big problem! SRC-IP should be 192.168.5.1 or 
> >192.168.5.2. The 192.168.50.x IPs mean, network link failover will 
> >not work.
> >
> >AFAIK this can be fixed:
> >An extra bind-call is needed before the connect-call on the client 
> >side of the tcp connection.
> >However i am a poor C programmer. Can somebody fix it in drbd?
> 
> How could drbd even be aware there are IP addresses behind the 
> 192.168.5.x address?

I was thinking it could be part of the magic of the loopback device.
If I send traffic from 127.0.0.1, it would have to get some useful
address for the recipient to reply ?

But the extra bind-call sounds really cool :)

Regards,
Paddy
-- 
Perl 6 will give you the big knob. -- Larry Wall



More information about the drbd-user mailing list