Re: Help with wireless bridge

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

 





Nigel Wade wrote:

Andrew Cocker wrote:

Hi
Can anyone either help or tell me a better place task for it. I need help
setting up a wireless
<http://www.experts-exchange.com/Networking/Linux_Networking/Q_20957382.html

<snip>




I have a bridge setup between two Ethernet cards. I've not tried it between an Ethernet and wireless card but the principle should be the same. I don't know if the bridge will work if the interfaces have IP numbers assigned, I set them to 0.0.0.0 (after all, once the bridge is running the interfaces themselves should be transparent to the network). They need to be in promiscuous mode.

I think promiscuous mode is the show stopper for at least some of the wireless interfaces. Those running under ndiswrapper or the linuxant driverloader with windows drivers often cannot be set to promiscuous.



This is the startup procedure I follow:

    brctl addbr bridge
    brctl addif bridge eth0
    brctl addif bridge eth1
    ifconfig eth0 promisc 0.0.0.0
    ifconfig eth1 promisc 0.0.0.0

The network scripts for these two interfaces (/etc/sysconfig/network-scripts/ifcfg-eth0, ifcfg-eth1) both specify ONBOOT=no.

If you need to contact the machine then configure the bridge interface by creating ifcfg-bridge in /etc/sysconfig/network-scripts. This is mine:

DEVICE=bridge
BOOTPROTO=static
BROADCAST=xxx.xxx.xxx.255
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.255.0
NETWORK=xxx.xxx.xxx.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

the bridge interface will then listen at the specifed IP address.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux