help needed

shatam bhattacharya mailshatam at yahoo.co.in
Fri Mar 26 14:01:16 UTC 2004


Hi, 

The original problem was that I am not able to connect my rhl 9 box to my college LAN. I am including the following trouble shooting info and the clarification for the subnet mask (after consulting the NA) is that it is actually 255.255.0.0 for our hostel. I regret the mistake of giving the wrong data. The college server is based on rhl 9. I can ping only my system with ip 172.31.65.21 (local) and not even the systems connected through my switch ( on the same floor) . Please take a look at  the following. And by the way ping is not disabled as it working on  other systems. One important question is that if I make up my mind of reinstalling rhl 9 what factors should I keep in mind to avoid such problems in future ?Please suggest the needfull. with thanks and regards 

shatam

 

uname -a

Linux gomti 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux

 

lspci output

00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 01)

00:02.0 VGA compatible controller: Intel Corp. 82845G/GL [Brookdale-G] Chipset Integrated Graphics Device (rev 01)

00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)

00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)

00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)

00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 01)

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 81)

00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01)

00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01)

00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01)

00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01)

01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

 

ifconfig output

eth0     

Link encap:Ethernet  HWaddr 00:08:A1:32:E1:7E  

inet addr:172.31.65.21  Bcast:172.31.67.255  Mask:255.255.252.0 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:1 errors:1286 dropped:0 overruns:0 frame:0 TX packets:52 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:60 (60.0 b)  TX bytes:3120 (3.0 Kb)Interrupt:9 Base address:0xcc00 

 

lo      

Link encap:Local Loopback inet addr:127.0.0.1  Mask:255.0.0.0 UP LOOPBACK RUNNING  MTU:16436  Metric:1 RX packets:375 errors:0 dropped:0 overruns:0 frame:0 TX packets:375 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 

RX bytes:26209 (25.5 Kb)  TX bytes:26209 (25.5 Kb)

 

Netstat -rn

Kernel IP routing table

Destination Gway 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  UG0 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

 

>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

 

iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere           

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain RH-Lokkit-0-50-INPUT (2 references)
target     prot opt source               destination         
ACCEPT     udp  --  172.31.100.8         anywhere           udp spt:domain dpts:1025:65535 
ACCEPT     udp  --  172.31.100.6         anywhere           udp spt:domain dpts:1025:65535 
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:smtp flags:SYN,RST,ACK/SYN 
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:http flags:SYN,RST,ACK/SYN 
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:ftp flags:SYN,RST,ACK/SYN 
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:ssh flags:SYN,RST,ACK/SYN 
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:telnet flags:SYN,RST,ACK/SYN 
ACCEPT     udp  --  anywhere             anywhere           udp spts:bootps:bootpc dpts:bootps:bootpc 
ACCEPT     udp  --  anywhere             anywhere           udp spts:bootps:bootpc dpts:bootps:bootpc 
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
REJECT     tcp  --  anywhere             anywhere           tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable 
REJECT     tcp  --  anywhere             anywhere           tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable 
REJECT     udp  --  anywhere             anywhere           udp dpts:0:1023 reject-with icmp-port-unreachable 
REJECT     udp  --  anywhere             anywhere           udp dpt:nfs reject-with icmp-port-unreachable 
REJECT     tcp  --  anywhere             anywhere           tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable 
REJECT     tcp  --  anywhere             anywhere           tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable 
 




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/20040326/b3137984/attachment.htm>


More information about the Redhat-install-list mailing list