Help with wireless bridge

Jeff Vian jvian10 at charter.net
Wed Apr 21 14:20:08 UTC 2004



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





More information about the fedora-list mailing list