[DRBD-user] Using DRBD between hosts with dual redundant network interfaces]

paddy paddy at panici.net
Wed Jul 6 19:07:04 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 Wed, Jul 06, 2005 at 05:54:15PM +0200, Matthias Weigel wrote:
> Hellp paddy,
> 
> paddy wrote:
> >On Wed, Jul 06, 2005 at 03:44:48PM +0200, Matthias Weigel wrote:
> >
> >
> >>From: Matthias Weigel <matthias.weigel at maweos.de>
> >>To: paddy <paddy at panici.net>
> >>Subject: Re: [DRBD-user] Using DRBD between hosts with dual redundant 
> >>network
> >>	interfaces
> >>
> >>Hello,
> >>
> >>if you want to do it outside of drbd, there is another option: OSPF.
> >>
> >>(I have not done this with drbd yet, only with other daemons!)
> >>- setup an extra lo interface on each box, e.g. lo:2
> >>- configure drbd to only use the ip of this extra lo interface
> >
> >
> >I tried this before I went to ipip, what I got was:
> >
> ># ifconfig lo:0 192.168.2.1 up
> >black:~# ping 192.168.2.2
> >PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
> >64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.324 ms
> >...
> >
> >even if I set up a route for it.  I imagined this is part of the magic of 
> >lo.
> >I thought about looking for the thing i wanted, but at that point the 
> >tunneling possibility was nagging at me so I went that way.
> >
> >so how do you do this step ?  something with iproute perhaps ?
> 
> 
> Where is your problem? You got a successful ping didn't you?

;)

yes, but I'm just pinging the same loopback, even when I put in a route
the packet never touches the wire (I tcpdump'd it)

(I tried something like route -add 192.168.2.2 gw 192.168.0.2)

Just the same as if I ping 127.0.0.2

Don't take my word for it, Try it!  

I'm on debian linux 2.6.8, but its been that way on linux for as long 
as I recall.

Perhaps your use of osdf magics this problem away without you noticing,
or perhaps I'm missing a trick here.

Obviously it works for you. I'd really like to figure out what I'm missing!

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



More information about the drbd-user mailing list