Softaculous


Topic : KVM unbuntu no guest network (outside world)


Posted By: HelgeR on July 17, 2017, 4:20 pm
I'm not sure what I'm not seeing here, but its given me a serious headache :)

Setup is as follows:
KVM running on ubuntu 16.04 LTS
virtualizor installed
created an IP pool
created a VM iva the webui with E1000 NIC and assigned one of the IPs

VM comes up fine, but I'm not able to ping it, nor am I able to reach the network from the VM.
However from the ubuntu host itself I can ping the VM and ssh to it, from there I can also ping the ubuntu host but nothing else (no default gateway or anything).

IP address on the ubuntu server itself is a public IP (not private ranges), the VM gets assigned an IP in the same subnet as the host.
By this I assume then network traffic should be bridget down to the interface of the ubuntu server, but its not...

This is a test environment so the ubuntu server is installed as VM on VMware.

kind regards,
Helge

Posted By: HelgeR on July 17, 2017, 4:32 pm | Post: 1
Forgot to mention that I found a guide for how to make the network bridge persistent.
So my /etc/network/interfaces holds a configuration for viibr0 interface with the actual interface (ens192) as a "bridge_port".

Quote
# The loopback network interface
auto lo
iface lo inet loopback

auto ens192
iface ens192 inet manual

# The primary network interface
auto viifbr0
iface viifbr0 inet static
        address xx.110.216.xx
        netmask 255.255.255.192
        network xx.110.216.xx
        broadcast xx.110.216.255
        gateway xx.110.216.xx
        bridge_ports ens192
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
        dns-nameservers 8.8.8.8


Posted By: HelgeR on July 17, 2017, 5:59 pm | Post: 2
After further digging I got this solved.
On the vmware vSwitch I had to change "promiscuous mode" to Accept from the default policy, Reject

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.