ethernet connection to my college LAN

Andrew Kelly akelly at transparency.org
Thu Mar 25 10:51:32 UTC 2004


On Thu, 2004-03-25 at 11:32, shatam bhattacharya wrote:
> 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 ???

This is starting to sound like a firewall issue, innit?

What's the output of 'iptables -L'?
If you get an error because iptables isn't running, make sure that
that ugly chains crud isn't in the way by running 'lokkit' and taking
appropriate steps.

Andy






More information about the Redhat-install-list mailing list