tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wireless bridge (almost) working.



Following up to myself, this turned out to be a problem with dhcpd
configuration.  The mac os x Laptop would receive a dhcp response from
Router, but afterwards the routing table on the mac os x side was not
correct.

When I manually fixed up routing on mac os x, everything worked.  Now
I just have to figure out what mac os x considers to be a complete and
valid dhcp response...

The bridge is working perfectly, thanks NetBSD!

-russ

Russell McManus <russell_mcmanus%yahoo.com@localhost> writes:

> I'm trying to get a wireless bridge working.
>
> I'm pretty close to a working configuration, but something isn't quite
> right.  When Laptop associates with ral0, it can ping Workstation and
> Router, but pings to anything outside via ISP fail.  Also Laptop can
> access the webserver running on Workstation just fine.
>
> I am running ipf and ipnat on Router.  ipmon output in
> /var/log/messages did not provide any insight.  I am running bridge0
> with ipf option.
>
> It feels like an ipf problem, but I don't know how to debug the issue
> further.  Any ideas about what I might be doing wrong?
>
> I've included brconfig and ifconfig out below, if that's of any use...
>
> -russ
>
>
>                 +-------------+
>                 | i386 Router |      
>                 | netbsd 4.0  |
>                 |             |
>                 |    rtk1-----+---- ISP 
>                 |             |
>                 | +---------+ |
>                 | | bridge0 | |
>                 | | ------- | |
>   +-------+     | |         | |
>   |  HUB  |-----+-+--rtk0   | |
>   +-------+     | |         | |
>       |         | |  ral0   | |
>       |         | |         | |
>       |         | +---------+ |
>       |         |             |
>       |         +-------------+
>       |
>   +--------------+
>   |  Workstation |
>   +--------------+
>
>   +--------+
>   | Laptop |
>   +--------+
>
>
> Here is brconfig output:
>
> $ brconfig bridge0
> bridge0: flags=41<UP,RUNNING>
>         Configuration:
>                 priority 32768 hellotime 2 fwddelay 15 maxage 20
>                 ipfilter enabled flags 0x1
>         Interfaces:
>                 ral0 flags=3<LEARNING,DISCOVER>
>                         port 4 priority 128
>                 rtk0 flags=3<LEARNING,DISCOVER>
>                         port 1 priority 128
>         Address cache (max cache: 100, timeout: 1200):
>                 00:1b:63:a3:c4:59 rtk0 464 flags=0<>
>                 00:30:65:37:40:22 rtk0 417 flags=0<>
>                 00:0d:4b:09:29:5a rtk0 415 flags=0<>
>                 00:14:51:81:35:57 rtk0 148 flags=0<>
>                 00:10:18:0d:49:b3 rtk0 97 flags=0<>
>
> $ ifconfig rtk0
> rtk0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 
> 1500
>         address: 00:01:c0:03:78:d4
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
>         inet6 fe80::201:c0ff:fe03:78d4%rtk0 prefixlen 64 scopeid 0x1
>
> $ ifconfig ral0 
> ral0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         ssid xyzzy apbridge nwkey 0x----------
>         powersave off
>         bssid 00:12:17:83:fd:36 chan 1
>         address: 00:12:17:83:fd:36
>         media: IEEE802.11 autoselect mode 11b hostap
>         status: active
>         inet6 fe80::212:17ff:fe83:fd36%ral0 prefixlen 64 scopeid 0x4



Home | Main Index | Thread Index | Old Index