On Mon, 20 May 2002 06:08:46 +0300
"Semion Lisyansky" <[EMAIL PROTECTED]> wrote:
> Would someone please explain me why when I
> add secondary address to loopback interface
> by either as a secondary or by "ip addr add"
> it does not add route entry in routing table?

Why should it? For routes use "ip route add"
This is equivalent to the older "ifconfig" and "route" commands.
The first defines the interface (ip address) and the second
defines routes.

Unix doesn't try to infer routes from interface definitions.
Sometimes the vendor boot scripts (e.g: RedHat "ip-up" scripts)
do both actions, so it looks to you as an automatic mechanism.

----------------------------------------------------------------
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron

c:\winnt> secure_nt.exe
          Securing NT.  Insert Linux boot disk to continue......
                             --David Brumley

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to