LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-03-2004, 12:31 AM   #1
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Rep: Reputation: 15
How to Share the internet connection from XP BOX to RH8?


Hi there,

I got 4 PC at my house and distributed to 4 rooms. Which is 3 XP box and 1 RH 8.0 BOX.

So i may describe as below for making thing easier:
Comp 1 (XP) --------> a Desktop in study room (Server)
Comp 2 (XP) --------> a Desktop in my dad's room
Comp 3 (XP) --------> a Laptop tht's belong to my wife
Comp 4 (RH8) ------> a Desktop in bedroom

I'm using broadband internet connection for the internet access and I'm sharing the Internet access by using 3 Ethernet Cards that is slotted on the "Comp 1 (XP)"

_____
Comp1 as the server------------->------------[INTERNET]
|
|____
|NIC2|------------------------> Comp2 [Client] XP BOX
|____
|NIC3|------------------------> Comp3 [Client] XP BOX
|____
|NIC4|------------------------> Comp4 [Client] RH BOX


Following the plan above, It shows that the Comp1 is directly connect to the Internt and it is also the server computer which have 3 NIC and each of the NIC is playing the role of sharing the internet connection to Comp 2C Comp3C and Comp4.

I'm using the Windows XP's "Home and small Business Network Connection" wizard for enable the internet connection sharing for the rest comp. Everything seems fine but My RH BOX just cannot get connection to the internet via the NIC4. Even I try to Use my RH BOX nor WINXP BOX to ping each other but the answer always dissapoint me.

I have try to set the IP in my RH BOX manually which is pointing the RH BOX's gateway that is pointing my Comp1's IP address but the result is still the same.

So, what I do the next is testing the NIC4 by using my wife's laptop(which is an XP BOX) and it just works!

Now i'm sure that it is not the problem of my NIC4 and not the RJ-45 cable problem. But just because of XP is not recognise with my RH8.0. So could somebody help me for this?

P/s: I'd tried my RH8 for browsing the internet when there is come with the single connection from my RH8 directly to the internet. and everything seems fine.

Could sombody help me out with this? Your Helpful will be very much appreciated!



 
Old 10-03-2004, 02:35 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well it sounds like it is not striclty a connectivity problem. If I recall correctly the XP gateway uses DHCP, and as long as you have DHCP client enabled in Red Hat it should work. May I ask what the IP addresses look like for the other XP boxes, as wel as the server, It would help me try to solve your problem better if it is not the DHCP problem.

Alex
 
Old 10-03-2004, 03:48 AM   #3
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
to Alex,

Thanks for your reply. Well, i'd try your suggestion with changing the static IP to DCHP in RH8.0 justnow. But when i changed my static IP to DCHP, the computer just show me that my eth0 cannot be activated. So, I think the DCHP setting might not suitable for me

As for the rest computer's IP
ok, i'm using WinXp's network setting wizzard to automatically setup the network for me. I didn't do anything for the computer beside clicking the following the wizzard. Well, for more detail, the wizzard has setup a "bridge" for me since i'm sharing the internet connection for more than 1 computer. For what i know, there has no IP for the rest computer, and WinXP will set an IP number (192.168.0.1) for the bridge and the rest connected to the bridge. And from the bridge info, it just contain the IP number and the subnet mask with 255.255.255.0 and that's all. GETWAY is nothing (null/blank). DNS also blank. So what can i do now?

SERVER configuration:
================
IP.......... : 192.168.22.2
Netmask: 255.255.255.0
gateway: 192.168.22.1

1st DNS: 211.147.192.1
2nd DNS: 211.147.192.2
----------------------------------------------------

Bridge configuration:
IP.......................: 192.168.0.1
Subnet Mask......: 255.255.255.0
Default Gateway: (empty)

1st DNS..............: empty
2nd DNS.............: empty
-----------------------------------------------------

The rest PC configuration:

for the other XP box --> No info available

For my RH8:
========
IP..........................: 192.168.0.200
Subnet Mask.........: 255.255.255.0
Default Gateway...: 192.168.0.1

1st DNS............... : 211.147.192.1
2nd DNS............... : 211.147.192.2

Thanks


adam alfredo
 
Old 10-03-2004, 09:59 AM   #4
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Oh man~~~ no one is going to help me here? please...help me....somebody...please......




Adam Alfredo
 
Old 10-04-2004, 06:30 PM   #5
Crippledzero
LQ Newbie
 
Registered: Sep 2004
Posts: 20

Rep: Reputation: 0
xbox

hey if you just want the Xbox to work just go wireless from the server with 802.11b and thats that.
 
Old 10-04-2004, 10:11 PM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Do you have the appropriate driver for your NIC card in Red Hat 9, can you connect to the internet with the RH box directly through the NIC? YOu say RH tells you the eth0 cannot be activated, it sounds as though the card is missing a driver or there is an incorrect setting.

Alex
 
Old 10-06-2004, 12:29 AM   #7
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Unhappy

To Alex,
Sorry for my late reply,

Quote:
Originally posted by scheidel21
Do you have the appropriate driver for your NIC card in Red Hat 9, can you connect to the internet with the RH box directly through the NIC? YOu say RH tells you the eth0 cannot be activated, it sounds as though the card is missing a driver or there is an incorrect setting.

Alex
Yes, i can. I'm sure that I can I'm using the correct NIC driver in my RH8 box and it is eligible for me to directly connect to the internet alone. (note: I'm just replying you by using my RH8 now).

I don't have the problem of surfing the internet with my direct Internet connection but only WinXp sharing the internet connection is not work. My previous post was stated that my eth0 cannot be activated is due to if only I try to share the Internet connection from my XP. Hm... do you think his it is some sort of firewall problem or the routing problem between XP box and RH8.0? Do I need to upgrade the Kernel of my RH? Or do i need to configure my kernel for enabling the Internet Sharing Connection?

Thankyou




Adam alfredo

Last edited by seow_ming; 10-06-2004 at 02:14 AM.
 
Old 12-18-2004, 03:24 AM   #8
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Hei everyone, I found out what's the problem about my Linux Box just can't share the internet connection from my Windows XP (Server) In fact the settings are all correct, the problem is because of the RJ-45 i used was a Direct Line Cable(which means both head are type configured as type-B) and that's is why my NIC just cant recognise it !!!

And and I just found out that, the IBM laptop (model: T41 which my wife is using) has the capability of indentify and accept the connection sharing no matter "Crossing Cabling (A with B for the both site) or Direct Cabling (B with B) I'm using. It's cool~~



Last edited by seow_ming; 12-18-2004 at 03:32 AM.
 
  


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
xp-box to share internet connection with linux-box CrazyHorse Linux - Networking 7 09-29-2006 12:05 AM
Share Windows modem connection with Linux box? Toronto Linux - Networking 3 09-18-2005 02:13 AM
Share Internet from Windows XP box?? general2000vn Linux - Networking 3 04-18-2005 07:58 PM
How to share internet in dual fedora box lumba Linux - Newbie 7 01-31-2005 07:02 AM
how to share internet connection digihall7 Linux - Networking 2 09-23-2003 04:42 PM

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

All times are GMT -5. The time now is 05: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