Re: SO_BINDTODEVICE or sendto using specific network interface
Re: SO_BINDTODEVICE or sendto using specific network interface
- Subject: Re: SO_BINDTODEVICE or sendto using specific network interface
- From: "Justin C. Walker" <email@hidden>
- Date: Mon, 12 Dec 2005 18:56:13 -0800
On Dec 12, 2005, at 18:17 , Alex Telitsine wrote:
On Dec 12, 2005, at 5:38 PM, Peter Sichel wrote:
On 12/12/05, Alex Telitsine wrote:
[snip]
I definitely have to bypass routing, since each interface will be
sending to the same destination (IP) address.
You mentioned previously that you want to send UDP via two physical
Ethernets simultaneously. Notice the routing mechanism is
designed to
determine the next hop physical hardware address. If the
destination IP
address is the same, what hardware address will you use as the
next hop
destination for packets sent via each data link?
I'd guess router's MAC address. Satellite modem is the router. It
connected directly via cross over to the ethernet port.
I ask because this might help clarify what you are trying to
accomplish.
The data flow is something like this:
SRC1 192.168.0.20--->Modem/Router1-192.168.0.12-------
+----------------> DST 192.168.2.2
SRC2 192.168.1.20--->Modem/Router2-192.168.0.12-------+
Is the above supposed to show that both interfaces connect physically
to the same modem/router? If so, unless some extra configuration is
happening on the modem/router, I don't see how the return trip will
be made (what's the path from DST to 192.168.1.20?)
Regards,
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for General Semantics
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden