I have Promox running in Virtualbox on a windows machine before I move onto replacing my current single system server.
Currently the Virtualbox config for the network adapter is bridged and I have full access to network and internet in the host. I can ping the LXC from the host and I can even ping the LXC from my windows machine
However, trying to run a Ubuntu 18.04 container I can not access anything outside. The container does show up in my router devices but no IPv4 address is assigned.
I currently have a machine acting as my Pihole and DNS server, at address 192.168.1.100.
My host /etc/network/interfaces:
auto lo
iface lo inet loopback
iface enp0s9 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.44
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports enp0s9
bridge_stp off
bridge_fd 0
My LXC /etc/netplan/config.yaml:
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses: [192.168.1.69/24]
gateway4: 192.168.1.254
nameservers:
addresses: [192.168.1.100]
bridges:
vmbr0:
dhcp4: false
interfaces: [eth0]
Currently the Virtualbox config for the network adapter is bridged and I have full access to network and internet in the host. I can ping the LXC from the host and I can even ping the LXC from my windows machine
However, trying to run a Ubuntu 18.04 container I can not access anything outside. The container does show up in my router devices but no IPv4 address is assigned.
I currently have a machine acting as my Pihole and DNS server, at address 192.168.1.100.
My host /etc/network/interfaces:
auto lo
iface lo inet loopback
iface enp0s9 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.44
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports enp0s9
bridge_stp off
bridge_fd 0
My LXC /etc/netplan/config.yaml:
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses: [192.168.1.69/24]
gateway4: 192.168.1.254
nameservers:
addresses: [192.168.1.100]
bridges:
vmbr0:
dhcp4: false
interfaces: [eth0]