* [LARTC] routing decisions
@ 2005-01-06 16:55 Payal Rathod
2005-01-06 17:30 ` Jonathan Day
2005-01-06 17:40 ` Payal Rathod
0 siblings, 2 replies; 3+ messages in thread
From: Payal Rathod @ 2005-01-06 16:55 UTC (permalink / raw)
To: lartc
Hi,
I have Mandrake 10.0 gateway with internet via. ppp0. Also, another
machine 192.168.0.4 is always connected to net via. a dial-up
modem. Now I want to allow a machine (192.168.0.2) in my LAN to
access net through 192.168.0.4. So according to lartc howto I did,
# echo 200 John >> /etc/iproute2/rt_tables
# ip rule add from 192.168.0.2 table John
# ip route add default via 192.168.0.4 dev eth0 table John
# ip route flush cache
But still 192.168.0.2 cannot access internet. tracert shows that
the traffic is coming to my Linux gateway and then going nowhere.
I have not changed anything in 192.168.0.2
What steps am I missing?
Waiting eagerly for any help on this.
With warm regards,
-Payal
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] routing decisions
2005-01-06 16:55 [LARTC] routing decisions Payal Rathod
@ 2005-01-06 17:30 ` Jonathan Day
2005-01-06 17:40 ` Payal Rathod
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Day @ 2005-01-06 17:30 UTC (permalink / raw)
To: lartc
Is packet forwarding enabled on the box you're using
as a gateway?
--- Payal Rathod <payal-lartc@scriptkitchen.com>
wrote:
> Hi,
> I have Mandrake 10.0 gateway with internet via.
> ppp0. Also, another
> machine 192.168.0.4 is always connected to net via.
> a dial-up
> modem. Now I want to allow a machine (192.168.0.2)
> in my LAN to
> access net through 192.168.0.4. So according to
> lartc howto I did,
> # echo 200 John >> /etc/iproute2/rt_tables
> # ip rule add from 192.168.0.2 table John
> # ip route add default via 192.168.0.4 dev eth0
> table John
> # ip route flush cache
>
> But still 192.168.0.2 cannot access internet.
> tracert shows that
> the traffic is coming to my Linux gateway and then
> going nowhere.
> I have not changed anything in 192.168.0.2
>
> What steps am I missing?
>
> Waiting eagerly for any help on this.
> With warm regards,
> -Payal
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
> http://lartc.org/
>
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] routing decisions
2005-01-06 16:55 [LARTC] routing decisions Payal Rathod
2005-01-06 17:30 ` Jonathan Day
@ 2005-01-06 17:40 ` Payal Rathod
1 sibling, 0 replies; 3+ messages in thread
From: Payal Rathod @ 2005-01-06 17:40 UTC (permalink / raw)
To: lartc
On Thu, Jan 06, 2005 at 09:30:48AM -0800, Jonathan Day wrote:
> Is packet forwarding enabled on the box you're using
> as a gateway?
Ofcourse, because if I delete the default route using route command
and add 192.168.0.4 as default route I can reach the internet.
-Payal
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-06 17:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-06 16:55 [LARTC] routing decisions Payal Rathod
2005-01-06 17:30 ` Jonathan Day
2005-01-06 17:40 ` Payal Rathod
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.