System with 2 NICS

Robert Dege rdege at cse.Buffalo.EDU
Thu Jun 3 16:05:50 EDT 2004


I recently added a 2NIC to a server I have at work.  The server beforms 2
functions, it acts as a NFS File Server, and it runs Amanda (Network
Backup software)

The way that I want the server to work is that

NIC #1 - is dedicated to NFS traffic
NIC #2 - is dedicated to Amanda network backups

Each NIC has their own IP, and own hostname.  This way, it's easy to point
autofs to one host, and amanda clients tothe other host.  Both IPs are
also in the same subnet, so I'm working within a single subnet.

here is my problem... according to netstat -rn, all outgoing
network traffic is using NIC #2, whether the data is incoming from NIC #1
or NIC #2.  Here's is my netstat -rn:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
167.225.72.0    0.0.0.0         255.255.255.0   U         0 0        0 eth1
167.225.72.0    0.0.0.0         255.255.255.0   U         0 0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0        0 lo
0.0.0.0         167.225.72.254  0.0.0.0         UG        0 0        0 eth1


The first 2 entries are NIC #1 & NIC #2.  The 3rd entry is some Redhat
Zeroconf crap.  Does anyone know what I have to do to get NIC #1 traffic
to stay on NIC #1?

Any insight is appreciated.

Dege

As seen on bash.org:
The problem with America is stupidity. I'm not saying there
should be a capital punishment for stupidity, but why don't
we just take the safety labels off of everything and let
the problem solve itself?



More information about the nflug mailing list