Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-16-2006, 10:30 PM
|
#1
|
|
Member
Registered: May 2006
Posts: 50
Rep:
|
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?
|
|
|
|
08-16-2006, 10:49 PM
|
#2
|
|
Member
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216
Rep:
|
Can you ping the CentOS machine from WinXP? Is the firewall on in the WinXP machine?
|
|
|
|
08-16-2006, 11:21 PM
|
#3
|
|
Member
Registered: May 2006
Posts: 50
Original Poster
Rep:
|
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...
|
|
|
|
08-17-2006, 02:12 AM
|
#4
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
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.
|
|
|
|
08-17-2006, 02:51 AM
|
#5
|
|
Member
Registered: May 2006
Posts: 50
Original Poster
Rep:
|
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 02:53 AM.
|
|
|
|
08-17-2006, 06:27 AM
|
#6
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
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?
|
|
|
|
08-17-2006, 10:48 AM
|
#7
|
|
Member
Registered: May 2006
Posts: 50
Original Poster
Rep:
|
#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...
|
|
|
|
08-17-2006, 03:23 PM
|
#8
|
|
Member
Registered: May 2006
Posts: 50
Original Poster
Rep:
|
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?! 
|
|
|
|
08-18-2006, 01:12 AM
|
#9
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
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 ?!
|
|
|
|
08-18-2006, 02:12 AM
|
#10
|
|
Member
Registered: May 2006
Posts: 50
Original Poster
Rep:
|
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...
|
|
|
|
08-18-2006, 03:16 AM
|
#11
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:50 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|