We help IT Professionals succeed at work.

Basic networking; issues pinging network

epifanio67
epifanio67 asked
on
Hello Experts,

I asked this question yesterday and I received great help. However, I am still having issues:

Two computers: one linux, the other WinXP,

Linux /etc/hosts
192.168.0.81   diana (linux hostname) (FW disabled; SELinux disabled)
192.168.0.69   maria

WinXP hosts
192.168.0.69   maria (winxp hostname)(FW ICMP: allow incoming echo request checked)
192.168.0.81   diana

I can ping maria (winxp) from diana (linux); but still can't ping diana from maria (winxp)....

very odd... everything checks... not sure what's going on..

I appreciate your help...

Regards,

Any thoughts?

thx so much...

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

C:\>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : maria
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : gateway.2wire.net
                                            gateway.2wire.net

Ethernet adapter VMware Network Adapter VMnet8:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet8
        Physical Address. . . . . . . . . : 00-30-46-C0-00-08
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.106.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet1
        Physical Address. . . . . . . . . : 00-30-56-D0-00-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.220.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . : gateway.2wire.net
        Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
        Physical Address. . . . . . . . . : 00-28-5U-E5-AD-CA
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.68
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.0.1
        Lease Obtained. . . . . . . . . . : Wednesday, June 09, 2010 8:12:35 AM
        Lease Expires . . . . . . . . . . : Thursday, June 10, 2010 8:12:35 AM

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : gateway.2wire.net
        Description . . . . . . . . . . . : Marvell Yukon 88E8055 PCI-E Gigabit
Ethernet Controller
        Physical Address. . . . . . . . . : 00-1E-BA-AC-4E-84
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.69
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.0.1
        Lease Obtained. . . . . . . . . . : Wednesday, June 09, 2010 8:10:44 AM
        Lease Expires . . . . . . . . . . : Thursday, June 10, 2010 8:10:44 AM

C:\>

Open in new window

Comment
Watch Question

do they both sit on the same subnet (subnet mask) and have the same default gateway? can you post an ifconfig from the linux box?
also, can you ping them by IP rather than name?

Please try and ping all of the ip addresses that you have listed in your ipconfig above from the linux machine, especially the local ethernet connection .69

Author

Commented:
thank you so much...

I can ping the winxp box from the linux box;
but not the linux box from winxp..

Below the results of ifconfig -a

thx so much for all your help...
 
[oracle@diana]$ /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0D:29:23:4A:50  
          inet addr:192.168.0.80  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe70::20c:29ff:fe63:4a50/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:491652 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19618 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:33421273 (31.8 MiB)  TX bytes:2239047 (2.1 MiB)
          Interrupt:75 Base address:0x2024 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:249499 errors:0 dropped:0 overruns:0 frame:0
          TX packets:249499 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:29087893 (27.7 MiB)  TX bytes:29087893 (27.7 MiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Open in new window

Are you sure it's the xp box replying - could it be another device with the same IP address have you checked by looking at the arp tables on each device and checking the mac address from the other box

The arp table will also show you whether this is a layer 2 or layer 3 this will help you look at the network or the device configuration

Author

Commented:
thank you experts...

yeah, the xp box replied... not other boxes avail though...

the arp table on the linux or xp? not sure if I ever see them...
where do I look?
what would the layer tell me?

thx so much...

regards,
Windows. Arp -a
Linux arp -a

Before a device sends the ping it will issue an arp request for devices on the same network to find the mac address to send the ping to
so the arp table on xp should contain the mac address and Ip address of the Linux box and vice-versa if arp isn't working then ping cannot work

Author

Commented:
Thank you experts....

So, if I understand you correctly, the MAC address of all the devices in the network should math?

The xp box has the lowercase letters, not sure why. Is this normal? if not, how can I can to caps in the xp box?

thx so much... this is new to me... good lesson...

thx u!!!!!

Regards,
C:\>Arp -a

Interface: 192.168.0.68 --- 0x4
  Internet Address      Physical Address      Type
  192.168.0.1           00-22-a4-e2-1a-49     dynamic

Interface: 192.168.0.69 --- 0x5
  Internet Address      Physical Address      Type
  192.168.0.1           00-22-a4-e2-1a-49     dynamic


LINUX
/sbin/arp -a
home (192.168.0.1) at 00:22:A4:E2:1A:49 [either] on eth0

Open in new window

you dont seem to have the gateway set on the linux box (192.168.0.1)

Author

Commented:
Thank you experts,

hmmm... not sure why you said that... can you explain?

Any other thoughts?

thx,
the case doesn't matter its a hex number representing a 48bit mac address

the linux box ought to have the XP mac address in its arp table

192.168.0.69   00-28-5U-E5-AD-CA

and the XP box ought to have the linux box

192.168.0.81   00:0D:29:23:4A:50

so do a ping one way and check the entries. If they look ok then the issue will be ip related. firewalls etc

I'm not sure about the comment regarding default gateway - that would only be used to route traffic off a network and these two devices are on the same network.





Author

Commented:
Thank you Expert!!!
Took me a bit to understand what you meant about arp tables... the arp table was the issue...

Thanks a million.... really!!!!!!!!
no words...