On Fri, 17 Nov 2000, Rob Ruth wrote:
> I am having an odd routing issue that I hope someone on the list can assist
> in. First, here are my configs:
>
> /etc/sysconfig/network
>
> NETWORKING=yes
> HOSTNAME=cp1
> #GATEWAY=10.0.0.7
Try adding:
GATEWAYDEV=eth0
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
>
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=10.0.0.21
> NETMASK=255.0.0.0
> BROADCAST=10.255.255.255
> NETWORK=10.0.0.0
> ONBOOT=yes
>
> /etc/sysconfig/network-scripts/ifcfg-eth1
>
> DEVICE=eth1
> BOOTPROTO=static
> ONBOOT=no
>
Do you have a second ethernet card?
>
> Here is the routing table:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> cp1 * 255.255.255.255 UH 0 0
> 0 eth0
> 10.0.0.0 * 255.0.0.0 U 0
> 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0
> 0 0 lo
>
>
> With the above config I can ping. telnet, etc.
>
> The problem is that if I uncommnet the line "Gateway=10.0.0.7" in
> /etc/sysconfig/network I can't ping, telnet or any other network activity.
> Also, when I specify the gateway as 10.0.0.7, the route command hangs... Any
> ideas? The gateway has to be set to 10.0.0.7 because this is the webservers
> route out to the inet... Suggestions?
>
> -Rob
>
>
Is 10.0.0.7 listed in /etc/hosts, or resolvable by your name server? If
not, then the route command will hang untill DNS times out. (90 seconds?)
Try running route -n, and see if it hangs.
ALso, route add default gw 10.0.0.7 eth0
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list