mark ryden wrote:
> I want to be able write a user space little app which will send packets
> through a specified interface on a machine with 2 nics(or more). Each nic has
> a different IP address , but they are on the same
> network (same netmask).
>
> Is there something which does what "SO_BINDTODEVICE" in linux does ? (as a
> setsockopt parameter).
> I tried and could not find something like that.
>
> can I do it at all in solaris ?
I guess you can try the socket options IP_BOUND_IF for IPv4 and
IPV6_BOUND_IF for IPv6.
--
K. Poon.
[EMAIL PROTECTED]
_______________________________________________
networking-discuss mailing list
[email protected]