Hello all,

I have two systems that are using both the bonding module (for link
aggregation) and several VLAN interfaces.  This means that alias
interfaces look something like:

 bond0.50:0

(That's <interface>.<vlan id>:<alias>)

This causes a big problem for the IPaddr script -- since it tries to
scrape the output of 'ifconfig' to find interfaces, and 'ifconfig'
only display the first 9 characters of an interface name.  With the
above example, this gives you "bond0.50:" for any of the alias
interfaces.

The output from 'ifconfig' was really designed to be human-readable,
not machine parseable.  Has anyone else encountered and solved this
problem?  A resource agent written using the 'ip' command would seem
to be more robust.

Thanks for your suggestions,

 -- Lars
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to