Answer the question
In order to leave comments, you need to log in
How to raise two network devices on one virtual machine?
I don't know how to put it right. Is it possible to connect to a virtual server using an external IP and a local one? For example, I configured br0 bridge 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 111.222.444.1 dev ens3
post-down route del default gw 111.222.444.1
auto enp1s0f0
iface enp1s0f0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports enp1s0f0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question