Re: Add an IP alias to ethernet interface

2007-06-07 Thread Andrew Beverley
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.

snip

 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


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: Add an IP alias to ethernet interface

2007-06-07 Thread Bryan Kadzban
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Andrew Beverley wrote:
 Therefore, you can just add the few lines of code that deal with an
 alias argument into the existing ip4-static.

Oh, duh.  You're right, this would work.

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

I would say that it's easier for me to remember ip's syntax: there
aren't tons of options, for instance.  I think it's just inertia.

(I didn't use iproute2 for a while, myself, even after the book started
installing it.  But once I started using it, it got a lot easier than I
remember ifconfig being.)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZ+bsS5vET1Wea5wRA5Z0AKCKOT5YB9SVFz9xHDuc5+8vFrU4uwCgm5Jl
Dj4vBr7dkAKE5kO14b1lUZY=
=cYWx
-END PGP SIGNATURE-
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: Add an IP alias to ethernet interface

2007-06-07 Thread M.Canales.es
El Jueves, 7 de Junio de 2007 05:00, Bryan Kadzban escribió:
 this list whose address isn't resolving again.  It seems like it's
 taking these messages about a half hour to get delivered.  The message
 I'm replying to was sent at 21:42 EDT, but wasn't delivered to my mail
 server until 22:04 EDT.  Might be worth double-checking out what's going
 on with postfix.)


That's a recurring problem not solved yet :-/

http://linuxfromscratch.org/pipermail/lfs-dev/2007-April/059300.html


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:   http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:   http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: Add an IP alias to ethernet interface

2007-06-07 Thread Zachary Kotlarek


On Jun 6, 2007, at 6:34 PM, Bryan Kadzban wrote:

I suspect the alias option exists in ip for compatibility with  
ifconfig,

and no other reason.  But I don't know that for sure.


I believe that's correct. In the past the kernel supported aliases  
with independent statistics and the like, but that hasn't been true  
for years. Modern kernels don't treat aliases interfaces any  
different than secondary addresses on the main interface -- both  
interface statistics and iptables traversal treat all aliases just  
like the main interface, and the alternate label is only maintained  
to support legacy configurations and tools.


Zach

smime.p7s
Description: S/MIME cryptographic signature
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page