Wireless bridge not forwarding - BSD

This is a discussion on Wireless bridge not forwarding - BSD ; I have an old Thinkpad 770 with OpenBSD 3.6 installed (will upgrade when I get it working!). It will be acting as a wireless bridge. It has two interfaces, wi0 (a Proxim RangeLAN DS with appropriate firmware for HostAP mode) ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Wireless bridge not forwarding

  1. Wireless bridge not forwarding

    I have an old Thinkpad 770 with OpenBSD 3.6 installed (will upgrade when
    I get it working!). It will be acting as a wireless bridge. It has two
    interfaces, wi0 (a Proxim RangeLAN DS with appropriate firmware for
    HostAP mode) and xe0 (a Xircom CreditCard ethernet card) both added to
    the bridge. There are no rules in pf.conf yet. ip.forwarding is enabled.

    xe0 has an IP address (as it will eventually be running a log server) of
    192.168.5.4. I have a PC attached to a switch on the xe0 side, with IP
    address of 192.168.5.2. There is a laptop attached to wi0 with an IP
    address of 192.168.5.5. The wi0 interface is running in hostap mode,
    with no encryption (it will eventually use authpf).

    The problem I have is this; I can ping from the laptop (192.168.5.5) to
    the bridge (192.168.5.4) but when trying to ping the PC (192.168.5.2) I
    get destination host unreachable errors.

    I can ping from the PC (192.168.5.2) to the bridge (192.168.5.4), but
    when I ping the laptop (192.168.5.5) I don't get any replies (not even
    errors).

    Checking on the bridge with tcpdump, I can see that the PC (when pinging
    the laptop) is sending an arp request for the laptop, and getting a
    response from the bridge, but the icmp echo request never gets through.
    However when the laptop (when pinging the PC) sends an arp request it
    never even gets a response. It seems as though there is something
    strange going on with the wi0 interface (but only in the bridge).

    Does anyone have any clues as to what is going on, as I'm lost!

  2. Re: Wireless bridge not forwarding

    trigger wrote in news:4399b2cb$0$23289$db0fefd9
    @news.zen.co.uk:

    > ...
    > The problem I have is this; I can ping from the laptop (192.168.5.5) to
    > the bridge (192.168.5.4) but when trying to ping the PC (192.168.5.2) I
    > get destination host unreachable errors.
    >
    > I can ping from the PC (192.168.5.2) to the bridge (192.168.5.4), but
    > when I ping the laptop (192.168.5.5) I don't get any replies (not even
    > errors).


    On the bridge machine, can it reach both the laptop and the PC?

    > Checking on the bridge with tcpdump, I can see that the PC (when


    Try to tcpdump on both ends (xe0 and wi0) of the bridge instead.

    > pinging the laptop) is sending an arp request for the laptop, and
    > getting a response from the bridge, but the icmp echo request never
    > gets through. However when the laptop (when pinging the PC) sends an
    > arp request it never even gets a response. It seems as though there is
    > something strange going on with the wi0 interface (but only in the
    > bridge).
    >
    > Does anyone have any clues as to what is going on, as I'm lost!


    output of 'brconfig -a' and 'route -n show -inet' would be helpful

  3. Re: Wireless bridge not forwarding

    Peter Strömberg wrote:
    > trigger wrote in news:4399b2cb$0$23289$db0fefd9
    > @news.zen.co.uk:
    >
    >
    > On the bridge machine, can it reach both the laptop and the PC?


    Yes, the bridge can ping both the laptop and the PC,

    >
    > Try to tcpdump on both ends (xe0 and wi0) of the bridge instead.
    >


    I tried it on both sides, and got the same results on both.

    >
    > output of 'brconfig -a' and 'route -n show -inet' would be helpful


    Thanks for the suggestions, here are the outputs:

    # brconfig -a
    bridge0: flags=41
    Configuration:
    priority 32768 hellotime 2 fwddelay 15 maxage 20
    Interfaces:
    wi0 flags=3
    port 5 ifpriority 128 ifcost 55
    xe0 flags=3
    port 6 ifpriority 128 ifcost 55
    Addresses (max cache: 100, timeout:240):

    # route -n show -inet
    Routing tables

    Internet:
    Destination Gateway Flags Refs Use Mtu Iface
    127/8 127.0.0.1 UGRS 0 0 33224 lo0
    127.0.0.1 127.0.0.1 UH 0 4 33224 lo0
    192.168.5/24 link#6 UC 0 0 - xe0
    192.168.5.2 00:11:d8:54:e1:e2 UHLc 0 4 - xe0
    192.168.5.4 127.0.0.1 UGHS 0 4 33224 lo0
    192.168.5.5 00:04:23:9b:3c:bf UHLc 0 3 - xe0
    224/4 127.0.0.1 URS 0 0 33224 lo0

+ Reply to Thread