I have a dedi with 5ip, this is interfaces config
additional ip don't have virtual mac address
I try using GUI create bridge connect enp2s0f0:1 to enp2s0f0:4 for each vm, vm can connect web
but can't use ip connect vm, ip still point to dedi
additional ip don't have virtual mac address
Code:
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp2s0f0
iface enp2s0f0 inet static
address 1.2.3.100
netmask 255.255.255.255
gateway 100.64.1.9
allow-hotplug enp2s0f0:1
iface enp2s0f0:1 inet static
address 1.2.3.101
netmask 255.255.255.255
gateway 100.64.1.9
allow-hotplug enp2s0f0:2
iface enp2s0f0:2 inet static
address 1.2.3.102
netmask 255.255.255.255
gateway 100.64.1.9
allow-hotplug enp2s0f0:3
iface enp2s0f0:3 inet static
address 1.2.3.103
netmask 255.255.255.255
gateway 100.64.1.9
allow-hotplug enp2s0f0:4
iface enp2s0f0:4 inet static
address 1.2.3.104
netmask 255.255.255.255
gateway 100.64.1.9
I try using GUI create bridge connect enp2s0f0:1 to enp2s0f0:4 for each vm, vm can connect web
but can't use ip connect vm, ip still point to dedi
Last edited: