1- create a bridge
2- active the second interface
Solution | |
---|---|
create Bridge | |
Need to install ifupdown2 | |
ifup enp2s0 | |
iface enp2s0 inet dhcp dhcp root@hp8300:~# more /etc/network/interfaces auto lo iface lo inet loopback iface eno1 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.0.9 netmask 255.255.255.0 gateway 192.168.0.1 bridge_ports eno1 bridge_stp off bridge_fd 0 iface enp2s0 inet dhcp | |