Hi,
My expirience in servers is growing fast, but not very big, so is my experience with networking and virtual machines.
My Setup is a Root-Server in a datacenter with FreeBSD 10.2 p14
I tested bhyve for about 2 days and can't solve the problem with my network between vm and host.
My vm is an Ubuntu Server OS (unconfigured as the standard server ISO 14.04 just with grub and openssh)
so:
/etc/rc.conf
3 lines out of
/etc/pf.conf
That's the only lines in my pf.conf for my vm
/etc/sysctl.conf
/boot/loader.conf
config in ubuntu vm
/etc/network/interfaces
I am pretty new to forums and FreeBSD (2 month), so please be kind to me. And sorry for my bad English.
My expirience in servers is growing fast, but not very big, so is my experience with networking and virtual machines.
My Setup is a Root-Server in a datacenter with FreeBSD 10.2 p14
I tested bhyve for about 2 days and can't solve the problem with my network between vm and host.
My vm is an Ubuntu Server OS (unconfigured as the standard server ISO 14.04 just with grub and openssh)
so:
/etc/rc.conf
Code:
cloned_interfaces="bridge0 tap1"
ifconfig_bridge0="addm re0 addm tap1 up"
ifconfig_bridge0="inet 10.0.1.1/24"
3 lines out of
/etc/pf.conf
Code:
if = "{ re0 }"
bridge = "{ bridge0 }"
nat on $if from $bridge:network to any -> $if
/etc/sysctl.conf
Code:
net.link.tap.up_on_open=1
net.inet.ip.forwarding=1
/boot/loader.conf
Code:
kern.racct.enable=1
geom_mirror_load="YES"
vmm_load="YES"
nmdm_load="YES"
if_bridge_load="YES"
if_tap_load="YES"
config in ubuntu vm
/etc/network/interfaces
Code:
auto eth0
iface eth0 inet static
address 10.0.1.2
netmask 255.255.255.0
I am pretty new to forums and FreeBSD (2 month), so please be kind to me. And sorry for my bad English.
Last edited by a moderator: