Problem COnnecting AP from Mobile Node

Yong Chu Eu Ñî×ÓÓÓ ceyong
Thu Sep 23 22:55:17 PDT 2004


When i configure MN(192.168.3.4)same subnet address with
AP(br0:192.168.3.3),its work. Thanks
I will unset all IP address on eth0 & wlan0 on AP.

my testbed just a small private wireless LAN,not NAT. Another thing is if
i want the MN roaming between this 2 AP(different Subnet),how can i
statically(manually) configure the routing between this 2 AP? it seem not
easy.

Later i will test on IPv6 routing & mobility testing

> Date: Thu, 23 Sep 2004 22:32:32 +0000
> From: "Brian Sturgill" <zen_hacker at hotmail.com>
> Subject: RE: Problem COnnecting AP from Mobile Node
> To: hostap at shmoo.com
> Message-ID: <BAY13-F3vh18cbKTrRV00007ea4 at hotmail.com>
> Content-Type: text/plain; format=flowed
> 
> Your problem is probably your bridge. When you bridge two interfaces, 
> standard practice is as follows:
> Your ethernet and wireless interface are bridged as br0 and the ip info
> is 
> then set on the bridge interface.
> In your case it would be something like: (if your 192 address is a class
> c 
> subnet)
> 
> /sbin/brctl addbr br0
> /sbin/brctl addif br0 eth0
> /sbin/brctl addif br0 wlan0
> /sbin/ifconfig eth0 0.0.0.0
> /sbin/ifconfig wlan0 0.0.0.0
> /sbin/ifconfig br0 192.168.2.3 broadcast 192.168.2.255 netmask
> 255.255.255.0 
> up
> /sbin/route add default gw 192.168.2.1
> 
> Another problem I see is you have your roaming client's ip on a
> different 
> subnet than the access point (linux box). Your client doesn't know
> anything 
> about the other subnets. Are you using NAT to get to the internet or is
> this 
> just a private network? One easy thing to do is change the ip of the
> client 
> to 192.168.2.5 and see if you can see the rest of your network. (Try to
> ping 
> 192.168.2.2 and then try 192.168.2.1)
> 
> Brian
> 
> 
> >From: "Yong Chu Eu (??????)" <ceyong at yahoo.com>
> >To: hostap at shmoo.com, bridge at osdl.org
> >CC: jasonb at edseek.com, jt at hpl.hp.com, linux-help at houseofcraig.net
> >Subject: Problem COnnecting AP from Mobile Node
> >Date: Thu, 23 Sep 2004 05:55:05 -0700 (PDT)
> >
> >
> >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 at 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 at 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 at 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 at 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!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 




More information about the Hostap mailing list