From: Payal Rathod <payal-lartc@scriptkitchen.com>
To: lartc@vger.kernel.org
Subject: [LARTC] routing decisions
Date: Thu, 06 Jan 2005 16:55:32 +0000 [thread overview]
Message-ID: <20050106165532.GA12737@tranquility.scriptkitchen.com> (raw)
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/
next reply other threads:[~2005-01-06 16:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-06 16:55 Payal Rathod [this message]
2005-01-06 17:30 ` [LARTC] routing decisions Jonathan Day
2005-01-06 17:40 ` Payal Rathod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050106165532.GA12737@tranquility.scriptkitchen.com \
--to=payal-lartc@scriptkitchen.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox