[Gllug] Linux Source Address selection

Nix nix at esperi.org.uk
Tue Oct 19 18:54:30 UTC 2010


On 18 Oct 2010, Bruce Richardson verbalised:

> On Mon, Oct 18, 2010 at 09:41:04PM +0100, Nix wrote:
>> Indeed. Note that this lets you explicitly force the source address via
>> 'ip route src ADDRESS'.
>
> Is that not a preference that is being set, rather than an override?  I
> believe that if I had an interface with two ip addresses on the same
> subnet and I did "ping -I" from the non-preferred address, it would
> ignore the preference.  I think it would do this if I had an application
> configured to listen on the non-preferred address.

True. But for the vast majority of programs (which don't set a preferred
address), this will serve. (Obviously, if the program knows better, its
wish should be respected.)
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list