Hi guys,

I have an OpenBSD router at home and the clients are connected through a wired interface (fxp0) as well as wireless interface (ral0 running in HostAP mode). Previously, wired network has a different network then the wireless network, wired network has the address of 192.168.1.0/24 and the wireless network is on 192.168.2.0/24. The thing is, I've been trying to to put both interfaces in the same network (192.168.1.0/24). I tried using trunk with roundrobin between fxp0 and ral0 but it's so slow, and it misses some icmp_seq when I try to ping other hosts. So I tried bridge the connection instead. Here's the configuration I have:

        [EMAIL PROTECTED]:~% cat /etc/hostname.fxp0
        inet 192.168.1.1 255.255.255.0 NONE description "Local Network"
        [EMAIL PROTECTED]:~% cat /etc/hostname.ral0
up media autoselect mediaopt hostap mode 11g nwid blowfish -nwkey chan 3
        [EMAIL PROTECTED]:~% cat /etc/bridgename.bridge0
        add fxp0
        add ral0
        up

The connection seems to work. Both clients that are connecting from wired interfaces and wireless interface can get IP address (using DHCP) with the network address of 192.168.1.0/24. The clients can ping to the OpenBSD router, and the router can ping to all the clients. However, pinging to other clients wont work. Can anyone suggest me what I'm doing wrong? If the bridging works perfectly, any clients should be able to ping/communicate to other clients right? Btw I'm running OpenBSD 4.0-current on i386. Also, here's the output of brconfig:

        [EMAIL PROTECTED]:~% brconfig
        bridge0: flags=41<UP,RUNNING>
        Configuration:
                priority 32768 hellotime 2 fwddelay 15 maxage 20
        Interfaces:
                ral0 flags=3<LEARNING,DISCOVER>
                        port 3 ifpriority 128 ifcost 55
                    pass in on ral0
                fxp0 flags=3<LEARNING,DISCOVER>
                        port 2 ifpriority 128 ifcost 55
                    pass in on fxp0
        Addresses (max cache: 100, timeout: 240):
                00:11:2f:39:51:ae fxp0 1 flags=0<>
                00:16:cb:05:d8:11 ral0 1 flags=0<>

Any help will be greatly appreciated.

Thank you.

Reply via email to