Re: Internet connectivity

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Sammartano
Date:  
To: plug-discuss
Subject: Re: Internet connectivity
Actually I just answered my question. The file is located at
/etc/sysconfig/network/routes
I have no clue as to why it is not working! Here is the output:

LINUX:~ # cat /etc/sysconfig/network/routes
default 192.168.0.1 - -
LINUX:~ #


Kevin Brown wrote:

>> LINUX:~ # route -n
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags Metric Ref    
>> Use Iface
>> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        
>> 0 eth1
>> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        
>> 0 eth1
>> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        
>> 0 lo

>
>
> And we have a winner. There is no Gateway address in your route
> list. I can tell because none of the routes you have are flagged as
> UG, just U. This means you need to add a default route of the following:
>
> Destination 0.0.0.0
> Gateway 192.168.0.1
> Genmask 0.0.0.0
>
> This can be done with the route command (don't recall the syntax).
> Not sure why dhcp isn't doing it for you when it gets your IP address
> from the router though.
>
>> LINUX:~ # cat /etc/resolv.conf
>> nameserver 192.168.0.1
>> domain SNL
>> LINUX:~ # ipconfig -a
>> -bash: ipconfig: command not found
>> LINUX:~ # ps -ef | grep dhcp
>
>
> doh... Caught by windows... it is ifconfig for *nix OSes. I keep
> forgetting that.
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


--
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss