Cannot ping across bridge with hostap

蔡立三 cailisan1985
Thu Dec 25 03:23:07 PST 2008

I have met a problem.
The situation is that, I port bridge-utils and hostap-driver to a Embedded
linux system.
It works well.
And I implement the blow command.

./brctl addbr br0
./brctl stp br0 off
./brctl addif br0 eth0
./brctl addif br0 wlan0
ifconfig eth0 down
ifconfig wlan0 down
ifconfig eth0 up
ifconfig wlan0 up
ifconfig br0 netmask
 echo "1" > /proc/sys/net/ipv4/ip_forward
cat /proc/sys/net/ipv4/ip_forward
route add default gw

The command execute correctly.
But I cannot ping through it.
I can just ping from the wireless terminal to br0 and ping from the wired
terminal to br0.
The wireless terminal cannot ping to wired terminal through br0.
the version of linux system is and the version of hostap-driver is
The situation like below:

                     ap (embeded linux with bridge-utils and hostap)
                     wireless terminal

When I do it in the pc with fedora linux, the ap works well.
That surprises me a lot.
So can anybody give me some advice?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Hostap mailing list