Hello,
I want to assign a static IP to an FreeBSD guest in bhyve (using sysutils/vm-bhyve), but I failed. I assume it's about the context.
This is from host:
My provider assigned my an additional IP like 84.130.41.117 and mask 255.255.255.248.
Currently I created a public switch with:
Afterwards I added IP and mask in the guest in /etc/rc.conf. On boot it grabs the IP but it can't ping anything else nor reach the internet. How can I get the guest working with the IP?
Greetings,
Torsten
I want to assign a static IP to an FreeBSD guest in bhyve (using sysutils/vm-bhyve), but I failed. I assume it's about the context.
This is from host:
Code:
# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 90:1b:0e:cb:ce:37
hwaddr 90:1b:0e:cb:ce:37
inet 77.88.252.4 netmask 0xffffffc0 broadcast 77.88.252.63
Currently I created a public switch with:
vm switch create public
Afterwards I added IP and mask in the guest in /etc/rc.conf. On boot it grabs the IP but it can't ping anything else nor reach the internet. How can I get the guest working with the IP?
Greetings,
Torsten