[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: guterslohn network address range



On Die, 28 Jun 2005, Geert Stappers wrote:

Hi,

> > Geert,
> > if you think of having two subnets with the same address and netmask
> > parted by one router you'll get problems. Either you'll have to take
> > an extra router with a different subnet address between the routers
> > or you'll have to take another address/netmask combination.
> > 
> > Example:
> > testnet 10.0.2.0/22 --- 10.0.0.1 router v.x.y.z --- v.x.y.t router
> > 10.0.2.0/22 --- production net
> > The additional router may be any computer of the production net with
> > an extra NIC configured to v.x.y.t and NAT.
> > The doubling of masquerading in the two routers can be accepted for
> > testing.
> > 
> > In this combination, neither the testing net nor the production net
> > is visible from the other side and they don't disturb another.
> 
> yes, indeed.
> So I should prepare _two_ routers.  :-(
> 
> I think there are other possiblities.
> Which IP-networks are available on the GUT ethernet backbone?

If to router runs Linux, its also possible to use the NETMAP module, which
can map a complete Subnet to an other IP address range, e.g.

10.0.2.0/22 <-> 192.168.2.0/22

to MAP established by the module is bidirectional.. 


man iptables
->

   NETMAP
       This target allows you to statically map a whole network of addresses
onto another network of addresses.  It can only be used from rules in the nat
table.

       --to address[/mask]
              Network address to map to.  The resulting address will be
constructed in the following way: All 'one' bits in the mask are filled in
from the new `address'.
              All bits that are zero in the mask are filled in from the
original address.


-- 
Dipl.-Inf. Univ. Florian Reitmeir                     http://net.multi24.com/

Josef-Schweinester-Str.1                              Tel: +43 526 266166 
6412 St. Georgen / Austria                            Fax: +43 526 266166 -10


Reply to: