[ale] I can't fix this routing problem

Ben Conrad bconrad at genuity.com
Wed Aug 9 22:49:19 EDT 2000


Folks,

I have a Sparc IPX hooked up to a 3Com cable modem.  Initially I had eth0
(internal) and eth1 (external) in the IPX and was trying to get a DHCP addr
via Pump/DHCPCD for eth1 through the cable modem.   I've since hooked up a
NT box (DHCP) to test the network and it works fine.  So I've rebooted the
cable modem, changed my ipaddr on the IPX to be static and I've removed
/etc/sysconfig/network-scripts/ifcfg-eth1 so that eth1 won't come up, only
eth0.  I think I have a routing problem because when I add the default route
"route add default gw 146.115.26.1" I can no longer ping eth0 or the ip of
the gateway.  PLEASE HELP, I think i've provided enough info below.  Thanks
Much!  Ben.

This is what I have now: eth0 with a static addr (same as the DHCP addr I
was getting on NT).
[root at fw2 network-scripts]# less ./ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=146.115.26.255
NETWORK=146.115.26.0
NETMASK=255.255.255.0
IPADDR=146.115.26.110

[root at fw2 network-scripts]# less ../network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=fw2

[root at fw2 network-scripts]# less /etc/sysctl.conf
# Disables packet forwarding
net.ipv4.ip_forward = 1

[root at fw2 network-scripts]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
146.115.26.110  *               255.255.255.255 UH    0      0        0 eth0
146.115.26.0    *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

[root at fw2 network-scripts]# ping -c 3 146.115.26.110
PING 146.115.26.110 (146.115.26.110) from 146.115.26.110 : 56(84) bytes of
data.
64 bytes from 146.115.26.110: icmp_seq=1 ttl=255 time=1.1 ms

[root at fw2 network-scripts]# ping -c 3 146.115.26.1
PING 146.115.26.1 (146.115.26.1) from 146.115.26.110 : 56(84) bytes of data.
64 bytes from 146.115.26.1: icmp_seq=0 ttl=255 time=8.5 ms

root at fw2 network-scripts]# route add default gw 146.115.26.1

[root at fw2 network-scripts]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
146.115.26.110  0.0.0.0         255.255.255.255 UH    0      0        0 eth0
146.115.26.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         146.115.26.1    0.0.0.0         UG    0      0        0 eth0

[root at fw2 network-scripts]# ping -c 3 146.115.26.110
PING 146.115.26.110 (146.115.26.110) from 146.115.26.110 : 56(84) bytes of
data.
--- 146.115.26.110 ping statistics ---
3 packets transmitted, 1 packets received, 66% packet loss

[root at fw2 network-scripts]# ping -c 3 146.115.26.1
PING 146.115.26.1 (146.115.26.1) from 146.115.26.110 : 56(84) bytes of data.
--- 146.115.26.1 ping statistics ---
3 packets transmitted, 1 packets received, 66% packet loss


VALID NT ROUTING TABLE FROM NT DHCP CLIENT:
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     146.115.26.1  146.115.26.110       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
     146.115.26.0    255.255.255.0   146.115.26.110  146.115.26.110       1
   146.115.26.110  255.255.255.255        127.0.0.1       127.0.0.1       1
  146.115.255.255  255.255.255.255   146.115.26.110  146.115.26.110       1
        224.0.0.0        224.0.0.0   146.115.26.110  146.115.26.110       1
  255.255.255.255  255.255.255.255   146.115.26.110  146.115.26.110       1
===========================================================================


____________________________________
 Ben Conrad
 NT Administrator, NOS Team
 GENUITY INC.
 617.873.5146
 bconrad at genuity.com
____________________________________ 
   
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list