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

Dual Homed Network Problem



Sorry I have posted this problem yesterday and I thought I solved it but
apparently I did not.

I have Debian 3.0 on Ultra 10 SPARC machine. It has two network interfaces
eth0 on 192.168.1.0 with IP 192.168.1.20
eth1 on 10.5.5.0 with IP 10.5.5.20


The problem that I have is that machines on the 10.5.5.x subnet cannot
ping the IP 192.168.1.20 and machines on 192.168.1.x subnet cannot ping
the IP 10.5.5.20.This is only unique to this box. Other dual homed
machines running Windows or Mandrake are accessible from both sides.


The file /etc/network/interfaces looks like the following:


auto lo
iface lo inet loopback

auto eth0
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


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

The output of route -n command looks 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


The output of ifconfig looks like the following:

eth0      Link encap:Ethernet  HWaddr 08:00:20:FD:C7:09
          inet addr:192.168.1.20  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4576 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1625 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:363616 (355.0 KiB)  TX bytes:286891 (280.1 KiB)
          Interrupt:32 Base address:0x8800

eth1      Link encap:Ethernet  HWaddr 00:48:54:62:B0:73
          inet addr:10.5.5.20  Bcast:10.5.5.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:329148 (321.4 KiB)  TX bytes:35909 (35.0 KiB)
          Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3650 (3.5 KiB)  TX bytes:3650 (3.5 KiB)



Any help is much appreciated

Thank you

Mostafa



Reply to: