Bou,
Thank you , it's just 802.11 madwifi problem , I enabled the 4 address
supported in madwifi , I could ping AP cisco from PC after station ,
I didn't create the router ,their IP addresses are in 192.168.1.X net.
thank you again
advan
advan
2007-12-05
发件人: Bou
发送时间: 2007-12-05 09:11:04
收件人: uClinux development list
抄送:
主题: Re: [uClinux-dev] how to forward IP packets
Hi advan,
hi, all
In my embedded platform(station) , I create a bridge(br0) by brctl and build
a station mode(ath0) with madwifi for atheros card and an ethernet
interface(eth0), then add ath0 and eth0 to br0, it's able to connet a
AP(cisco). I could ping the embeded platform from AP(cisco),but not ping the PC
after the embedded platform (station), I thought my embedded platform didn't
forward IP packets to PC . otherwsie on PC I also couldn't ping the AP (cisco)
,only ping station .
How to ping PC after the embedded platform .please advise and give me clue
,thank you in advance
kernel: 2.4.25
uclibc+busybox
PC --->station AP(cisco)
This is an 802.11 "problem" (kind out of topic for uClinux).
In a few words, 802.11 uses 3 (ethernet) adresses for packets. So, a station
cannot "forward" packets for a PC connected to its ethernet. The solution to
this is:
a) Use proxy arp on the Station (do not know how)
b)Use 802.11 address 4 packets (I do not know if Cisco supports addr4
resolution)
c)Use a routed environment (Cisco 192.168.1.1/24, ath0:192.168.1.2/24,
eth0:192.168.2.1/24, PC:192.168.2.2/24). Make sure gateways are set properly.
This will work.
D
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev