ethernet connection to my college LAN
shatam bhattacharya
mailshatam at yahoo.co.in
Thu Mar 25 10:32:17 UTC 2004
Thanks Rick for the advice but the problem persits the following were the results
>The odds are that you don't have the default route set up. Do
>"netstat -rn" and verify that you have a line that has "0.0.0.0" >in the
>first column.
Netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.31.64.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.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 172.31.65.21 0.0.0.0 UG 0 0 0 eth0
>The default route is normally contained in the /etc/sysconfig/network
>file as the "GATEWAY=" equate. Here's an example:
>NETWORKING=yes
>HOSTNAME=prophead.corp.publichost.com
>GATEWAY=192.168.0.1
>If you don't have a default route, you can add one using this command:
>route add -default gw ip-addr-of-your-gateway
>For example, to set up the default route as if it were in the network
>file:
>route add -default gw 192.168.0.1
contents of /etc/syconfig/network
NETWORKING=yes
HOSTNAME=ginie
GATEWAY=172.31.65.21
By the way while installing rhl 9 I had installed
http server, dns, smb and nfs. Can they affect the ethernet connection even remotely ???
bye shatam
Win an evening with the Indian cricket captain: Yahoo! India Promos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20040325/721391d0/attachment.htm>
More information about the Redhat-install-list
mailing list