Bridges on VLAN-tagged interfaces.
Eric Bautsch
eric.bautsch at pobox.com
Mon Mar 11 11:21:50 UTC 2019
Yes, I have:
|root at bianca # ifconfig -a re0:
flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 80:ee:73:63:5c:48 inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6
options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0:
flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1
prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask
0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> re0.40:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80003<RXCSUM,TXCSUM,LINKSTATE> ether 80:ee:73:63:5c:48 inet
192.168.40.33 netmask 0xffffff00 broadcast 192.168.40.255 groups: vlan vlan: 40
vlanpcp: 0 parent interface: re0 media: Ethernet autoselect (1000baseT
<full-duplex>) status: active nd6
options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> re0.33:
flags=8942<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80003<RXCSUM,TXCSUM,LINKSTATE> ether 80:ee:73:63:5c:48 inet 0.0.0.0
netmask 0xff000000 broadcast 0.255.255.255 groups: vlan vlan: 33 vlanpcp: 0
parent interface: re0 media: Ethernet autoselect (1000baseT <full-duplex>)
status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> bridge0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether
02:75:69:8e:39:00 inet 192.168.33.20 netmask 0xffffff00 broadcast 192.168.33.255
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: re0.33 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 20000 groups: bridge nd6
options=9<PERFORMNUD,IFDISABLED> root at bianca # ping -n 192.168.40.1 PING
192.168.40.1 (192.168.40.1): 56 data bytes 64 bytes from 192.168.40.1:
icmp_seq=0 ttl=255 time=2.145 ms 64 bytes from 192.168.40.1: icmp_seq=1 ttl=255
time=18.048 ms 64 bytes from 192.168.40.1: icmp_seq=2 ttl=255 time=2.114 ms ^C
--- 192.168.40.1 ping statistics --- 3 packets transmitted, 3 packets received,
0.0% packet loss round-trip min/avg/max/stddev = 2.114/7.436/18.048/7.504 ms
root at bianca # ping -n 192.168.33.1 PING 192.168.33.1 (192.168.33.1): 56 data
bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host
is down ^C --- 192.168.33.1 ping statistics --- 8 packets transmitted, 0 packets
received, 100.0% packet loss root at bianca #|
Eric
On 11/03/2019 11:14, Patrick M. Hausen wrote:
> Hi!
>
> have you done an „ifconfig up“ for the physical interface?
>
> This works in our environment:
>
> ifconfig_ixl0="up"
>
> cloned_interfaces="vlan11 bridge0"
> ifconfig_vlan11="up vlan 11 vlandev ixl0"
>
> ifconfig_bridge0_name="inet0"
> ifconfig_inet0="addm vlan11 up"
> ifconfig_inet0_alias0="inet ********"
> ifconfig_inet0_ipv6="inet6 *********/64 auto_linklocal“
>
> HTH,
> Patrick
> --
> punkt.de GmbH Internet - Dienstleistungen - Beratung
> Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
> 76133 Karlsruhe info at punkt.de http://punkt.de
> AG Mannheim 108285 Gf: Juergen Egeling
>
--
____
/ . Eric A. Bautsch
/-- __ ___ ______________________________________
/ / / / /
(_____/____(___(__________________/ email: eric.bautsch at pobox.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4127 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20190311/41d839af/attachment.bin>
More information about the freebsd-net
mailing list