On Fri, 17 Dec 2004, Andrea G Forte wrote:
Well, when I assign a new IP (for a new subnet) to the same interface (using ip route add...), even though the routing table is updated, it still takes about 500ms for the change to happen. This new IP should be detected as primary, right?
If it is on a new subnet yes.
Also, am I right to say that any IP address assigned to an alias interface is a secondary IP?
It is irrelevant if you label the address or not. The "alias" labels are just a compatibility layer to work with old userspace programs (mainly ifconfig), not interfaces of their own.
See /sbin/ip addr for all the details.
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