LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2004, 09:27 PM   #1
D J
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Rep: Reputation: 0
Ping problem again


Fishing around, can not get the answer for the problem. so ask it again....

I am under redhat linux 9 OS, I can browsing the website, and my IP address is 172.20.24.5. I tried to use xwin32 to access it from an windows environment, but it fails. After that i found i even can not successfully ping it.....I even set the security level to "NO firewall", but still can not...


anybody can give me some hits??

thanks
dejie
 
Old 02-10-2004, 09:35 PM   #2
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
More info please

From what to what are you trying to ping? Across the internet or on the same network?

If it's on the same network, what's your other system's IP?

Do you get any error when trying to ping?
 
Old 02-10-2004, 10:24 PM   #3
D J
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Original Poster
Rep: Reputation: 0
sorry...didn't clarify it clearly....

I am trying to ping the my computer with runing in linux from a computer with ID 155.69.144.156 . both 155.69.*.* and 172.20.*.* are under the schools VPN. because of the lack of IP address, so that for student in their hostel, using 172.*.*.*, all the computers are in the lab using class B address 155.69.*.*.......errrrr, i think it should not be a problem here, because it can ping my hostel computer if it is running in windows OS.

if my hostel computer running in linux

ping 172.20.24.5

request timed out
....
packetes: send = 4, Received =0, Lost = 4 (100% loss)
 
Old 02-11-2004, 10:43 AM   #4
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Let's Review...

Ok... You are trying to ping your comptuer "U" from a lab computer "Lab."

The address of computer "U" is within the class b Private addressing scheme (172.16.0.0 - 172.31.255.255). Since you say that when computer "U" boots in Windows it workes fine then your school's IT staff must be routing between the two networks.

Given the output of your ping, I assume that "Lab" is running some sort of Win OS.

Are you able to ping the "Lab" computer from "U"?


Lab Computer : 155.69.144.156
Your Computer: 172.20.24.5
 
Old 02-11-2004, 11:26 AM   #5
D J
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Original Poster
Rep: Reputation: 0
M: my hostel computer

.....i can not ping LAB successfully from M when booted with linux, It always hangs there:

#ping 155.69.144.156
PING 155.69.144.156 (155.69.144.156) 56(84) bytes of data

More stranged is that I tried to ping to other neighbour computers, like 172.20.33.51, the same result as above

Both of the two situations can be successfully pinged if M booted with windows

Another interested thing is that, the computer with IP 172.20.33.51 can successfully ping M when booted with linux.

so, any suggestion for it?

thanks a lot
dejie
 
Old 02-13-2004, 10:28 AM   #6
D J
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Original Poster
Rep: Reputation: 0
The situation seems nothing i can do or i have to get a public IP address???
 
Old 02-13-2004, 10:42 AM   #7
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
What is your routing table? and your arp table?
 
Old 02-13-2004, 11:48 PM   #8
D J
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Original Poster
Rep: Reputation: 0
[root@localhost /]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.20.24.0 * 255.255.252.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 172.20.27.254 0.0.0.0 UG 0 0 0 eth0


[root@localhost /]# arp
Address HWtype HWaddress Flags Mask Iface
172.20.27.254 ether 00:00:5E:00:01:01 C eth0

[root@localhost /]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:48:29:F1:7B
inet addr:172.20.24.5 Bcast:172.20.27.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25675 errors:0 dropped:0 overruns:0 frame:0
TX packets:2495 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4177740 (3.9 Mb) TX bytes:455559 (444.8 Kb)
Interrupt:5 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:347 errors:0 dropped:0 overruns:0 frame:0
TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22346 (21.8 Kb) TX bytes:22346 (21.8 Kb)



above quite hard for me to understand, hope you guys can understand it well
and lead me to the right direction to fix it. thanks a lot!

dejie
 
Old 02-14-2004, 07:53 AM   #9
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

strange situation.... when ping command hangs, does it say that all packets are lost when you stop it with "Ctrl+C" ??? Have you try a traceroute or something like that to determine where the problem is ?
 
Old 02-16-2004, 11:45 AM   #10
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Strange.... very strange...

I see some interesting things in your post....

First off, under your output from ifconfig for eth0

Your mask is 255.255.252.0 This tells me that your pool of available address on your netowork is large, but not as large as it started off. Normally an address starting with 172.20 would have a mask 255.255.0.0; however, your network admin changed yours to 255.255.252.0 What this did was steal bits from the "node" protion of a standard class B address scheme to allow him to "subnet." What does all this mean to you? Not a lot, but it tells me that you've got a network admin that knows what he's doing.

The other computer in the 172.20 address range was at IP 172.20.33.51. That address is outside your network, it's on another subnet entirely given that your address range stops at 172.20.27.255 (broadcast for your network).

I'd like to see your routing table on your computer when it boots in Win98. Type "route print" at a command line and post the output.

I agree with Oliv' that traceroute is the next step. I'd try from your comptuer under Windows to trace route to the lab machine. I'm thinking that your network has 2 ways out of it...

M : 172.20.24.5
|
|
|
------------------------->Other Campus IP Addresses ?.?.?.?
|
|
Internet
172.20.27.254

If this is the case, it should be apparent in your Win98 machine's routing table or via the tracert command. Type tracert 155.69.144.156 and note the first hop's address. If it's something other than 172.20.27.254 then we're on to something, if not it's back to the drawing board.

MrKnisely

Last edited by charon79m; 02-16-2004 at 11:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration