[KLUG Members] Bridging over wireless

Adam Williams members@kalamazoolinux.org
Sun, 21 Sep 2003 14:13:56 -0400


I'm trying to bridge two LAN segments over a wireless link (two PCs each
with one NIC and one WIC bound together as a bridge).

On PC A:
/sbin/iwconfig eth1 key restricted 0123456789
/sbin/iwconfig eth1 nick "One End"
/sbin/iwconfig eth1 mode ad-hoc
/sbin/iwconfig eth1 channel 1
/sbin/iwconfig eth1 essid "p2p1"

On PC B:
/sbin/iwconfig eth1 key restricted 0123456789
/sbin/iwconfig eth1 nick "The Other End"
/sbin/iwconfig eth1 mode ad-hoc
/sbin/iwconfig eth1 channel 1
/sbin/iwconfig eth1 essid "p2p1"

Ad Hoc mode is supposed to let two WICs communicate without a WAP, or at
least that is how I'm reading the text.  

But I don't get any ARP addresses, etc...  Curious if someone know what
I'm missing.

LAN A<--PC-A-->Wireless-----Wireless<--PC-B-->LAN B

Host on LAN A need to be able to get DHCP leases from a DHCP server on
LAN B, and communicate seemlessly with server on LAN B.