I'm trying to set up a router using an HP NetServer 4/66 with 48 MB RAM,
2.7 GB HD and two network boards; the first one is a 3c503 (IP address
is 194.91.9.1) and the second one is a 3com 3c509 (IP: 150.50.51.99).
The operating system is Caldera Network Desktop version 1.0 (Linux
kernel: 1.2.13)
I set up the system and everything is working fine. Now I have to
configure this machine as a router to internet.
The ifconfig command output is the following:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:24 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 02:60:8C:7C:C9:AF
inet addr:194.91.9.1 Bcast:194.91.9.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0
TX packets:10 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x280
eth1 Link encap:10Mbps Ethernet HWaddr 00:A0:24:8A:93:D4
inet addr:150.50.51.99 Bcast:150.50.255.255 Mask:255.255.0.0
IPX/Ethernet II addr:[NONE SET]
IPX/Ethernet 802.2 addr:[NONE SET]
IPX/Ethernet 802.3 addr:[NONE SET]
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:425 errors:0 dropped:0 overruns:0
TX packets:336 errors:0 dropped:0 overruns:0
Interrupt:7 Base address:0x200
The route command gives:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use
Iface
internet * 255.255.255.0 U 1436 0 12
eth0
consyst * 255.255.0.0 U 1436 0 112
eth1
loopback * 255.0.0.0 U 1936 0 16
lo
default * * U 1436 0 0
eth0
The configuration files in /etc/sysconfig/network-scripts are:
1) ifcfg-eth0
#!/bin/sh
#>>>Device type: ethernet
#>>>Variable declarations:
DEVICE=eth0
IPADDR=194.91.9.1
NETMASK=255.255.255.0
NETWORK=194.91.9.0
BROADCAST=194.91.9.255
GATEWAY=194.91.9.1
ONBOOT=yes
#>>>End variable declarations
2) ifcfg-eth1
#!/bin/sh
#>>>Device type: ethernet
#>>>Variable declarations:
DEVICE=eth1
IPADDR=150.50.51.99
NETMASK=255.255.0.0
NETWORK=150.50.0.0
BROADCAST=150.50.255.255
GATEWAY=194.91.9.1
ONBOOT=yes
#>>>End variable declarations
I installed a couple of PCs, one with IP address 150.50.51.20 on the
internal side and one with IPaddress 194.91.9.2 on the INternet side.
The first one runs Windows NT 4.0 server and has a gateway configured at
address 150.50.51.99; the second is running Windows 95 and its gateway
is 194.91.9.1
I'm able from the NT machine to ping the 194.91.9.1 address but not the
194.91.9.2. From the Win95 I ping successfully the 150.50.51.99 address
but not the 150.50.51.20.
Can anyone help me in troubleshooting this problem?
Thanks in advance