Hey everyone!
So I need a LXC in my Proxmox 7 cluster to have two IP addresses of the same
I have tried to name the two interfaces
Which is the recommended way to go? Configure
I ask because I don't think this is such a special case after all, but I could understand that the GUI can only support up to a certain amount of features.
Thanks in advance.
So I need a LXC in my Proxmox 7 cluster to have two IP addresses of the same
192.168.0.0/24
private network:192.168.0.<id>
, where<id>
is the<ctid>
assigned by Proxmox (i.e. 100, 101, 102, etc.).- 192.168.0.254 (i.e this specific IP address).
eth0
and eth1
) via the network interfaces configuration GUI but I've noticed that, in terms of firewall, the traffic is comming through net0
, not net1
, when it's directed at the 192.168.0.254
IP address.I have tried to name the two interfaces
eth0:0
and eth0:1
but the GUI regular expression validating the input won't let me.Which is the recommended way to go? Configure
eth0
though the GUI then edit /etc/network/interfaces (I'm on Debian 11) to create the second IP upon start-up of the container?I ask because I don't think this is such a special case after all, but I could understand that the GUI can only support up to a certain amount of features.
Thanks in advance.