Re: A weird routing question.
- From: Ken Sims <ng3122@kensims.#nospam#.net.invalid>
- Date: Thu, 27 Sep 2007 21:14:50 -0700
Hi -
On Thu, 27 Sep 2007 19:36:35 +0200, none <""testr\"@(none)"> wrote:
On a linux box 'A' which has interfaces eth0, eth1, eth2, eth3, I would
like to do a special treatment on packets incoming via eth0 and whose
source is <some-network>.
I would like these packets be unconditionaly redirected unmodified for
output via interface eth1.
That is:
- even if they were targeted (destination IP) at my box 'A', they will
be re-emitted through eth1.
- even if they would have been forwarded through eth2 or eth3, they
will be re-emitted through eth1 too.
If they would be forwarded anyway, advanced routing can be used to
force them out a specific interface.
For packets whose destination is 'A', I think you would need to do
something with netfilter to get the packets on to the forwarding
chain, but I don't know how without changing the destination IP
address.
--
Ken
http://www.kensims.net/
.
- Follow-Ups:
- Re: A weird routing question.
- From: none
- Re: A weird routing question.
- From: Pascal Hambourg
- Re: A weird routing question.
- From: Balwinder S Dheeman
- Re: A weird routing question.
- References:
- A weird routing question.
- From: none
- A weird routing question.
- Prev by Date: Re: A weird routing question.
- Next by Date: Problems with autofs and .hidden files
- Previous by thread: Re: A weird routing question.
- Next by thread: Re: A weird routing question.
- Index(es):
Relevant Pages
|