Computing.Net > Forums > Networking > A wont ping B before B pings A first!!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

A wont ping B before B pings A first!!

Reply to Message Icon

Name: azertyui
Date: September 10, 2009 at 02:56:39 Pacific
OS: Windows XP to Linux CentOS
Product: Hp (hewlett-packard) Proliant dl380 g3 2u rack mountable server
Subcategory: Routers and Hubs
Comment:

This is just crazy! How is it possible that a machine A (windows xp) wont be able to join machine B (dns server, linux centos) unless machine B makes the first contact? there is no firewall between them, just 3 routers. Where could the problem be?
Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: September 10, 2009 at 08:02:10 Pacific
Reply:

You need to provide some more details as to exactly what's going on.

Contact how? Are you trying to ping and if so, are you trying to ping by IP or hostname?

Are you trying to connect to a share?

there is no firewall between them, just 3 routers.

Why are there 3 routers in between? You might want to also detail your network so I can try to understand how it's setup.


0

Response Number 2
Name: wanderer
Date: September 10, 2009 at 08:33:49 Pacific
Reply:

nic set to power off? Your b ping very well may be waking the interface up.


0

Response Number 3
Name: azertyui
Date: September 11, 2009 at 01:35:28 Pacific
Reply:

Thanks for all the replies! I will try to see if the nic set to
power off it's the issue

Here's the deal

Contact how? Are you trying to ping and if so, are you trying
to ping by IP or hostname?

I ping the IP's, no hostname. It's a simple ping between IP
addresses

I am not trying to connect to a share, it's a client pc windows
XP and a DNS Server, Linux CentOS. The windows PC tries
to ping the DNS server but it doesnt work. Once the DNS
server pings the windows PC, the windows PC can ping back.

The PC is connected to a cisco router 7750 through a radio
interface. Then there's a link to an Alcatel router, which is the
core router of the network, and then there is the server room
router, to which the DNS is connected. This is an Alcatel
router too.


0

Response Number 4
Name: ace_omega
Date: September 11, 2009 at 07:52:16 Pacific
Reply:

Does the "core router" have ACLs or a Firewall. If so does it use Stateful Packet Inspection. It sound like you have to establish a connection to allow communications through a Firewall but this is just a Guess.

Another thing it could be is separate subnets. Can you provide the first two octets of the address you are pinging and the address you are pinging from?


0

Response Number 5
Name: wanderer
Date: September 11, 2009 at 07:57:02 Pacific
Reply:

OP says there are three routers between so they have to be in different subnets. Does not appear acls or any routing has anything to do with the issue.

It is a matter of one pc not being able to ping until it is pinged.

Once done ping works fine. To me this points to station specific not network specific issue.


0

Related Posts

See More



Response Number 6
Name: jefro
Date: September 11, 2009 at 14:05:55 Pacific
Reply:

That doesn't make any sense. A Ping is a TWO way communication. It shouldn't matter who pings who first.

Is this a netbios or ip address ping? Try tracert or pingpath also.

Playing to the angels
Les Paul (1915-2009)


0

Response Number 7
Name: wanderer
Date: September 11, 2009 at 14:16:16 Pacific
Reply:

You don't ping netbios names. You ping host names. They are not the same. OP says ping ip address which takes out name resolution from the issue.

I have seen this before personally, where ping doesn't work until you ping from the workstation being pinged then it works.

Again this has nothing to do with what is in between. If it did ping would be consistant.


0

Response Number 8
Name: ace_omega
Date: September 11, 2009 at 14:18:58 Pacific
Reply:

As for ACLs not affecting pings this is dead wrong. If an ACL is not setup to allow ICMP on both the out bound and Inbound ports on your router then you will only be able to ping one way. Talk to you OP again an ask him if ICMP is allowed both way on the routers or hook a second computer (laptop is easiest) on the same ethernet cord and try the same test.

If it happens with a different computer then your problem is in the configuration of those routers.
If it does not then there is a local configuration problem.


Also, it sounds like a Routing Problem. Routing tables constantly change with each connection made. Try doing a TraceRT for both when it does ping and when it does not and see if they match. If they do not then it is a routing problem. At the very least you can see if the ICMP packet is getting dropped somewhere and know where it is dropped.


0

Response Number 9
Name: azertyui
Date: September 14, 2009 at 00:52:39 Pacific
Reply:

Well, the problem went away, and I did nothing about it. There
are no firewalls or ACLs between the endpoints of
communication, it's an Internal network. What i did do,
BEFORE the problem showed up, was that I "converted" one
of the routers to a switch, c'est-à-dire, I moved all layer 3
config to the next router in line (vlan interfaces, static routes)
and I qtagged everything. So I had 3 routers, then I had 2
routers and a switch, then the problem showed up, then I had
3 routers again, and 3 days later the problem was solved by
itself. Does the chnage in architecture may have had some
impact on this issue? and if yes, how come the problem
persisted for 3 days after the rollback was performed?


0

Response Number 10
Name: wanderer
Date: September 14, 2009 at 08:56:52 Pacific
Reply:

The question both ace and myself have is, was this effect only on one machine or all machines on that side of the router.

Your original post had only machine a and machine b and never have you mentioned multiple machines ajacent to machine b.

If only one machine then the effect is only on that machine. If it was all machines where b was then it would be router/network config.

Many or one? Or is there only one machine b at the end of those three routers?


0

Response Number 11
Name: azertyui
Date: September 15, 2009 at 01:42:01 Pacific
Reply:

There are several machines on both sides of the network.
Machine A is in a /24 network, machine B is in a /26 network.
There are at least 10 machines on A side and 10 on B side.
However, since the problem dissapeared when I pinged from B to
A, I didn't check for connectivity with the other machines.


0

Response Number 12
Name: ace_omega
Date: September 15, 2009 at 07:59:48 Pacific
Reply:

How you have it subnetted should not really make a difference as long as you have the masks setup right in your router configurations. I am guessing you do or nothing would work.

So you configured one of your routers to be a switch and that is when the problem began. Is there any way you can post the configuration? Just redact the last two octets of the IP addresses and if you have a config password, that too.


0

Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: A wont ping B before B pings A first!!

computer wont ping itself www.computing.net/answers/networking/computer-wont-ping-itself/22663.html

Can't Ping LAN Computers www.computing.net/answers/networking/cant-ping-lan-computers/23783.html

Can ping but not browse... www.computing.net/answers/networking/can-ping-but-not-browse/32065.html