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
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 ?
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.
|All times are GMT -5. The time now is 07:18 PM.|