Hi,

I'm a bit of newbie so forgive me if this is trivial.

I am tying to brigde a wlan IEEE 802.11b card and an eth0 card.

I am running a RedHat 9 distribution, kernel 2.4.20 on the bridging machine (an old dell 350 laptop) - from now on know as the bridge laptop.. The other two machines are a Windoze XP laptop (dell 8200) connected to the bridge via the wlan card (from now on know as the new laptop) and a RedHat 9 desktop machine running kernel 2.4.18 connected by a crossover ethernet cable. (from now on known as the desktop).

I have configured bridging as a module in the bridge laptop.

Prior to setting up bridging, the bridge laptop is configured thus

eth0 - the standard ethernet device
192.168.0.5

eth1 - the wlan 802.11b card
192.168.0.6
ad-hoc mode.

Neither is in promiscuous mode.

The new laptop on the other end of the wlan is 192.168.0.3
The desktop on the other end of the ethernet cable is 192.168.0.1

I can ping the bridge laptop from my new laptop via the wlan

I can ping the bridge laptop from the desktop via the ethernet

I can also ping the new laptop and the desktop from the bridge laptop.

I then do this:

modprobe bridge

ifconfig eth0 down
ifconfig eth1 down

brctl addbr br0
brctl addif eth0
brctl addif eth1

ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0

ifconfig br0 192.168.0.5 up

At this point I can no longer ping the new laptop or the desktop from the bridge laptop

If I do

route add default dev br0

I can then ping the new laptop and the desktop from the bridge
I can also ping the bridge from the new laptop and the desktop

BUT I can't ping the new laptop from the desktop through the bridge or ping the desktop from the new laptop through the bridge.

I have tried setting both eth0 and eth1 in promiscuous mode but it still doesn't work.

The only other light I can throw on this is the output from dmesg (I have netfiltering debuging in the kernel)

PROTO=17 192.168.0.1:138 192.168.0.255:168 L=236 S=0x00 I=0 F=0x4000 t=64
nf_hook: hook 0 already set
skb: pf=2 (unowned) dev=br0 len=236

The above message is repeated several times.

If I do brctl showmacs br0 I get

port no mac addr                        is local?       ageing timer
1       00:30:1b:2a:3d:79               no              21:45
2       00:60:b3:78:53:8f               yes             0.00
2       00:90:4b:b0:bb:78               no              11.58
1       00:a0:0c:43:68:a6               yes             0.00

These mac addresses correlate with the four ethernet devices (the wlan device in new Laptop, the wlan dev in bridge laptop, the ethernet device in bridge laptop and the ethernet device in the desktop).

Has anyone any idea why this may not be working?

Many thanks for your assistance


Garry Stanway



_______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to