Add an IP alias to ethernet interface

Bryan Kadzban bryan at kadzban.is-a-geek.net
Fri Jun 8 16:38:13 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Dan Nicholson wrote:
> On 6/8/07, Andrew Beverley <andy at andybev.com> wrote:
> 
>> Okay, I see. Nonetheless would it be possible to still either get
>> the script altered anyway, or to add a note to the networking page
>> of the book stating that it is just a matter of adding a second
>> config file in the interface directory for a second address.
> 
> I agree with Andy here. Regardless of the reason for alias/label, if 
> it's used in iproute2, we should expose the functionality. This page
> I found on linux-ip.net seems to promote using labels when there are 
> multiple addresses assigned to an interface.
> 
> http://linux-ip.net/html/tools-ip-address.html

Only if you also use ifconfig and want to avoid being confused.  ;-)

> Unless someone knows problems that will be introduced,

Can't say that I do.  It just seems like every page I've read on adding
extra IPs says "add an alias", and it doesn't look like anyone knows
that you only needed to do that with ifconfig; you don't need the alias
anymore.  I figured it'd be a bit of education, but in all honesty, it
doesn't really matter very much.

> I'm gonna go ahead and try to get Andy's patch adapted to ipv4-static
> and get a blurb on ALIAS in the book.

Sounds good to me.  :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGaehkS5vET1Wea5wRA6OMAKCu9L0ccjeF+K/bCAL2BbYHGRD9uACfTLfB
hpOj6kahSqWAdZecMP9rEhM=
=6tlL
-----END PGP SIGNATURE-----



More information about the lfs-dev mailing list