[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: two network cards on a server





On Thu, 19 Apr 2007, Roberto C. Sánchez wrote:

On Wed, Apr 18, 2007 at 09:18:10PM -0400, Faheem Mitha wrote:

eth0      Link encap:Ethernet  HWaddr 00:E0:81:31:33:8C
          inet addr:152.3.172.111  Bcast:152.3.173.255  Mask:255.255.254.0

eth1      Link encap:Ethernet  HWaddr 00:E0:81:31:33:64
          inet addr:152.3.172.60  Bcast:152.3.173.255  Mask:255.255.254.0

You can see here that they are on the same subnet.  The problem, as I
mentioned previously, is that having two physical interfaces on the same
subnet can confuse your system quite badly.  What is the output of
`/sbin/route -n` ?

/sbin/route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
152.3.172.0     0.0.0.0         255.255.254.0   U     0      0        0 eth1
152.3.172.0     0.0.0.0         255.255.254.0   U     0      0        0 eth0
0.0.0.0         152.3.172.1     0.0.0.0         UG    0      0        0 eth1

Somebody suggested that using two network addresses with one network card should be possible. Would this make these problems go away?

Thanks.                                                            Faheem.

Reply to: