Re: internet sharing question
From: Shefali Joshi (shefali_s_joshi_at_hotmail.com)
Date: 05/28/04
- Next message: anc: "Re: 1600x1200-100Hz on FC2 with Radeon 7000"
- Previous message: Andy: "Re: FC2 setup tools"
- In reply to: QNils_O=2E_Sel=E5sdal=22?=: "Re: internet sharing question"
- Next in thread: Tommy Reynolds: "Re: internet sharing question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 20:06:37 GMT
"Nils O. Selåsdal" <NOS@Utel.no> wrote in message
news:uXgtc.4276$RL3.83566@news2.e.nsc.no...
> Shefali Joshi wrote:
>
> > eth0 is connected to the cable modem(internet)
> > eth1 is connected to a hub and other computers connect into the hub for
> > internet connectivity.
> > I can ping my linux box just fine from my other computer, but can't ping
> > them from my linux box(unless I'm screwing up "ping" usage).
> Maybe you are.. what DID you run ?
> Another thought, stop iptables first. That is
> run service iptables stop
> Then run the 2 commands again, if eth0 is to the internet, it should be
> exactly:
> echo 1 > /proc/sys/net/ipv4/ip_forward
> /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>
> The iptables-save suggestion in a prior mail will ONLY save the iptables
> command not the echo command that turns on routing. To save that,
> put net.ipv4.ip_forward = 1 in /etc/sysctl.conf
>
> And what ip address does your eth1 have, and what does the other box
> have ? And tracert ?
>
>
> >
> > "Nils O. Selåsdal" <NOS@Utel.no> wrote in message
> > news:pan.2004.05.26.19.10.52.676828@Utel.no...
> >
> >>On Wed, 26 May 2004 15:41:18 +0000, Shefali Joshi wrote:
> >>
> >>
> >>>It didnt work :(
> >>
> >>Well, this is what I always do, so it works.
> >>So. How did you test ? Atleast describe your setup and
> >>local network, and provide a tracert output
> >>from your windows box to an internet IP address, e.g.
> >>tracert 66.102.11.99
> >>
> >
> >
> >
Thanks everyone for all your help. Unfortunately, I couldn't experiment with
all your suggestions any longer (inpatient boyfriend hehe). Instead, I just
found this program called "firestarter" and it makes my LAN work
beautifully.
Thanks a lot again.
- Next message: anc: "Re: 1600x1200-100Hz on FC2 with Radeon 7000"
- Previous message: Andy: "Re: FC2 setup tools"
- In reply to: QNils_O=2E_Sel=E5sdal=22?=: "Re: internet sharing question"
- Next in thread: Tommy Reynolds: "Re: internet sharing question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|