[ale] Multiple Interfaces and Routing NFS

Brian Pitts brian at polibyte.com
Sat Oct 4 13:25:49 EDT 2008


Hi,

I have a machine with three network interfaces. The wireless one should
be irrelevant.

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.0     *               255.255.255.0   U     0      0        0
wlan0
192.168.186.0   *               255.255.255.0   U     0      0        0 eth1
192.168.186.0   *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0
wlan0
default         192.168.0.1     0.0.0.0         UG    0      0        0
wlan0

My goal is to be able to manually load balance NFS traffic across the
two interfaces. eth1 has the address 192.168.186.1 and eth0 has the
address 192.168.186.2. Both are connected to the same switch. I can
mount the NFS share using either address. However, no matter which
address I use when mounting, all the traffic is sent over eth1. My
network foo is not strong enough for me to be certain how to easily
change this. Any suggestions?

-Brian


More information about the Ale mailing list