How to raise two network devices on the same dev?

Don't know how to speak correctly. Is it possible to connect to a virtual server via the external IP and local? For example, I configured the bridge br0 and external IP like this:

auto ens3
iface ens3 inet static

 address 190.155.44.10
 netmask 255.255.255.255
 broadcast 190.155.44.10

 post-up route add 111.222.444.1 dev ens3
 post-up route add default gw 111.222.444.1
 post-down route del dev ens3 111.222.444.1
 post-down route del default gw 111.222.444.1


On the host
auto enp1s0f0
enp1s0f0 iface inet manual

auto br0
iface br0 inet dhcp
 bridge_ports enp1s0f0
 bridge_stp off
 bridge_fd 0
 bridge_maxwait 0


But because you can further configure the default NAT address type 192.168.122.5 - how to do it? What to write on the host and the guest?
July 2nd 19 at 13:09
0 answer

Find more questions by tags Computer networksKVMQEMUUbuntu Server