LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2006, 11:42 AM   #1
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Rep: Reputation: 15
Direct Ethernet Connection


Hi,

I'm trying to figure out how to connect a WinXP Pro box to a RHEL 3.0 box with a direct ethernet connection (crossover cable) Does anyone know how I need to configure the network settings on each box to make this work properly?

Thanks for any suggestions
 
Old 01-26-2006, 12:11 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
You can do one of a few things:

1) assign static IP addresses to each of the boxes (i.e. 192.168.1.20 & 192.168.1.21).
2) Leave WinXP using DHCP and install a dhcp server to the RHEL box.

Basically, all you need to do is make sure the two network cards have the same subnet (192.168.1.XXX). Then they will be connected together.

Now what are you trying to do once they're connected? Because that could be more involved (i.e. samba for filesharing, apache for webserver, proftp for an ftp server, etc)
 
Old 01-26-2006, 01:33 PM   #3
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Original Poster
Rep: Reputation: 15
Basically, I just need full functionality of the TCP/IP Protocol stack. So do I have to have the RHEL box act as a DHCP server, DNS server, or both? I've got the 2 working by using a switch in between them, static IPs on the same subnet and for name resolution, just using the hosts files on RHEL, and the c:\windows\system32\drivers\etc\hosts file on the WinXP machine. I'd like the same funcionality, but without the switch in the middle.....
 
Old 01-26-2006, 01:41 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
If you already have them set up with static ip's and they're talking, you should just be able to replace the switch with a crossover cable and not need DHCP or DNS.
 
Old 02-01-2006, 11:00 AM   #5
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Original Poster
Rep: Reputation: 15
It seems that when I replace the switch with a crossover cable, the machines can only ping eachother and do ftp, but other tcp/ip and udp traffic on various ports is not communicating....
 
Old 03-23-2006, 07:36 PM   #6
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Original Poster
Rep: Reputation: 15
For some reason now I can only ping the Linux box from Windows, but not the other way around. I'm using a crossover cable, static IPs and hosts/lmhosts files for IP to name resolution.

Any ideas on why I can't ping the Linux box? The NIC card on the Linux box also has the orange LED on which obviously means there is a network problem, but the Windows PC seems fine network wise....
 
  


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
PC to Laptop : direct connection pppaaarrrkkk Linux - Newbie 8 08-05-2005 01:54 AM
Do ethernet cards protect against direct current? bobwall Linux - Networking 1 01-16-2005 10:31 AM
Direct Connection Xp and Linux mecca Linux - Networking 4 06-27-2004 03:09 PM
Direct connect Linux to Win via ethernet Jmeindl Linux - Networking 6 01-23-2004 09:13 AM
direct connection through the firewall cam99 Linux - Security 1 08-03-2003 05:35 PM


All times are GMT -5. The time now is 05:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration