if you mean on the same interface you'd have to edit /etc/network/interfaces and add something like
Code:
iface vmbr0 inet static
address SECOND_IP/24
just make sure both are on the same subnet. If you have a second interface you can create a new bridge, configure the IP there and add the second NIC as a bridge port.
For two IPs in two subnets you will need a seconds NIC. If you don't have a second NIC, what you want is either not possible or complicated depending on the rest of your network setup.
For two IPs in two subnets you will need a seconds NIC. If you don't have a second NIC, what you want is either not possible or complicated depending on the rest of your network setup.
FYI on vmbr0 (192.168.1.x static IP), with the net-tools package installed, I can
' ifconfig vmbr0:1 10.9.8.7 netmask 255.0.0.0 up '
and it pings on both the 192 and 10.x networks without a 2nd NIC, but this is a standalone non-clustered PVE server. You can set it up with the class A in /etc/rc.local
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.