Alright I have a server with 3 IPs.
2 of the IPs are in the same subnet. 1.1.1.2 & 1.1.1.3
1 Ip is completely different. 2.1.1.2
In deb based systems you theoretically could do
auto eth0
iface eth0 inet static
address 1.1.1.2
mask 255.255.255.0
gateway 1.1.1.1
auto eth0:1
iface eth0:1 inet static
address 1.1.1.3
mask 255.255.255.0
gateway 1.1.1.1
But how do I get the 2.1.1.2 Ip address on that same eth0 interface? Loop back?
Mun
2 of the IPs are in the same subnet. 1.1.1.2 & 1.1.1.3
1 Ip is completely different. 2.1.1.2
In deb based systems you theoretically could do
auto eth0
iface eth0 inet static
address 1.1.1.2
mask 255.255.255.0
gateway 1.1.1.1
auto eth0:1
iface eth0:1 inet static
address 1.1.1.3
mask 255.255.255.0
gateway 1.1.1.1
But how do I get the 2.1.1.2 Ip address on that same eth0 interface? Loop back?
Mun