LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-18-2003, 06:11 PM   #1
ekstreme
LQ Newbie
 
Registered: Jul 2003
Distribution: RH 9
Posts: 3

Rep: Reputation: 0
Question RH9 & WinXP Network


Hello!

I have 2 computers that I want to connect to the Net using a network.

One is a laptop, running WinXP and I have installed in it 2 network cards, a built in one and a PCMCIA card that I have from previous laptops. This machine is already online and has a static IP from the university.

The other one is a desktop, running a fresh install of Red Hat 9.0.

I want to connect both to the internet using NAT on the WinXP machine. I have set up internet connection sharing on the laptop, and the network cards are both detected and running.

I have 2 questions really:

1. I understand from reading on the net that I don't need a hub to connect just 2 computers. Apparently a crossover UTP Cat 5 cable would do it. Is this correct? Any more details I should know about?

2. What kind of network settings do I need to use to configure the RH machine? Would it need an internal IP (one not from the Internet-only pool)? What about the subnet? And what would the gateway be? And what would the Windows machine need to be configured with?

Thank you very much in advance. Once this is up and running, I will be able to learn Linux computing and do things on that machine that Windows just cannot do as well

eKstreme
 
Old 07-18-2003, 07:40 PM   #2
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
Crossover cable will work fine.

Set the linux IP address to 192.168.0.2 Gateway is your "router" which would be your XP computer which we will set for 192.168.0.1. Since the XP machine has two nics one to the internet and one to your LAN.

Sebastian
 
Old 07-18-2003, 07:57 PM   #3
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
If you enabled "Share internet connection" at XP, it will act as a DHCP server also. So, you (if everything goes normally) just have to enable dhcpclient at your RH9 box.

netconfig -d eth0

All the settings will be assigned by XP to your Linux box (IP, Gateway, DNS, Subnet, etc.)
 
Old 07-18-2003, 08:18 PM   #4
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
Shows how much windows I use
 
Old 07-20-2003, 09:45 AM   #5
ekstreme
LQ Newbie
 
Registered: Jul 2003
Distribution: RH 9
Posts: 3

Original Poster
Rep: Reputation: 0
Yep. Worked like a charm! Thank you very much for all your help!
 
Old 07-20-2003, 11:10 AM   #6
rhnewbie06
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
did u have to use samba?
 
Old 07-20-2003, 11:22 AM   #7
ekstreme
LQ Newbie
 
Registered: Jul 2003
Distribution: RH 9
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by rhnewbie06
did u have to use samba?
Not for just getting internet access from the RH machine. Samba is for file sharing between the computers, which is the next step. I'll post back when I get it to work if you want...
 
Old 07-27-2003, 04:50 AM   #8
Ember_666
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
I just posted a kind of similar question, and then realised I should have done a search... I will try this out (need to get my friend to explain how first)....
 
  


Reply



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
Network booting & WinXP charafantah Linux - Laptop and Netbook 0 07-25-2005 03:56 AM
winXP & Linux network problems harob00 Linux - Networking 3 03-14-2004 11:58 AM
How to network WinXP & Mandrake9.1 ?? emleymore Linux - Networking 5 01-25-2004 06:09 AM
setup temporary network with rh9 and winxp Likosin Linux - Networking 1 12-20-2003 05:07 PM
ICS between WinXP & RH9? mitu Linux - Networking 3 10-18-2003 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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