network brain bender
amcnabb at mcnabbs.org
Fri Nov 7 13:22:21 MST 2008
On Fri, Nov 07, 2008 at 11:07:12AM -0700, Hans Fugal wrote:
> Wouldn't that ruin the separation between the networks?
> Stuart, this way lies madness me thinks. Do I get geek points for
> pointing that out?
Yep. Of course, madness kind of seemed like what Stuart was looking
> Why not just do the rational thing and use two similar but different
> subnets, like 192.168.0.0/24 and 192.168.1.0/24. Are you hardcoding IP
> addresses in whatever it is you're testing?
Building on your idea, you could have both networks think that they're
192.168.0.0, but have the server call one of them 192.168.0.0 and the
other 192.168.1.0. Then you could set iptables rules to mangle all
incoming traffic on eth1 to be 192.168.1.0 and mangle outcoming traffic
on eth1 to be 192.168.0.0.
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
More information about the PLUG