Re: internet sharing question
From: QNils_O=2E_Sel=E5sdal=22?= (NOS_at_Utel.no)
Date: 05/27/04
- Next message: Bob Holtzman: "Re: So I guess FC2 is not ready for prime time yet?"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: xinetd...monitor?"
- In reply to: Shefali Joshi: "Re: internet sharing question"
- Next in thread: Shefali Joshi: "Re: internet sharing question"
- Reply: Shefali Joshi: "Re: internet sharing question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 May 2004 09:40:10 +0200
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
>>
>
>
>
- Next message: Bob Holtzman: "Re: So I guess FC2 is not ready for prime time yet?"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: xinetd...monitor?"
- In reply to: Shefali Joshi: "Re: internet sharing question"
- Next in thread: Shefali Joshi: "Re: internet sharing question"
- Reply: Shefali Joshi: "Re: internet sharing question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|