FreeBSD Bridging doesn't work on FreeBSD 11
Gerhard Schmidt
schmidt at ze.tum.de
Thu Sep 21 06:01:21 UTC 2017
Hi,
I'm doing some packetfiltering between two network segments. I've a
running bridge on FreeBSD 8.2
cloned_interfaces="bridge0"
autobridge_interfaces="bridge0"
autobridge_bridge0="fxp0 fxp1"
ifconfig_bridge0="inet 10.100.32.15/24 up"
ifconfig_fxp0="up"
ifconfig_fxp1="up"
this one running for years without a hitch. But it's quite old so I'm
building a replacement on FreeBSD 11.1
I've copied these setting and the firewall configs as well.
cloned_interfaces="bridge0"
autobridge_interfaces="bridge0"
autobridge_bridge0="em0 em1"
ifconfig_bridge0="inet 10.100.32.18/24 up"
ifconfig_em0="up"
ifconfig_em1="up"
The new bridge starting up does bridge the traffic but the bridge server
can't communicate.
here is the output from ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0
mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 08:00:27:53:57:a0
hwaddr 08:00:27:53:57:a0
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0
mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 08:00:27:12:e7:9e
hwaddr 08:00:27:12:e7:9e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
ether 02:3d:73:0f:54:00
inet 10.100.32.18 netmask 0xffffff00 broadcast 10.100.32.255
nd6 options=9<PERFORMNUD,IFDISABLED>
groups: bridge
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: em1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 2 priority 128 path cost 2000000
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 2000000
if delete the bridge and configure em0 directly ip works.
anyone a idea what I'm doing wrong.
Regards
Estartu
More information about the freebsd-questions
mailing list