Hello,
So I have a new server I'm migrating my VE environment to and plan on moving to a colo. As such, I'm trying to switch to using a NAT network per the documentation for my VMs. Unfortunately, I cannot get an IP address for my VMs! Does anyone have any ideas here? My network config looks like the following:
The VM doesn't get an IPv4 address at all, but seems to have an IPv6 address. I can't reach the gateway (192.168.100.1) at all either (which makes sense), and the system complains that the network is unavailable. Any help would be appreciated.
So I have a new server I'm migrating my VE environment to and plan on moving to a colo. As such, I'm trying to switch to using a NAT network per the documentation for my VMs. Unfortunately, I cannot get an IP address for my VMs! Does anyone have any ideas here? My network config looks like the following:
Bash:
auto lo
iface lo inet loopback
iface enx0a94ef630557 inet manual
auto eno1
iface eno1 inet manual
address 192.168.100.4/24
gateway 192.168.100.1
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
iface ens1f0 inet manual
iface ens1f1 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
source /etc/network/interfaces.d/*
The VM doesn't get an IPv4 address at all, but seems to have an IPv6 address. I can't reach the gateway (192.168.100.1) at all either (which makes sense), and the system complains that the network is unavailable. Any help would be appreciated.