Re: Forcing a connection from a particular NIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gilad,

I have implemented your code and it works in our setup. The one problem 
we are facing with it is that it doesn't take virtual mac names. For eg 
"eth1:1". It says SO_BINDTODEVICE: no such device found.

Any idea how can we use the code to work with virtual eth addresses.

thanks,
ronak




Gilad Ben-Yossef wrote:


>
>
>
>Henrik Nordstrom wrote:
>> On Thu, 26 Aug 2004, Anupam Kapoor wrote:
>> 
>>> how about limiting the packet through a specific interface via the
>>> SO_BINDTODEVICE socket
>>> option ? i guess that's what you (henrik) means. right ?
>> 
>> 
>> That is one way of many. I was responding to the specific issue of 
being 
>> able to do this without modifying the applicatio.
>> 
>
>
>No need to nodify the app. See: 
>http://www.uwsg.iu.edu/hypermail/linux/net/0401.3/0009.html
>
>PS. I keep reposting the same link in response to this kind of question 
>every couple od weeks. If there's some sort of linux-net FAQ, I think 
>this should on it.
>
>Gilad
>
>-- 
>Gilad Ben-Yossef <gilad@codefidence.com>
>Codefidence. A name you can trust(TM)
>Tel: +972.9.8650475 ext. 201, Fax: +972.9.8850643
>http://www.codefidence.com
>
>

----------------------------------
Ronak Sutaria
Graduate Student
Computer Sciences Department
New Jersey Institute of Technology
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux