From: "Ross Simpson" <simpsora@usa.net>
To: lartc@vger.kernel.org
Subject: [LARTC] adv. routing features not working?
Date: Thu, 20 Dec 2001 21:50:34 +0000 [thread overview]
Message-ID: <marc-lartc-100888503304877@msgid-missing> (raw)
Hello,
I posted here a couple of weeks ago with problems trying to specify and use
multiple gateways.
Got lots of good advise, but I had a little OS trouble.
So I've finally upgraded to 2.4.9, and made sure that the correct options
are compiled in (adv. router, policy routing, etc.)
Here's a quick summary of my goal:
I have two DSL routers connected to my linux box. Packets are
port-forwarded from each router to an IP on the linux box (each has its own
IP to forward to). I would like incoming requests to be serviced, and then
returned on the gateway it came in on. 10.4.44.1 is currently the default
gw, and all packets coming in are leaving via it. 10.4.44.2 is the other
router.
10.4.44.11 and .12 are the two IPs (one virtual) for the linux box.
I added the rule:
ip rule add to 10.4.44.11/24 dev eth0 table speed
and the route:
ip route add default via 10.4.44.2 dev eth0 table speed
ip route flush cache
No errors, but if I look at packets (with ethereal), I see the destination
of all outgoing packets is 10.4.44.1.
Now the above rule and route worked fine on another system -- packets went
where they were supposed to.
So my question is, is there a way to test the basic functionality of the
advanced routing features? I tried forwarding all outgoing packets to
10.4.44.2, and that had no effect either.
I think that I'm either missing a step, or that something is configured
wrong.
Any help's appreciated.
thanks!
Ross
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
next reply other threads:[~2001-12-20 21:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-20 21:50 Ross Simpson [this message]
2001-12-20 21:56 ` [LARTC] adv. routing features not working? bert hubert
2001-12-20 22:18 ` Ross Simpson
2001-12-20 22:22 ` bert hubert
2001-12-20 23:24 ` Ross Simpson
2001-12-21 10:30 ` bert hubert
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=marc-lartc-100888503304877@msgid-missing \
--to=simpsora@usa.net \
--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 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.