netdev
[Top] [All Lists]

Re: primary and secondary ip addresses

To: Hasso Tepper <hasso@xxxxxxxxx>
Subject: Re: primary and secondary ip addresses
From: Henrik Nordstrom <hno@xxxxxxxxxxxxxxx>
Date: Thu, 16 Dec 2004 11:07:11 +0100 (CET)
Cc: Harald Welte <laforge@xxxxxxxxxxxx>, Neil Horman <nhorman@xxxxxxxxxx>, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <200412161153.51251.hasso@estpak.ee>
References: <41912F7A.6000408@redhat.com> <Pine.LNX.4.61.0411100034320.10593@filer.marasystems.com> <20041216092831.GO2862@sunbeam.de.gnumonks.org> <200412161153.51251.hasso@estpak.ee>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 16 Dec 2004, Hasso Tepper wrote:

And why I can't even choose which address is primary?

It is the first you add in a subnet.

Primary
=======

Configure this address to be the primary address of the protocol on
the interface. If the logical unit has more than one address, the
primary address is used by default as the source address when packets
originate from the interface and the destination does not indicate
the subnet (ie. multicast destination for example).

This is what the primary addresses is used for, indirectly via the automatically created route entries.


Preferred
=========

Configure this address to be the preferred address on the interface.
If you configure more than one address on the same subnet, the
preferred source address is chosen by default as the source address
when you originate packets to destinations on the subnet.

What is the difference from primary here?

Broadcast traffic using the primary, the rest using preferred?

Regards
Henrik

<Prev in Thread] Current Thread [Next in Thread>