1 VPS with 2 IP addresses. How to make them independent?


#1

Good Morning.

Currently in my VPS I have a NIC with two interfaces.

[code]auto ens3
iface ens3 inet static
address X1.XX.1X9.XX2
netmask 255.255.252.0
broadcast X1.XX.1X0.255
gateway X1.XX.1X9.x

auto ens3:0
iface ens3:0 inet static
address 1XX.X7.X3.XX5
netmask 255.255.255.255[/code]

The second interface (ens3:0) is a virtual interface and his traffic passes through the main interface (ens3).
Is there any way to make them independent?

Regards.