Re: primary and secondary ip addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux