[Bug 240106] VNET issue with ARP and routing sockets in jails

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Jan 2023 17:28:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240106

Nikita Olenets <zeon@zeon.kiev.ua> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zeon@zeon.kiev.ua

--- Comment #21 from Nikita Olenets <zeon@zeon.kiev.ua> ---
In the mean time you can try "workaround" to create ng_bridge interface to your
parent and then use than newly created interface as a member to your management
bridge.

Assuming you have em0 as your parent interface

em0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500
       
options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
        ether 58:9c:fc:10:f1:16
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

/bin/sh /usr/share/examples/jails/jng bridge main em0
Will create ng0_main interface:

ng0_main: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0
mtu 1500
        options=28<VLAN_MTU,JUMBO_MTU>
        ether 02:60:c8:08:84:9b
        hwaddr 58:9c:fc:10:ff:ff
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Now you can add ng0_main interface instead your em0. Will work like a charm.

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