LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-16-2006, 11:30 PM   #1
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Rep: Reputation: 15
CentOS machine + XP machine = XP invisible for Linux


Hi,
I have two machines connected into LAN directly via crossover cable. One of them is running CentOS 4.2, the other is Windows XP Home Edition. They are set up for simple file sharing. Their IP addresses are manually assigned:

-Windows XP IP: 169.254.0.0 and subnet 255.0.0.0 with default gateway and DNS server address fields left empty;

-CentOS IP: 169.254.0.1 and the same subnet as WinXP.

At CentOS, samba is installed but smb.conf has not been touched.
When I ping the local loopback at both machines, it works. Pinging their own IP addresses also works, but when I ping WinXP from CentOS (by the IP address), it shows no output unless I press Ctrl-C (and then follows statistics about packets sent, zero received and 100% packet loss).
What is to be done to make XP visible from CentOS?
 
Old 08-16-2006, 11:49 PM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
Can you ping the CentOS machine from WinXP? Is the firewall on in the WinXP machine?
 
Old 08-17-2006, 12:21 AM   #3
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by centauricw
Can you ping the CentOS machine from WinXP? Is the firewall on in the WinXP machine?
Yes, WinXP pings CentOS succesfully, returning network statistics that show number of packets sent, number of packets received, lost = 0 packets, etc...
Firewall is on on the WinXP machine...
 
Old 08-17-2006, 03:12 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Sorry but 169.254.0.0 is not a good idea for an IP Address...
1st of all change the IP's.
Let say Class C-Network so WinXP 192.168.1.1 and the centOS to 192.168.1.2
and the Netmask (Subnet) 255.255.255.0.
Then your ping will work if the no firewall is still blocking, and if its a real cross over cable. But if one of the systems has got a gigabit NIC you won't even need a crosscable cause crossing is one of the standard implementation of the gigabit standard. And if you want to share files you need Samba configured on your CentOS machine and in the XP Firewall the File and Printer Sharing enabled.
 
Old 08-17-2006, 03:51 AM   #5
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Changed IP addresses and subnet as recommended. Even with the firewall off, I get the same 100% packet loss... no ping from CentOS to WinXP...

Last edited by achtung_linux; 08-17-2006 at 03:53 AM.
 
Old 08-17-2006, 07:27 AM   #6
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
ok what happens if you ping from WinXP to CentOS?
and are you really sure that the Device is up in CentOS?
check with #system-config-network.
then check #system-config-security if the eth0 or whatever is listed as truthed interface?
 
Old 08-17-2006, 11:48 AM   #7
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
#system-config-network shows eth0 device as active, IP address as given previously and subnet as given.
#system-config-security I get response that command is not found...
 
Old 08-17-2006, 04:23 PM   #8
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Fantastic things happening:
After changing network card on WinXP machine for a new one, WinXP cannot ping CentOS anymore- destination host unreachable.
Both machines ping themselves but cannot ping each other... wires, right? But how the heck could WinXP ping CentOS before?!
 
Old 08-18-2006, 02:12 AM   #9
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Okay so you changed physical the NIC of the XP Computer. So there will be of course no static configuration anymore.
What are the manufactors of the NICs? And what is their vendor name?
How long is the cable your are using?
Did you ever thought about in spending some money in a cheap hub or switch and a simple patch cable. Total coast will be something around 15 bucks (less expensive to very expensive...)
Do you have any applications like VMWARE installed on any of your systems? ThirdParty Firewall Software like McAfee, Norton ?!
 
Old 08-18-2006, 03:12 AM   #10
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
After changing IP address of the XP box, ping started working again, but only Xp-to-CentOS. And since you mentioned McAfee firewall, that reminded me that I actually have an express edition of a third-party firewall (McAfee) that came bundled with AOL software. The first time the firewall was mentioned I aimed straight to Windows firewall...
Opening Properties of this express edition, and lookie here: ICMP's were blocked and there was a log about bunch of denials to the IP address of the CentOS machine...
Now both machines ping each other without problem... sorry if I caused any inconvinience... would cold six-pack of beer suffice as an apology, odcheck?
P.S: Network cards are Lynksis and D-Link and cable is 3 meters long...
 
Old 08-18-2006, 04:16 AM   #11
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
No sweat ;-)
I works and thats the deal :-)
Regarding the cable stuff it could have been a possibility that the collisions are to high happens often in newer systems with 10/100/1000 nics.

You're welcome
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SSH forward from a Windows machine to a Linux machine isn't working nickj6282 Linux - Networking 3 08-13-2006 03:47 PM
how to watch linux client machine desktop(activities) from windows machine deepak rawat Linux - Networking 7 07-03-2006 05:59 PM
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 02:25 AM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 11:20 AM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 11:45 AM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration