[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02886) How to predict the source address of packets?
- To: USAGI users <usagi-users@xxxxxxxxxxxxxx>
- Subject: (usagi-users 02886) How to predict the source address of packets?
- From: Ignacy Gawedzki <ig@xxxxxxxxxxxxx>
- Date: Sat, 3 Apr 2004 16:44:06 +0200
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- Resent-date: Mon, 5 Apr 2004 12:36:31 +0900
- Resent-from: sekiya@xxxxxxxxxxxxxx
- Resent-message-id: <200404051236.FMLAAB12375.usagi-users@linux-ipv6.org>
- Resent-to: usagi-users@xxxxxxxxxxxxxx (moderated)
- User-agent: Mutt/1.5.4i
Hi,
Now given that I send multicast packets from a multicast-bound
interface, I was wondering how to predict which interface address would
be selected as the source address of the packets. I know that if the
interface has two or more equivalent addresses from a prefix-length
standpoint, the one that was added latest will be selected.
Now do you know of any way to know from userspace which address has been
added latest? Or maybe there is a way to force the source address after
all?
Thanks for your help.
Ignacy
--
"The whole problem with the world is that fools and fanatics are
always so certain of themselves, and wiser people so full of doubts."
- Bertrand Russell