2020-09-18 22:20:01 UTC
Debian Buster+Bullseye+Sid) so that NAT is not needed.
In the host /etc/network/interfaces I've declared a bridge like this:
iface eno1 inet static
up route add -net 220.127.116.11 netmask 255.255.255.224 gw 18.104.22.168 dev eno1
iface virbr-dummy inet manual
pre-up /sbin/ip link add virbr-dummy type dummy
up /sbin/ip link set virbr-dummy address 52:54:00:f0:37:ba
iface virbr10 inet static
up route add -net 22.214.171.124 netmask 255.255.255.224 gw 126.96.36.199 dev eno1
Please note that 2.4.6.x are not my real IP addresses, but I've been
really assigned 2 IP addresses and I want to use one for the host and
the other for the guest.
Until here it seems to work in that I can ping both addresses. However I
don't know how I should configure my guest VM interface. There is no
nat, no DHCP and if I specify the same IP address for the virtualized
interface as the host bridge it's connecting to, it doesn't even detect
The guest was created with:
# virt-install --network bridge=virbr10,model=virtio ...