Hi,

I want to set up a test network which (partly) mirrors our production
side network. To match reality as close as possible we keep the IP
addresses in the test network the same as in the production network.  In
order not to run around with tapes between the two networks, I would like
to create the following setup:

       (~~~~~~~~~~)                                 (~~~~~~~~~~)
      (            )          +---------+          (            )
     +              +         |         |         +              +
    ( 130.144.120/22 ) ------ | FreeBSD | ------ ( 130.144.120/22 )
     +    (real)    +         |         |         +    (test)    +
      (            )          +---------+          (            ) 
       (~~~~~~~~~~)                                 (~~~~~~~~~~)

I envision on the FreeBSD box some kind of mapping between the real and
test network's IP addresses. Something along the following lines:

                            130.144.120.10 ->
                               10.0.0.10
    +----------------+        +---------+        +----------------+
    |                |        |         |        |                |
    | 130.144.120.10 | ------ | FreeBSD | ------ | 130.144.120.10 |
    |                |   |    |         |   |    |                |
    +----------------+   |    +---------+   |    +----------------+
                         |                  |
                         |                <--- SRC = 130.144.120.10
                         |                     DST = 10.0.0.10
                         |
                       <--- SRC = 10.0.0.10
                            DST = 130.144.120.10

                       ---> SRC = 130.144.120.10
                            DST = 10.0.0.10

                                             ---> SRC = 10.0.0.10
                                                  DST = 130.144.120.10

Assuming routes are configured properly, is this possible using natd?

Regards,
                                         Hans
--
Hans Zuidam             e-mail: [EMAIL PROTECTED]
Origin, BAS/AM-CE       tel. +31 40 2735569
Gebouw SK-520           fax. +31 40 2736936
Glaslaan 2
5616 LW Eindhoven


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to