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

Matthias Weigel matthias.weigel at maweos.de
Wed Jul 6 19:22:36 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.


Hello paddy,

check the netmask on your lo:x interface.

I use WBEL4, kernel 2.6.9-5.0.5. This works for me:

# ifconfig lo:2 192.168.142.1 netmask 255.255.255.255 up
# ifconfig lo:2
lo:2      Protokoll:Lokale Schleife
           inet Adresse:192.168.142.1  Maske:255.255.255.255
           UP LOOPBACK RUNNING  MTU:16436  Metric:1

# ping 192.168.142.1
PING 192.168.142.1 (192.168.142.1) 56(84) bytes of data.
64 bytes from 192.168.142.1: icmp_seq=0 ttl=64 time=0.058 ms
64 bytes from 192.168.142.1: icmp_seq=1 ttl=64 time=0.043 ms

--- 192.168.142.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.043/0.050/0.058/0.010 ms, pipe 2

# ping 192.168.142.2
PING 192.168.142.2 (192.168.142.2) 56(84) bytes of data.

--- 192.168.142.2 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 4998ms

Best Regards

Matthias


paddy wrote:

>>
>>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



More information about the drbd-user mailing list