Results 1 to 3 of 3
I have a desktop and a lap top both have fedora core installed.
My desktop eth1 is directly connected to internet via cable modem and eth0 is connected to a ...
- 11-20-2004 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 1
Sharing Internet Connection
I have a desktop and a lap top both have fedora core installed.
My desktop eth1 is directly connected to internet via cable modem and eth0 is connected to a hub.Unfortunately my cable modem doesnot support dhcp and I dont know how I can share myconnection between 2 pc.
- 11-25-2004 #2Just Joined!
- Join Date
- Oct 2004
- Posts
- 49
Re: Sharing Internet Connection
the one wich is connected to the internet needs two NIC's.
one to connect to the outside (internet) and to do nat and the other needed to have a crossover cable directly to the second 'puter.
use iptables to do the nat stuff for you.
- 11-26-2004 #3Linux Newbie
- Join Date
- Apr 2004
- Posts
- 158
The iptables stuff...
iptables -t nat -A POSTROUTING -j MASQUERADE
also edit the /etc/sysctl.conf and change the ip_forward = 0 to 1. then do "sysctl -p".
//jonas--
in Linux Computing we Trust


Reply With Quote
