Hi,

I'm experimenting with turning an OpenBSD 7.2 box into a wireless access point
(hostap) using a athn, em, bridge, vether devices and dhcpd.

Configuring the athn0 interface with IP, hostap and SSID works fine. Other 
clients
connects to it and obtains IP over DHCP.

When configuring the athn0 with no IP address, and adding the interface to a
bridge0 interface along with the em1 device and a vether0 device, clients
still connects fine to athn0 SSID but when clients ask for IP over DHCP,
ethernet frames does not propagate to vether0 where the dhcpd listens.

pf is disabled (pf=NO)

dmesg:
em1 at pci6 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address 
00:1b:21:3a:78:80
athn0 at pci16 dev 0 function 0 "Atheros AR928X" rev 0x01: apic 130 int 8
athn0: AR9280 rev 2 (2T2R), ROM rev 11, address 00:26:82:61:87:c9

ifconfig:

em1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 
1500
        lladdr 00:1b:21:3a:78:80
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (none)
        status: no carrier
vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d0:cd:4a
        index 9 priority 0 llprio 3
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 192.168.1.1 netmask 0xffffff80 broadcast 192.168.1.127
athn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:82:61:87:c9
        index 5 priority 4 llprio 3
        groups: wlan
        media: IEEE802.11 autoselect mode 11g hostap
        status: active
        ieee80211: nwid TEST chan 2 bssid 00:26:82:61:87:c9 -58dBm wpakey 
wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
bridge0: flags=0<> mtu 1500
        index 8 llprio 3
        groups: bridge
        priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
        designated: id 00:00:00:00:00:00 priority 0
        athn0 flags=3<LEARNING,DISCOVER>
                port 5 ifpriority 0 ifcost 0
        em1 flags=3<LEARNING,DISCOVER>
                port 2 ifpriority 0 ifcost 0
        vether0 flags=3<LEARNING,DISCOVER>
                port 9 ifpriority 0 ifcost 0
        Addresses (max cache: 100, timeout: 240):


Have I configured something wrong or is a feature missing?


/Martin

Reply via email to