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