Re: bind to 2 interfaces?

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

 



On Tue Aug 15 2000 at 00:22, =?iso-8859-1?Q?Mat=EDas_Freytes?= wrote:

> Hello,
>     I have a station with eth0 (ne2k-10Mbps) and wvlan0 (orinoco/wavelan). I
> have a video application which uses ip multicast. I need to send the same
> info to both nets. Is there any way I could 'bind()' a socket to both
> interfaces? Any other better solution?

Simply use /sbin/ip to assign the same IP address to each interface
(and then the default route through that IP if that's the
situation).  Use as many devices as you like.

You _do_ need a 2.2.x kernel that has all the routing stuff turned
on.  (Eg, the default kernels from redhat etc aren't built like
this).

Works (err, worked) for me.

Cheers
Tony
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[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