Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2022 06:40:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264883] ena and epair interfaces cannot be members of the same bridge
Message-ID:  <bug-264883-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264883

            Bug ID: 264883
           Summary: ena and epair interfaces cannot be members of the same
                    bridge
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: woodsb02@freebsd.org

Running FreeBSD in AWS EC2, it is not possible to join the ena0 interface t=
o a
bridge at the same time as an epair interface.

The commands below result in the same error on FreeBSD 13.1, 12.3, 11.4.

With FreeBSD 10.4 in AWS EC2, the xn driver is used instead of the ena driv=
er,
and this same sequence of commands then works without any issue.

This same sequence of commands also works in Vultr which uses the vtnet dri=
ver
instead of the ena driver. It also works on my laptop with the em driver
instead of the ena driver.

ec2-user@freebsd:~ $ su
root@freebsd:/home/ec2-user # ifconfig bridge create
bridge0
root@freebsd:/home/ec2-user # ifconfig epair create
epair0a
root@freebsd:/home/ec2-user # ifconfig bridge0 addm ena0
root@freebsd:/home/ec2-user # ifconfig bridge0 addm epair0a
ifconfig: BRDGADD epair0a: Invalid argument

root@freebsd:/home/ec2-user # ifconfig bridge0 deletem ena0
root@freebsd:/home/ec2-user # ifconfig bridge0 addm epair0a
root@freebsd:/home/ec2-user # ifconfig bridge0 addm ena0
ifconfig: BRDGADD ena0: Invalid argument

root@freebsd:/home/ec2-user # ifconfig
ena0: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9001
        options=3D422<TXCSUM,JUMBO_MTU,LRO>
        ether xxx
        inet6 xxx%ena0 prefixlen 64 scopeid 0x1
        inet xxx netmask 0xfffff000 broadcast xxx
        media: Ethernet autoselect (Unknown <full-duplex>)
        status: active
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D680003<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=3D21<PERFORMNUD,AUTO_LINKLOCAL>
bridge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
        ether 58:9c:fc:00:20:47
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.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: epair0a flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 2000
        groups: bridge
        nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
epair0a: flags=3D8962<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0=
 mtu
1500
        options=3D8<VLAN_MTU>
        ether 02:3c:b7:88:ff:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
epair0b: flags=3D8862<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 02:3c:b7:88:ff:0b
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264883-227>