Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-10-2006, 08:21 AM   #1
LQ Newbie
Registered: Apr 2006
Distribution: Fedora Core 4 and Mandriva
Posts: 10

Rep: Reputation: 0
Thumbs up Internet connection sharing


I'm using Fedora Core with KDE.

I am coonected tho the internet via pppo. I have two ethernet cards so the etho0 is coonected to the asdl. The other card etho1 is connecteed to another computer running FC4.

Cross cable is used.
The ip address for the adsl is dynamic or provided by the isp

My problem....
1. how to i make both the computers to communicate (Sharing folders)
2. How do i make the computeer connected to the internet a gatewway for the 2nd computer ?
Old 04-10-2006, 09:04 AM   #2
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
1. how to i make both the computers to communicate (Sharing folders)
You need to have a look at NFS (Network File System) or Samba to share folders between the two PC's.

2. How do i make the computeer connected to the internet a gatewway for the 2nd computer
At a guess you would need to enable IP forwarding in the kernel:
echo 1 > /proc/sys/net/ipv4/ip_forward (as root)

and then set the gateway on the second PC to the IP address of the first/routing PC.

You will also need to setup a new route on the second PC, to do this use the "route add..." command but I'll let you have a read up on that since I'm not sitting at a linux machine and can't remember what exactly is needed.

Off the top of my head that should do it, aswell as any firewall configuration alterations you might need to make depending on how your firewalls setup.



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 Connection Sharing SpeedKing Linux - Networking 10 06-27-2004 10:46 AM
help sharing internet connection kefen Linux - Networking 1 02-26-2004 12:45 PM
Internet connection sharing - How to? Byte3 Linux - Networking 2 10-19-2003 12:54 PM
Internet Connection Sharing MarcRJacobs Linux - Newbie 2 06-02-2003 07:27 PM
Internet Connection Sharing Keys Linux - Networking 5 03-09-2003 04:48 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration