[DRBD-user] DRBD uses a wrong interface.

Matt Graham danceswithcrows at usa.net
Wed Mar 7 16:11:32 CET 2012

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


On 03/06/2012 05:39 PM, Ivan Pavlenko wrote:
> I've found a rather strange thing. It looks like a server try to use
> wrong network interface for drbd connection

> eth1  10.102.1.55  Bcast:10.255.255.255  Mask:255.0.0.0
> eth2  10.10.24.11  Bcast:10.10.24.255  Mask:255.255.255.0

If eth1's 10.102.1.55 netmask 255.0.0.0 , it'll try to send/receive stuff for
everything in the 10.0.0.0/8 net.  Since eth2 is *also* inside 10.0.0.0/8 ,
wouldn't that cause problems with routing, like routing all packets destined
for 10.10.24.12 through eth1?  Is eth1's netmask set appropriately?  The
network config here just looks like it'd cause odd failures.  What's the
config look like on the second box?  You said the second box was working
fine.

(Why yes, I've done "ifconfig eth1 10.99.22.33 up" and completely hosed all
networking on a test DRBD box, since it should've been "ifconfig eth1
10.99.22.33 netmask 255.255.255.0 up"....)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see





More information about the drbd-user mailing list