problems with iproute in lfs 6.0

Kevin P. Fleming kpfleming at
Wed Jan 5 06:23:47 PST 2005

Stephan wrote:

> the book says in configuring the network scripts:
> This directory should contain files in the form of, where “xyz”
> is a network interface name (such as eth0 or eth0:1).

That is an error in the book; interface aliases are no longer supported 
by the tools included in LFS. Please enter a bug in the LFS Bugzilla to 
get this corrected.

> but if i want to use eth0:1 it doesnt work at all, because ip cant find that
> interface. i dont know if that "bug" is known but how can i change the
> ifup/ifdown-scripts to keep track of a second ip-address for an interface?

You do not need to change those scripts, you need to read them and learn 
how they work. Adding additional IPV4 addresses to an interface is very 
easy to do with these scripts, and an LFS builder should be able to read 
and understand the scripts involved (it is, after all, "from scratch", 
not "from helpers" <G>).

More information about the lfs-support mailing list