BRIDGE_NAME="bnet0"
# List the names of the interfaces that you want to bridge across
# here in ${BRIDGE_IFACES}. If you want to include the local host
# machine as well then set ${LOCAL_IFACES} as well (they may also be
# listed in ${BRIDGE_IFACES}). Of course, any ${LOCAL_IFACE} must
# be ifconfig(8)ured separately. If you don't want a ${LOCAL_IFACE}
# then assign it the empty string.
BRIDGE_IFACES="cxl4 cxl5 cxl6 cxl7 cxl8 cxl9 cxl10 cxl11"
LOCAL_IFACES="cxl4 cxl5 cxl6 cxl7 cxl8 cxl9 cxl10 cxl11"
root@x9srl:/ # ./netgraph start
root@x9srl:/ # ./netgraph stats
Statistics for bridging network bnet0:
Network interface cxl4:
Network interface cxl5:
Network interface cxl6:
Network interface cxl7:
Network interface cxl8:
Network interface cxl9:
Network interface cxl10:
Network interface cxl11:
Local host interface cxl4:
Local host interface cxl5:
Local host interface cxl6:
Local host interface cxl7:
Local host interface cxl8:
Local host interface cxl9:
Local host interface cxl10:
Local host interface cxl11:
root@x9srl:/ # ngctl list
There are 13 total nodes:
Name: cxl4 Type: ether ID: 00000001 Num hooks: 2
Name: cxl5 Type: ether ID: 00000002 Num hooks: 2
Name: cxl6 Type: ether ID: 00000003 Num hooks: 2
Name: cxl7 Type: ether ID: 00000004 Num hooks: 2
Name: cxl8 Type: ether ID: 00000005 Num hooks: 2
Name: cxl9 Type: ether ID: 00000006 Num hooks: 2
Name: cxl10 Type: ether ID: 00000007 Num hooks: 2
Name: cxl11 Type: ether ID: 00000008 Num hooks: 2
Name: em0 Type: ether ID: 00000009 Num hooks: 0
Name: em1 Type: ether ID: 0000000a Num hooks: 0
Name: lagg0 Type: ether ID: 0000000b Num hooks: 0
Name: ngctl23836 Type: socket ID: 000000cd Num hooks: 0
Name: bnet0 Type: bridge ID: 00000099 Num hooks: 16