How to direct outgoing traffic through specific interface?
- by user1434058
I added eth1 and eth2 to my Ubuntu Server, all 3 use DHCP and are on the same lan
eth0 10.0.0.41
eth1 10.0.0.42
eth3 10.0.0.43
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default router.net 0.0.0.0 UG 100 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.255.255.0 U 0 0 0 eth2
curl --interface eth1 www.google.com doesn't work
what else do i need to do for the above to work?