[LARTC] same address range, different interfaces

Ira Abramov lists-lartc@ira.abramov.org
Wed, 19 Nov 2003 17:44:15 +0200


Quoting Ira Abramov, from the post of Wed, 19 Nov:
> I have a router machine, kernel 2.4.20 with 4 physical interfaces (but
> many more virtual ones over differel VLANs). we need to NAT/route
> between hosts on different VLANs, but with the same address, for
> instance, 10.0.0.2 reachable via eth0.2 needs to talk to 10.0.0.2 which
> is on eth0.3.

I'll simplify it further.

What I need is a mechanism that translates the source BEFORE routing and
then the destination AFTER routing. is that possible with iproute2 or do I
need to resort to netfilter?

-- 
All rights reserved
Ira Abramov
http://ira.abramov.org/email/