Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2019 18:01:02 +0200
From:      Alban Hertroys <haramrae@gmail.com>
To:        freebsd-stable List <freebsd-stable@freebsd.org>
Subject:   Bridge stopped bridging after upgrade from 11-STABLE to 12-STABLE
Message-ID:  <988F2E44-5030-4F87-8572-413802356A00@gmail.com>

next in thread | raw e-mail | index | archive | help
I=E2=80=99m probably just missing something, but I don=E2=80=99t see =
anything obviously wrong and Google is not being helpful.

I have em0 and wlan0 bridged on my internal network, but wireless =
devices cannot access wired devices and vice versa - except for the =
bridging host itself. That used to work before I upgraded to 12-STABLE.

How should I recover connectivity between both media?

In rc.conf I have:
---
# Wireless
wlans_ath0=3D"wlan0"

create_args_wlan0=3D"wlanmode hostap"

# Bridged interfaces (see example at man 4 bridge)
cloned_interfaces=3D"bridge0"
ifconfig_bridge0=3D"addm em0 addm wlan0 stp em0 stp wlan0 up"
ifconfig_bridge0_alias0=3D"inet 10.0.0.1/24"
ifconfig_bridge0_ipv6_alias0=3D"inet6 fe80::6efd:b9ff:fe68:db36%bridge0"


ifconfig_wlan0=3D"ssid solfertje country NL mode 11g channel 9:ht/40 up"
ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv"

hostapd_enable=3D"YES"

ifconfig_em0=3D"tso up"
ifconfig_em0_ipv6=3D"inet6 accept_rtadv=E2=80=9D
---

Resulting in these interfaces:
---
wlan0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> =
metric 0 mtu 1500
        ether 6c:fd:b9:68:db:36
        inet6 fe80::6efd:b9ff:fe68:db36%wlan0 prefixlen 64 scopeid 0x4
        groups: wlan
        ssid solfertje channel 9 (2452 MHz 11g) bssid 6c:fd:b9:68:db:36
        regdomain 32924 country CN indoor ecm authmode WPA2/802.11i
        privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit
        txpower 20 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g =
<hostap>
        status: running
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

em0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric =
0 mtu 1500
        =
options=3D812099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN=
_HWFILTER>
        ether 68:05:ca:17:fe:f7
        inet6 fe80::6a05:caff:fe17:fef7%em0 prefixlen 64 scopeid 0x1
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

bridge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 =
mtu 1500
        ether 02:95:bb:bd:98:00
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        id 68:05:ca:17:fe:f7 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 68:05:ca:17:fe:f7 priority 32768 ifcost 0 port 0
        member: wlan0 =
flags=3D167<LEARNING,DISCOVER,STP,EDGE,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 33333 proto =
rstp
                role designated state forwarding
        member: em0 =
flags=3D1e7<LEARNING,DISCOVER,STP,EDGE,AUTOEDGE,PTP,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000 proto =
rstp
                role designated state forwarding
        groups: bridge
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
=E2=80=94

Regards,

Alban Hertroys

P.S. The package for postgresql10-server links to icu libraries version =
61, while version 64 gets installed. I should be running PG 11, I know, =
working on that ;)
--
There is always an exception to always.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?988F2E44-5030-4F87-8572-413802356A00>