Add an IP alias to ethernet interface
bryan at kadzban.is-a-geek.net
Fri Jun 8 16:38:13 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
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.
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
-----END PGP SIGNATURE-----
More information about the lfs-dev