> So, what happens when you do 'ping 10.0.0.105'? What source address do
> the packets carry?
it would use the first configured address..
> happens when you remove 10.0.0.102?
what happens? nothing remarkable.. eri0:1 is now the address for eri0
and is used for outgoing packets..
> Solaris or the like -- then the "primality" property is implied to hold
> for non-alias interface, and otherwise for aliases. Am I mistaken?
Most of the primality property is an emulation of BSD behavior, simply
because BSD got there first. The cisco behavior you described was
also exactly the same as bsd behavior.
The secondary flag in linux sounds pretty useful (though I don't
know all the details.. what happens when the primary address is
deleted? does something else get promoted to primary status? Are
routing socket listeners informed about changes?)
Maybe zebra should do some internal management and set the
SECONDARY flag (after we agree on some definition for it) for
OS-es where the kernel does not help us.
Is anyone familiar with the linux kernel code around secondary
flag management, to understand linux semantics for this flag?
--Sowmini
> the packets carry?
it would use the first configured address..
> happens when you remove 10.0.0.102?
what happens? nothing remarkable.. eri0:1 is now the address for eri0
and is used for outgoing packets..
> Solaris or the like -- then the "primality" property is implied to hold
> for non-alias interface, and otherwise for aliases. Am I mistaken?
Most of the primality property is an emulation of BSD behavior, simply
because BSD got there first. The cisco behavior you described was
also exactly the same as bsd behavior.
The secondary flag in linux sounds pretty useful (though I don't
know all the details.. what happens when the primary address is
deleted? does something else get promoted to primary status? Are
routing socket listeners informed about changes?)
Maybe zebra should do some internal management and set the
SECONDARY flag (after we agree on some definition for it) for
OS-es where the kernel does not help us.
Is anyone familiar with the linux kernel code around secondary
flag management, to understand linux semantics for this flag?
--Sowmini