Yong Chu Eu (Ñî×ÓÓÓ)
2007-Apr-18 17:22 UTC
[Bridge] Problem COnnecting AP from Mobile Node
I am having problem in ping or connect AP from Mobile Node(essid & channel
is the same,maybe routing did
not set properly but i fail to configure with route add default gw
192.168.3.4,its alway said
network is unreachable ),My Mobile Node is using acx100 as driver while
AP(redhat 9.0) is using
HOSTAP 0.1.3.Any one can help? I heard How-To said we not need to set
address on eth0 & wlan0 if
we have bridge(with address)but will MN connect straight with bridge that
i set?
My mobile node setting:
[root@localhost scripts]# iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
ip6tnl0 no wireless extensions.
mip6mnha no wireless extensions.
wlan0 IEEE 802.11b+ ESSID:"mipv6b" Nickname:"acx100
v0.2.0pre8"
Mode:Managed Channel:1 Access Point: 00:01:03:88:62:96
Bit Rate=11Mb/s Tx-Power:18 dBm Sensitivity=176/255
Retry min limit:7 RTS thr:off
Encryption key:off
Power Management:off
Link Quality:69/100 Signal level:57/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@localhost scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:59:80:0C:2E
inet addr:172.16.76.56 Bcast:172.16.76.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:59ff:fe80:c2e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3832 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:252364 (246.4 Kb) TX bytes:3140 (3.0 Kb)
Interrupt:11 Base address:0x1400 Memory:f4020000-f4020038
lo Link encap:Local Loopback
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5256 (5.1 Kb) TX bytes:5256 (5.1 Kb)
mip6mnha1 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 3ffe:80d0:ff03:4::1/64 Scope:Global
UP RUNNING NOARP MTU:1460 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:8 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan0 Link encap:Ethernet HWaddr 00:0F:3D:46:A6:25
inet addr:192.168.4.1 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1968 (1.9 Kb) TX bytes:2052 (2.0 Kb)
Interrupt:11 Base address:0x4000
My Redhat AP Setting
[root@localhost root]# iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11b ESSID:"mipv6b"
Nickname:"localhost.localdomain"
Mode:Master Frequency:2.412GHz Access Point: 00:01:03:88:62:96
Bit Rate=11Mb/s Tx-Power:150 dBm Sensitivity=1/3
Retry limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:46 Missed beacon:0
br0 no wireless extensions.
[root@localhost root]# ifconfig
br0 Link encap:Ethernet HWaddr 00:01:03:88:62:96
inet addr:192.168.3.3 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::201:3ff:fe88:6296/64 Scope:Link
inet6 addr: 3ffe:80d0:ff03:3::3/0 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1050 (1.0 Kb)
eth0 Link encap:Ethernet HWaddr 00:50:BA:5F:61:56
inet addr:192.168.3.2 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: 3ffe:80d0:ff03:3::2/64 Scope:Global
inet6 addr: fe80::250:baff:fe5f:6156/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1458 (1.4 Kb)
Interrupt:9 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:232 errors:0 dropped:0 overruns:0 frame:0
TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12792 (12.4 Kb) TX bytes:12792 (12.4 Kb)
wlan0 Link encap:Ethernet HWaddr 00:01:03:88:62:96
inet addr:192.168.3.4 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::201:3ff:fe88:6296/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1212 (1.1 Kb)
Interrupt:9 Base address:0xd400
Wireless testBed is almost like below:
|
192.168.1.1
3ffe:80f0:ff03:1::1
fxp0
FreeBSD 4.10 Router(Vls Server 0.5.6)
vr0 rl0
192.168.2.1 192.168.3.1
3ffe:80f0:ff03:2::1 3ffe:80f0:ff03:3::1
| |
| |
| |
eth0 eth0
3ffe:80f0:ff03:2::2 3ffe:80f0:ff03:3::2
192.168.2.2 192.168.3.2
Linux PC Access Point Linux PC Access Point
(HOSTAP 0.13) (HOSTAP 0.13)
| |
| |
br0 br0
192.168.2.3 192.168.3.3
3ffe:80f0:ff03:2::3 3ffe:80f0:ff03:3::3
| |
| |
wlan0 wlan0
192.168.2.4 192.168.3.4
essid:mipv6a essid:mipv6b
----
| MN |
----
Roaming notebook (VLC player 0.7.2)
Linux Kernel 2.4.22 with MIPL 1.0
(Dlink Wireless Card with acx100 driver)
192.168.4.1(Home address 3ffe:80d0:ff03:4::1)
====Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy & Healthy Always ! ^_^ !
¸öÈËÍøÒ³ Homepage:http://planet.time.net.my/sunwaycity/ceyong
¸öÈË·ðÑ§ÍøÒ³ Buddhist Page:
http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
Your client's IP Address is wrong. The client should be on the same subnet as the Access Point. Any routing must occur on the Access Point node, not on the client. So if you want to connect the MN to 192.168.3.4, it must have a 192.168.3.x ip address. Jeff> -----Original Message----- > From: Yong Chu Eu (??????) [mailto:ceyong@yahoo.com] > Sent: Thursday, September 23, 2004 8:55 AM > To: hostap@shmoo.com; bridge@osdl.org > Cc: jasonb@edseek.com; jt@hpl.hp.com; linux-help@houseofcraig.net > Subject: Problem COnnecting AP from Mobile Node > > > > I am having problem in ping or connect AP from Mobile > Node(essid & channel is the same,maybe routing did > not set properly but i fail to configure with route add > default gw 192.168.3.4,its alway said > network is unreachable ),My Mobile Node is using acx100 as > driver while AP(redhat 9.0) is using HOSTAP 0.1.3.Any one can > help? I heard How-To said we not need to set address on eth0 > & wlan0 if we have bridge(with address)but will MN connect > straight with bridge that i set? > > My mobile node setting: > [root@localhost scripts]# iwconfig > lo no wireless extensions. > > sit0 no wireless extensions. > > eth0 no wireless extensions. > > ip6tnl0 no wireless extensions. > > mip6mnha no wireless extensions. > > wlan0 IEEE 802.11b+ ESSID:"mipv6b" Nickname:"acx100 v0.2.0pre8" > Mode:Managed Channel:1 Access Point: 00:01:03:88:62:96 > Bit Rate=11Mb/s Tx-Power:18 dBm Sensitivity=176/255 > Retry min limit:7 RTS thr:off > Encryption key:off > Power Management:off > Link Quality:69/100 Signal level:57/100 Noise level:0/100 > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > Tx excessive retries:0 Invalid misc:0 Missed beacon:0 > > root@localhost scripts]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:D0:59:80:0C:2E > inet addr:172.16.76.56 Bcast:172.16.76.255 > Mask:255.255.255.0 > inet6 addr: fe80::2d0:59ff:fe80:c2e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3832 errors:0 dropped:0 overruns:0 frame:0 > TX packets:36 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:252364 (246.4 Kb) TX bytes:3140 (3.0 Kb) > Interrupt:11 Base address:0x1400 Memory:f4020000-f4020038 > > lo Link encap:Local Loopback > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:19 errors:0 dropped:0 overruns:0 frame:0 > TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:5256 (5.1 Kb) TX bytes:5256 (5.1 Kb) > > mip6mnha1 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet6 addr: 3ffe:80d0:ff03:4::1/64 Scope:Global > UP RUNNING NOARP MTU:1460 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:8 dropped:8 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > wlan0 Link encap:Ethernet HWaddr 00:0F:3D:46:A6:25 > inet addr:192.168.4.1 Bcast:192.168.4.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1 > RX packets:6 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6 errors:1 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:1968 (1.9 Kb) TX bytes:2052 (2.0 Kb) > Interrupt:11 Base address:0x4000 > > > > My Redhat AP Setting > > [root@localhost root]# iwconfig > lo no wireless extensions. > > sit0 no wireless extensions. > > eth0 no wireless extensions. > > wlan0 IEEE 802.11b ESSID:"mipv6b" > Nickname:"localhost.localdomain" > Mode:Master Frequency:2.412GHz Access Point: > 00:01:03:88:62:96 > Bit Rate=11Mb/s Tx-Power:150 dBm Sensitivity=1/3 > Retry limit:8 RTS thr:off Fragment thr:off > Encryption key:off > Power Management:off > Link Quality:0 Signal level:0 Noise level:0 > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > Tx excessive retries:0 Invalid misc:46 Missed beacon:0 > > br0 no wireless extensions. > > [root@localhost root]# ifconfig > br0 Link encap:Ethernet HWaddr 00:01:03:88:62:96 > inet addr:192.168.3.3 Bcast:192.168.3.255 > Mask:255.255.255.0 > inet6 addr: fe80::201:3ff:fe88:6296/64 Scope:Link > inet6 addr: 3ffe:80d0:ff03:3::3/0 Scope:Global > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:1050 (1.0 Kb) > > eth0 Link encap:Ethernet HWaddr 00:50:BA:5F:61:56 > inet addr:192.168.3.2 Bcast:192.168.3.255 > Mask:255.255.255.0 > inet6 addr: 3ffe:80d0:ff03:3::2/64 Scope:Global > inet6 addr: fe80::250:baff:fe5f:6156/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:0 (0.0 b) TX bytes:1458 (1.4 Kb) > Interrupt:9 Base address:0xd000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:232 errors:0 dropped:0 overruns:0 frame:0 > TX packets:232 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:12792 (12.4 Kb) TX bytes:12792 (12.4 Kb) > > wlan0 Link encap:Ethernet HWaddr 00:01:03:88:62:96 > inet addr:192.168.3.4 Bcast:192.168.3.255 > Mask:255.255.255.0 > inet6 addr: fe80::201:3ff:fe88:6296/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:0 (0.0 b) TX bytes:1212 (1.1 Kb) > Interrupt:9 Base address:0xd400 > > > Wireless testBed is almost like below: > > > | > 192.168.1.1 > 3ffe:80f0:ff03:1::1 > fxp0 > FreeBSD 4.10 Router(Vls Server 0.5.6) > vr0 rl0 > 192.168.2.1 192.168.3.1 > 3ffe:80f0:ff03:2::1 3ffe:80f0:ff03:3::1 > | | > | | > | | > eth0 eth0 > 3ffe:80f0:ff03:2::2 3ffe:80f0:ff03:3::2 > 192.168.2.2 192.168.3.2 > Linux PC Access Point Linux PC Access Point > (HOSTAP 0.13) (HOSTAP 0.13) > | | > | | > br0 br0 > 192.168.2.3 192.168.3.3 > 3ffe:80f0:ff03:2::3 3ffe:80f0:ff03:3::3 > | | > > > | | > wlan0 wlan0 > 192.168.2.4 192.168.3.4 > essid:mipv6a essid:mipv6b > > > ---- > | MN | > ---- > Roaming notebook (VLC player 0.7.2) > Linux Kernel 2.4.22 with MIPL 1.0 > (Dlink Wireless Card with acx100 driver) > 192.168.4.1(Home address 3ffe:80d0:ff03:4::1) > > > > ====> ???????????????????????? Happy & Healthy Always ! ^_^ ! > ???????? Homepage:http://planet.time.net.my/sunwaycity/ceyong > ???????????? Buddhist Page: > http://planet.time.net.my/SunwayCity/ceyong/ar> tikel.htm > > ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN > Messenger:ceyong at hotmail.com > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out!http://promotions.yahoo.com/new_mail _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap