LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-19-2005, 08:58 PM   #1
Nightmare
Member
 
Registered: Sep 2003
Location: UK
Distribution: Redhat 9
Posts: 35

Rep: Reputation: 15
Unhappy Internet Sharing


Alright, i really wanna try out linux again now i have a upgraded computer but the problem is sharing my internet connection :

I have a cable modem plugged into a Windows XP Computer which is connected to my computer using lan cards and a crossover cable and from my computer it is connected to my girlfreinds computer using lan cards and a crossover cable again, but she is running Windows XP and she cant browse the internet.

Windows XP > Linux > Windowx XP

Ive searched for a while but i cant see anything similar to what i need help with.

Any help would be much appreciated,

Nightmare
 
Old 02-19-2005, 09:09 PM   #2
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
Not the answer you're looking for and I'll apologize in advance, but a router would simplify your setup.
 
Old 02-19-2005, 09:10 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
is it really unfair to just ask why on earth you are trying to do this??? that's just horrible! you can get a simple linksys / dlink / belkin router for Ģ40 tops which will do it PROPERLY!
 
Old 02-19-2005, 09:10 PM   #4
Nightmare
Member
 
Registered: Sep 2003
Location: UK
Distribution: Redhat 9
Posts: 35

Original Poster
Rep: Reputation: 15
Indeed it would, but i have no money

And yeah i know there cheap but i seriously have no money.
 
Old 02-19-2005, 09:19 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
ok, well they're dirt cheap on ebay....

you've really not provided much real data about the status of the systems, but as far as what we're goign to care about, on the redhat box, you need to enable ip forwarding (NAT), which assuming you have the right setup can be done at the lowest level by running
Code:
echo "1" > /proc/sys/net/ipv4/ip_forward
what you might find easier is to have this automated by using a firewall generator like firestarter, whcih will enable everything for you.

obsviously both crossover nets need to be declared as different subnets, otherwise the redhat machine is going to get scared and break down. and the runt machine stuck on the end will be using the redhat box as it's default 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
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 03:22 PM
internet sharing LinuxRam Linux - Networking 8 09-09-2004 09:52 AM
internet sharing mustafa Linux - Networking 3 11-18-2003 03:04 PM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 02:30 PM
Internet sharing from OS X to RH 7.3 ZeratulsAvenger Linux - Networking 3 07-22-2003 09:03 PM

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

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