Add an IP alias to ethernet interface

Andrew Beverley andy at
Wed Jun 6 23:11:09 PDT 2007

On Wed, 2007-06-06 at 19:34 -0400, Bryan Kadzban wrote:
> Andrew Beverley wrote:
> > Personally though, I think it would be useful to still include the
> > ALIAS directive (it's only a few extra line of code).
> It may only be a few lines of code, but it's another entire service
> script, 90-some percent of which is copied from our existing script.
> ;-)

There wouldn't be any need for an extra script. Although I wrote the
second script, I realised that it was virtually identical to the
existing one. Therefore, you can just add the few lines of code that
deal with an alias argument into the existing ip4-static. I'll do this
if you want, although those few lines can just be copied from the script
that was originally sent.


> Plus the net-tools tarball is six years old.  That's why iproute2 was
> created: net-tools wasn't being updated to take advantage of all the new
> kernel features that have been added to the networking stack in the past
> six years.

True, but I still find myself using ifconfig because it's easier to
remember the syntax :-)

Andy Beverley

More information about the lfs-dev mailing list