LinuxQuestions.org
Visit Jeremy's Blog.
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 05-23-2003, 05:36 PM   #1
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Rep: Reputation: 30
Almost there! Internet on RedHat9 via XP


Shared Internet Service:

I'm trying to share my internet connection from WinXP to my linux Redhat9 laptop. I have configured my network cards and each machine can ping each other via name or ip. I'm not sure what else I need to do.

I have windows XP that connects to the net via dial, details:
workgroup: freedom
machine name: beastie
machine ip: 192.168.0.1
subnet mask: 255.255.255.0
default gateway: NONE set

I have a RedHat9 laptop that connects to this via a crossover cable:
workgroup: freedom
machine name: ganymede
machine ip: 192.168.0.2 (eth0)
subnet mask: 255.255.255.0
default gateway: NONE set

lo local loopback is fine (127.0.0.1)

I'm all ready to share it. What extra steps should I do to finish setting it up? I think I "enable sharing" from the windows side? ie, there is nothing else I need to change on the linux side unless I need to set the linux box's default gateway via redhat-config-network ? When I ping a web address I get: network is unreachable.


Thanks for reading this!

Ps. I have seen another posting like this but I got lost in the exchanges. I thought I might to post this separately to reduce the clutter.

Last edited by hamster; 05-23-2003 at 05:38 PM.
 
Old 05-23-2003, 06:27 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
set the linux box ethernet to dhcp and share the connection on XP. that should do it. you dont have to set the gateway in linux. it should be able to do it on its own.

you might want to think about putting the linux box in the front and share the connection from it.
 
Old 05-23-2003, 06:38 PM   #3
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
Ok manthram I'll give that a go. You really mean that dhcp can work between Xp and Linux. And XP can handle that. Double Wow!

Thanks again manthram. I nearly have most of my Redhat stuff fulling working now.
 
Old 05-23-2003, 07:16 PM   #4
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
dhcp... you said it!

Worked a charm! Thanks a mil!
 
Old 05-24-2003, 07:05 AM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
Quote:
You really mean that dhcp can work between Xp and Linux. And XP can handle that. Double Wow!
DHCP is a protocol and is operating system independant like TCP, UDP, ICMP, HTTP.....and so on and so forth.
 
Old 06-02-2003, 08:36 AM   #6
hornet
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
Under network connections on XP, right click on your internet connectio (dialup connection or what ever) and go to properties. Under advanced there is a checkbox that says something along the lines of: "Allow others to share the internet through this connection" Check that, then set your linux machine's gateway to the XP's ip..and thats it.
 
Old 06-02-2003, 12:26 PM   #7
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
cheers

Thanks hornet,

I have it working but you just reminded me of one XP habit I hate!
I have a linux laptop connected to the XP box with the internet connection... when I connect the lap to the network. XP then decides to dial up to connect to the net. I want to share the net when I go online but I DON'T want XP to dial up for automatically for me though. Grr! Anyone come across this one?
 
Old 06-02-2003, 04:28 PM   #8
hornet
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
hrm.. I never had that problem.
I do know there is a setting under the dialup properties about "redial when line dropped" is that the culprit?

I now have aDSL, with my linux as the gateway
 
  


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
Internet with redhat9.0 JoeUser11 Linux - Newbie 16 01-26-2005 10:45 PM
Internet Connection Sharing with Redhat9 Ogi Linux - Networking 5 07-16-2004 06:01 PM
redhat9-router-internet problem vierstein Linux - Networking 3 06-01-2004 05:35 AM
internet from redhat9 to xp jacks Linux - Networking 4 07-06-2003 08:33 PM
help with redhat9.0 internet sharing icecube76 Linux - Networking 1 06-29-2003 07:58 AM

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

All times are GMT -5. The time now is 12:59 PM.

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