Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 10-01-2003, 02:37 AM   #1
LQ Newbie
Registered: Sep 2003
Location: On the planet Earth
Distribution: Debian GNU/Linux "Woody"
Posts: 22

Rep: Reputation: 15
Question Wired/Wireless Bridge

I want to bridge a wired ethernet with an wireless LAN, where systems on both sides can communicate with each other.

WLAN Access Point (AP#01): D-Link DWL-1000AP
Netmask: (don’t ask me why, it’s due to history, and can’t be changed)

Ethernet/WLAN-Bridge (BR#01): Siemens Scenic Mobile 510 AGP notebook
OS: Debian GNU/Linux 3.0r1 Kernel 2.4.22
Hostname: sm510agp-bridge
eth0: D-Link DFE-660
Promiscious Mode
eth1: Lucent Orinoco Silver WaveLAN
Promiscious Mode

PC#01: NoName
OS: Win2k SP#3
Hostname: scrappy
Default Gateway:

+-------+ +-------+ + + +-------+ /--------\
| PC#01 +-------+ BR#01 +-+ <<<>>> +-+ AP#01 +-----+ LAN#02 +
+-------+ +-------+ +-------+ \--------/
eth0 eth0 eth1

1. Ethernet Bridge
Using default bridging features coming along with Linux, I had to learn that bridging a wired with a wireless LAN won’t work because of MAC address issues, and the Orinoco card can’t be operated using the HostAP driver. => DISMISS!

2. Proxy ARP/IP Bridge
Okay, IP Bridging or Proxy ARP seemed to be the solution; I got ‘iptools2’, I got ‘parprouted’, compiled and installed the software, configured everything accordingly, and....from BR#01 I could successfully do a ‘ping’ to the AP#01 and any system on LAN#02 and PC#01. When using PC#01 and trying the same, I can successfully ping both interfaces of BR#01, but not a single step further!

3. Router
Hmm, approach 2 didn’t work, why not just configuring the Debian box as a router?

bash# route add -net netmask dev eth0
bash# route add -net netmask dev eth1

When trying this configuration the results are just the same as with approach 2.

From PC#01 I can’t go past the WLAN connection!

Why is this so? What happens? How can I solve this all, preferably using approach 2?
Old 10-06-2003, 11:08 PM   #2
Registered: Sep 2003
Location: Australia
Distribution: RedHat
Posts: 51

Rep: Reputation: 15
at a guess, I'd say the AP may not know how to get to the network. You can try to see if there is any way to enter routes into the AP. Given that it is a D-Link, then I suspect not.

I'm not sure what you are trying to do (in the grand scheme of things), but you could try doing NATP on your bridge device so that any traffic from to will have a source address of Of course this won't really work if you want full bi-directional connectivity unless you want to go and setup a whole stash of static NAT's.
Old 10-07-2003, 01:44 AM   #3
LQ Newbie
Registered: Sep 2003
Location: On the planet Earth
Distribution: Debian GNU/Linux "Woody"
Posts: 22

Original Poster
Rep: Reputation: 15

In the meantime I solved this riddle, like:


Any#01 Hub Linux Proprietary Hub Any#02
+-------+ /------\ +-------+| <<<>>> |+-------+ /------\ +-------+
| PC#01 +-----{ LAN#01 }-----+ BR#01 ++ ++ AP#01 +-----{ LAN#02 }-----+ PC#02 |
+-------+ \------/ +-------+ +-------+ \------/ +-------+
eth0 eth0 eth1 eth0 eth0 |


* Debian GNU/Linux 3.0p1 (my case)
* Kernel 2.4.22 (bridging enabled) (my case)
* Orinoco driver (orinoco_cs) =>
* wireless tools 26 (iwconfig, etc.) =>
* iptools2 (ip, etc.) =>
* Proxy ARP/IP Bridge (parprouted) =>

1) /etc/network/interfaces

# all available interfaces
auto lo eth0 eth1

# The loopback interface
iface lo inet loopback

# The first network card (wired)
iface eth0 inet static

# The first network card (wireless)
iface eth1 inet static

2) /etc/init.d/ifdownup (executable; -> /etc/rc[2345].d/S30ifdownup)

/sbin/ifdown -a
sleep 2
/sbin/ifup -a
sleep 2

3) /etc/init.d/ipbridge (executeable; -> /etc/rc[2345].d/S30ipbridge)

/sbin/ifconfig eth0
/sbin/ifconfig eth1
/usr/local/sbin/parprouted eth1 eth0
echo “1” > /proc/sys/net/ipv4/ip_forward

4) /etc/init.d/routing (executeable; -> /etc/rc[2345].d/S30routing)

/sbin/route add -host dev eth0
/sbin/route add -net netmask dev eth1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Howto bridge wireless and wired network interfaces? pohl886 Debian 11 07-19-2011 06:58 PM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM
Wired to Wireless back to Wired The_Nerd Linux - Hardware 5 09-15-2004 09:20 PM
Wireless - Wired bridge while still being usable? Other network questions too.... etherag Linux - Wireless Networking 6 08-27-2004 09:37 AM
do i have to bridge a wireless and wired connection on the same linux box ulto Linux - Wireless Networking 2 04-07-2004 12:37 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:24 AM.

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