• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SO_BINDTODEVICE or sendto using specific network interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SO_BINDTODEVICE or sendto using specific network interface


  • Subject: Re: SO_BINDTODEVICE or sendto using specific network interface
  • From: Alex Telitsine <email@hidden>
  • Date: Mon, 12 Dec 2005 18:17:09 -0800


On Dec 12, 2005, at 5:38 PM, Peter Sichel wrote:

On 12/12/05, Alex Telitsine wrote:

Will  BPF (Berkley Packet Filter) write of the raw packets bypass OSX
routing?

Yes.
Looks like it requires root access to use /dev/bpf files... more problems to solve.


Is there any better solution?

Perhaps.

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-------+



Thank you,

Kind Regards,

- Peter


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40streambox.com


This email sent to email@hidden



_______________________________________________
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


  • Follow-Ups:
    • Re: SO_BINDTODEVICE or sendto using specific network interface
      • From: "Justin C. Walker" <email@hidden>
References: 
 >SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Josh Graessley <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: Alex Telitsine <email@hidden>)
 >Re: SO_BINDTODEVICE or sendto using specific network interface (From: "Peter Sichel" <email@hidden>)

  • Prev by Date: Re: SO_BINDTODEVICE or sendto using specific network interface
  • Next by Date: Re: SO_BINDTODEVICE or sendto using specific network interface
  • Previous by thread: Re: SO_BINDTODEVICE or sendto using specific network interface
  • Next by thread: Re: SO_BINDTODEVICE or sendto using specific network interface
  • Index(es):
    • Date
    • Thread