LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help me setup Local Area Network. I cannot ping Windows XP host from Ubuntu 9 (http://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-setup-local-area-network-i-cannot-ping-windows-xp-host-from-ubuntu-9-a-724969/)

avarashnon 05-10-2009 06:24 AM

Please help me setup Local Area Network. I cannot ping Windows XP host from Ubuntu 9
 
Hi, complete noob here. I need a helping hand with a Local Area Network that I am planning to put up.

Details:

Equipment:

1. CNet Network Switch
2. UTP CAT5 Ethernet Cables
3. RJ45
4. Ethernet Cards for each host

Operating Systems:

1. 2x Windows XP
2. 1x Ubuntu 9.04

Diagram:

http://s283.photobucket.com/albums/k...=homenwork.jpg


Objective:

1. ping each host to check connectivity
a. Ubuntu ping Windows
b. Windows ping Ubuntu
c. Windows ping Windows

2. Share Files
3. Play Network Games
4. Internet Access for the 3 hosts

Yet More Details:

1. I've set all of the hardware up
2. Windows hosts can ping other Windows Hosts - NOT UBUNTU

PROBLEM:

1. CONNECTIVITY

a. Ubuntu cannot ping other Windows hosts - Therefore NO CONNECTIVITY
Since I run dual boot.
b. I have not tried pinging Ubuntu from Windows XP yet
c. When I boot into Windows I CAN PING other Windows hosts

So my problem is 1.a. I have disabled the firewall of both Host 3 (Ubuntu) and Host 2 (Windows XP). I still cannot ping.



Diagnostics:

1. ifconfig

Code:

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:02:44:43:b1:78 
          inet6 addr: fe80::202:44ff:fe43:b178/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7163143 (7.1 MB)  TX bytes:1770934 (1.7 MB)
          Interrupt:11 Base address:0xe400

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:166 errors:0 dropped:0 overruns:0 frame:0
          TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11042 (11.0 KB)  TX bytes:11042 (11.0 KB)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:58.69.55.25  P-t-P:58.69.80.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:8829 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9633 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:6940820 (6.9 MB)  TX bytes:1530280 (1.5 MB)

2. netstat -rn

Code:

netstat -rn
Kernel IP routing table
Destination    Gateway        Genmask        Flags  MSS Window  irtt Iface
58.69.80.254    0.0.0.0        255.255.255.255 UH        0 0          0 ppp0
0.0.0.0        0.0.0.0        0.0.0.0        U        0 0          0 ppp0

3. ping IP

Code:

ping 169.254.204.222
PING 169.254.204.222 (169.254.204.222) 56(84) bytes of data.
^C
--- 169.254.204.222 ping statistics ---
66 packets transmitted, 0 received, 100% packet loss, time 65021ms


chrism01 05-10-2009 07:59 PM

From the output of ifconfig, it appears that the eth0 card is only running IPv6 (see line 2). The rest of your network is probably IPv4.
Unfortunately I don't know Ubuntu, so I can't help much further.
On my system I'd be looking at

/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0

but I'm not 100% sure that's where they are on Ubuntu.


All times are GMT -5. The time now is 08:38 AM.