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

Problem with multiple ethernet interfaces



Hello,

I have Debian 3.0 SPARC (woody) running on Sun Ultra 10 machine. Recently,
I have added an additional PCI NIC card. The card seem to be working
without problems and I have edited the file /etc/network/interfaces to
configure the second interface and now it looks like the following:


auto lo eth0 eth1

iface lo inet loopback

iface eth0 inet static
        address 192.168.1.20
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

iface eth1 inet static
        address 10.5.5.20
        netmask 255.255.255.0
        broadcast 10.5.5.255
        network 10.5.5.0


The execution of the route command, produce a result like the following:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.5.5.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0


I have two subnets connected to two ethernet interfaces of a cisco router
192.168.1.0/24 and 10.5.5.0/24.

The problem that I have is that, I cannot access the 192.168.1.20
interface from the 10.5.5.0/24 subnet. Also, I cannot access the 10.5.5.20
interface from the 192.168.1.0/24 subnet. However, all machines in the
10.5.5.0/24 subnet can access the IP 10.5.5.20 and all machines in the
192.168.1.0/24 subnet can access the IP 192.168.1.20.

This only happens with this particular machine so it is not a router
issue. For all other machines, I can connect between 10.5.5.x to
192.168.1.x without problems. I even have a Windows 2000 Server with 2 NIC
cards one in the 192.168.1.0 subnet and one on the 10.5.5.0 subnet and
both interfaces are accessible from both sides.

Any help is appreciated!
Note: the actual subnet numbers are different.



Reply to: