Solved Failure to create igb0

Hi, I followed this tutorial
https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html
but I got an error message saying
Code:
"# ifconfig bridge0 addm igb0 addm tap0"
"ifconfig: BRDGADD igb0: No such file or directory"
here is my ifconfig
Code:
# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
   ether 28:d2:44:05:d7:e8
   nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
   media: Ethernet autoselect
   status: no carrier
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 0x2
   inet 127.0.0.1 netmask 0xff000000
   nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
   groups: lo
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   ether 84:3a:4b:a7:50:68
   inet 192.168.100.5 netmask 0xffffff00 broadcast 192.168.100.255
   nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
   media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
   status: associated
   ssid BDP channel 1 (2412 MHz 11g ht/40+) bssid 3c:f8:08:10:0e:28
   regdomain FCC country US authmode WPA2/802.11i privacy ON
   deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 30 bmiss 10
   scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 4
   -amsdutx amsdurx shortgi -stbc wme roaming MANUAL
   groups: wlan
tap0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
   options=80000<LINKSTATE>
   ether 00:bd:aa:14:99:00
   nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
   media: Ethernet autoselect
   status: no carrier
   groups: tap
bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
   ether 02:8f:82:70:d6:00
   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 0 ifcost 0 port 0
What do I need to do?
Thanks
 
The handbook is an example, you should change things to suit your system. The example uses igb(4) interfaces, you have an em(4) interface. So, replace igb0 with em0.
 
Back
Top