External Access for virtual / alias NIC
Hello,
Linux noob here.... just trying to get some networking to work.
We have a server with multiple NIC aliases defined in the /etc/network/interfaces file
eth0
eth0:1
..
eth0:14
When this server accesses the internet, it currently goes via the main eth0 IP address, as you would expect.
How can i make this ubuntu server access the internet from one of the other virtual NICs so that the external IP address appears to be one of the other assigned external IP addresses?
e.g.
eth0 external IP = 123.123.123.123
eth0:1 external IP = 123.123.123.124
eth0:2 external IP = 123.123.123.125
Thanks
p.s. I test this by "curl icanhazip.com"
|