I got a single ethernet connection to a network but with multiple ips.
Because of this, I am using virtual network interfaces like this:
auto intern
iface intern inet static
address ...
netmask ...
gateway ...
auto intern:1
iface intern:1 inet static
address ...
netmask ...
gateway ...
I need to configure which IP should be used by default for outgoing traffic.
How can I do that?