LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2008, 02:04 PM   #1
Rostfrei
Member
 
Registered: Aug 2005
Location: Slovenia
Distribution: Fedora, Ubuntu
Posts: 69

Rep: Reputation: 15
Problems when bridging wireless and wired networks


I'm trying to bridge two network interfaces on Linux OS (Linux router box in network topology). I have weird problems. When I create a bridge and look for what MAC addresses have my bridge learned, everything looks ok, but if I check and ARP table there are some weird things with incomplete HW address resolutions. When trying to build and delete a bridge many times this happened for addresses on one network or the other (not just for the wireless part). Here is my network topology

http://img80.imageshack.us/img80/549...chemehwrz4.png

Printouts on Linux router

iwconfig
Code:
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

most      no wireless extensions.

ath0      IEEE 802.11g  ESSID:"SpeedTouch915203"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1D:68:F5:27:9D   
          Bit Rate:36 Mb/s   Tx-Power:16 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=37/94  Signal level=-55 dBm  Noise level=-92 dBm
          Rx invalid nwid:43  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
ifconfig
Code:
ath0      Link encap:Ethernet  HWaddr 00:19:E0:8A:F3:9D  
          inet6 addr: fe80::219:e0ff:fe8a:f39d/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:473 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:16 dropped:16 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:40825 (39.8 KiB)  TX bytes:4414 (4.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:10:5A:C4:43:75  
          inet6 addr: fe80::210:5aff:fec4:4375/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1587 errors:0 dropped:0 overruns:0 frame:0
          TX packets:291 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:178591 (174.4 KiB)  TX bytes:31278 (30.5 KiB)
          Interrupt:10 Base address:0x400 

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:750 errors:0 dropped:0 overruns:0 frame:0
          TX packets:750 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:62026 (60.5 KiB)  TX bytes:62026 (60.5 KiB)

most      Link encap:Ethernet  HWaddr 00:10:5A:C4:43:75  
          inet addr:192.168.1.50  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::210:5aff:fec4:4375/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1399 errors:0 dropped:0 overruns:0 frame:0
          TX packets:291 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:140531 (137.2 KiB)  TX bytes:29598 (28.9 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-19-E0-8A-F3-9D-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26901 errors:0 dropped:648 overruns:0 frame:1104
          TX packets:4852 errors:1 dropped:16 overruns:0 carrier:0
          collisions:0 txqueuelen:199 
          RX bytes:3816647 (3.6 MiB)  TX bytes:358523 (350.1 KiB)
          Interrupt:11
brctl show most
Code:
bridge name	bridge id		STP enabled	interfaces
most		8000.00105ac44375	no		ath0
							eth0
brctl showmacs most
Code:
port no	mac addr		is local?	ageing timer
  2	00:10:5a:c4:43:75	yes		   0.00
  2	00:15:99:24:94:a3	no		  46.47
  1	00:19:e0:8a:f3:9d	yes		   0.00
  1	00:1d:68:f5:27:9d	no		   5.49
  2	00:e0:18:ed:87:7d	no		   0.30
arp -n
Code:
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.5              ether   00:E0:18:ED:87:7D   C                     most
192.168.1.254                    (incomplete)                              most
Do you see this incomplete entry? Why does this happen? I get the same incomplete problem for the 192.168.1.254 address on the "Linux desktop" box. I don't get it. Level 2 is apparently working inside the bridge as I can see all the relevant MAC addresses learned by the bridge. Why the rest of the system doesn't see that?

I would appreciate your help if somebody have a clue what is happening here.

Best regards,

Last edited by Rostfrei; 10-22-2008 at 02:08 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing between wired and wireless networks Rostfrei Linux - Networking 2 10-17-2008 04:51 PM
Wireless Bridging / Disjoint Networks mikotoiii Linux - Wireless Networking 0 08-15-2008 02:50 PM
bridging wireless networks - kubuntu laptop alaios Linux - Wireless Networking 0 11-20-2007 04:24 AM
Connect 2 wired networks via wireless rogerthehart Linux - Wireless Networking 8 03-21-2007 10:51 AM
Bridging Wireless interface with the Wired one hohenzolern Linux - Wireless Networking 3 04-04-2006 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration