?
Solved

A computer gets its IP address but cannot ping local gateway and other computer devices within the same network

Posted on 2012-08-31
19
Medium Priority
?
2,751 Views
Last Modified: 2012-09-06
Symptoms:
1. Connect to network ( obtained IP address from DHCP)
2. Can ping localhost 127.0.0.1
3. Can ping its own IP address 10.0.0.103
4. Cannot ping gateway 10.0.0.1
 

Details

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Ryan>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x20002 ...00 0a cd 1a 7f 9f ...... Realtek RTL8169/8110 Family Gigabit Ethernet
 NIC - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0         10.0.0.1      10.0.0.103       20
         10.0.0.0    255.255.255.0       10.0.0.103      10.0.0.103       20
       10.0.0.103  255.255.255.255        127.0.0.1       127.0.0.1       20
   10.255.255.255  255.255.255.255       10.0.0.103      10.0.0.103       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
    169.254.0.0        255.255.0.0      10.0.0.103      10.0.0.103         20
        224.0.0.0        240.0.0.0       10.0.0.103      10.0.0.103       20
  255.255.255.255  255.255.255.255       10.0.0.103      10.0.0.103       1
Default Gateway:          10.0.0.1
===========================================================================
Persistent Routes:
  None

C:\Documents and Settings\Ryan>ping 10.0.0.103

Pinging 10.0.0.103 with 32 bytes of data:

Reply from 10.0.0.103: bytes=32 time<1ms TTL=128
Reply from 10.0.0.103: bytes=32 time<1ms TTL=128
Reply from 10.0.0.103: bytes=32 time<1ms TTL=128
Reply from 10.0.0.103: bytes=32 time<1ms TTL=128

Ping statistics for 10.0.0.103:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Ryan>ping 10.0.0.1

Pinging 10.0.0.1 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 10.0.0.1:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


thanks,
Ryan
0
Comment
Question by:ryanlui
  • 4
  • 2
  • 2
  • +7
17 Comments
 
LVL 9

Expert Comment

by:Mike
ID: 38355279
Try a static IP address and see if you can ping.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 38355293
Is this your home or work?  If work, do you know if your networking group allows you to ping the routers?
0
 
LVL 10

Expert Comment

by:qbakies
ID: 38355301
Pulling a DHCP address from a DHCP server on the same subnet doesn't require the gateway so that isn't strange.  I agree with Shadowless127 that the gateway for all you traffic seems to be .103 even though it states the default gateway at the bottom is .1
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 11

Expert Comment

by:TheGeezer2010
ID: 38355318
If other devices can ping the gateway then it is possible your NIC is faulty. In this case, if onboard NIC, disable and install a PCI NIC to see if same problem.

If other devices cannot ping gateway, most likely it is firewall settings on the gateway router.

Other possibility is this device has somehow been put into a different VLAN from the gateway (although I would have expected to see network device bUnreachable on the ping if this were the case).
0
 
LVL 9

Expert Comment

by:TunerML
ID: 38355367
ipconfig /all just post the active adapter information.
0
 
LVL 26

Expert Comment

by:Fred Marshall
ID: 38355370
The routing table looks OK to me except for this entry:
  10.255.255.255  255.255.255.255       10.0.0.103      10.0.0.103       20

The subnet is 10.0.0.0 / 255.255.255.0
So, the broadcast address is 10.0.0.255
Why would you need to reach 10.255.255.255 at all?
And, how do you reach 10.0.0.255 then?  I believe it would be common to see:
10.0.0.255     255.255.255.255     10.0.0.103

But then, this doesn't explain to me how you can't ping an address in the subnet.

Firewalls, firewalls, firewalls......
0
 

Author Comment

by:ryanlui
ID: 38355604
I tried things but they did not work
1. used static ip,  10.0.0.99
2. disable firewall on system
3. Add new PCI Gigabit netcard and disable the onboard one

This is a netgear wireless router.

Any more idea?
0
 
LVL 10

Expert Comment

by:qbakies
ID: 38355644
Can you ping the netgear router from another machine on the subnet?  
Can you get on the router to ping from it to .103?
What is the IP of the DHCP server?
0
 
LVL 12

Expert Comment

by:zalazar
ID: 38356152
Can you maybe try to do a ping to the DG and then check the arp cache via:
ping 10.0.0.1
arp -a

Open in new window

Please check if you have a dynamic arp entry (it should not be static) for 10.0.0.1 and post the output of the arp command here.
0
 

Author Comment

by:ryanlui
ID: 38356205
Referred to qbakies:
Can you ping the netgear router from another machine on the subnet?  
>> Yes, I can pick the netgear router from another machine.

Can you get on the router to ping from it to .103?
>> On the router, I cannot ping the .103 (//firewall is disable)

What is the IP of the DHCP server?
>> 10.0.0.1
0
 
LVL 39

Expert Comment

by:ChiefIT
ID: 38356686
cable died
0
 
LVL 5

Expert Comment

by:andrew1812
ID: 38356992
Hi

Run a protocol analyzer on your computer (Wireshark ). Check if ARP request packet is going to the intended destination (gateway) from the computer and your are receiving an ARP response ??

Check if the ping request packet is going out of the computer or is it the response from the gateway which is not being received using the analyzer ?
0
 
LVL 26

Expert Comment

by:Fred Marshall
ID: 38357689
What if you manually enter all the information?
I'm still wondering about the broadcast address in the routing table - as I mentioned earlier.
0
 
LVL 12

Expert Comment

by:zalazar
ID: 38357899
@fmarshall    About the broadcast address. This happens to be normal behavior. Since the 10 network is subnetted here with /24 the subnet broadcast address is indeed 10.0.0.255. However the routing table does not need an entry for this.
The entry you mentioned is the all-subnet directed broadcast address. As 10 is part of the Class A address range an entry with 10.255.255.255 will be created which points to the IP-address of the computer. This entry depends on the Class of the IP-address used (classful).
See also http://technet.microsoft.com/en-us/library/cc958823.aspx
section "Network Broadcast"
and http://www.microsoft.com/mspress/books/sampchap/5030a.aspx
section "All-Subnets-Directed Broadcast"
0
 

Accepted Solution

by:
ryanlui earned 0 total points
ID: 38368942
Hi all,

Thank you so much for all your help. After I replaced a new router, it worked smoothly. That is, the old Netgear router is at fault.
0
 

Author Comment

by:ryanlui
ID: 38371552
I've requested that this question be closed as follows:

Accepted answer: 0 points for ryanlui's comment #a38368942

for the following reason:

The problem is solved
0
 
LVL 11

Expert Comment

by:TheGeezer2010
ID: 38372335
Fair enough
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question