Hello all,
I am new to proxmox and have some issue with set up two nics on host to two bridges and use them as interface in lxc.
Maybe, first my setup:
I dont know whats the problem :-( Do you know what I made wrong?
I am new to proxmox and have some issue with set up two nics on host to two bridges and use them as interface in lxc.
Maybe, first my setup:
Code:
#Host
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto enp4s0
iface enp4s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.2/24
gateway 192.168.1.1
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.1.11/24
bridge-ports eno1
bridge-stp off
bridge-fd 0
#auf dem Container:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.3/24
gateway 192.168.1.1
auto eth1
iface eth1 inet static
address 192.168.1.6/24
gateway 192.168.1.1
sudo journalctl -xeu networking.service
Apr 09 12:38:58 adguard ifup[140]: RTNETLINK answers: File exists
Apr 09 12:38:58 adguard ifup[98]: ifup: failed to bring up eth1
Apr 09 12:38:58 adguard systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
ifup -v eth1
ifup: configuring interface eth1=eth1 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 192.168.1.6/255.255.255.0 broadcast 192.168.1.255 dev eth1 label eth1
Error: ipv4: Address already assigned.
ifup: failed to bring up eth1
I dont know whats the problem :-( Do you know what I made wrong?