[DRBD-user] IP not found on this host.

Eugene Crosser crosser at rol.ru
Tue Apr 27 15:38:01 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.

On Tue, 2004-04-27 at 16:56, Lars Ellenberg wrote:

> > > ip is part of iproute package. iproute is the name on debian boxes. 
> > 
> > Aha, Slackware has "iproute2" package in 'extras' collection, and there
> > is /sbin/ip inside.  I still don't think that it's appropriate to rely
> > on the presence of this command...
> so if at all,
> how should I test for presence of "my" ip,
> and presence of some route to "his" ip then?

As to the local IP, when I need it I get it with an ugly sed/awk script
run against the output of /sbin/ifconfig.  Possibly a more elegant way

As to the presence of the route to "his" ip, maybe it's not so necessary
to know?  It very well may not exist at the moment, but reappear a
second later...


P.S. I prefer to have a minimal set of software on specialised systems
like a HA server.  My current OS environment is a 185Mb bootable CD-R.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20040427/733732a3/attachment.pgp>

More information about the drbd-user mailing list