dst NETMAP

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

 



I am trying to set up a NAT gateway between two businesses where one
initiates the connection outbound to the other, so therefore have dst
nat entries in the following form:

ip daddr 10.192.3.0/24 dnat ip to ip daddr map { 10.192.3.0/24 : 10.12.3.0/24 }

and masquerade is enabled on the external interface.

The netmap is translating the network portion correctly, but the host
portion is not being preserved and is simply being chosen as if from a
NAT pool.  So pinging 10.192.3.254 should be translated to 10.12.3.254
and instead it is translated to 10.12.3.64 (for example).  How do I
preserve the host portion during the NETMAP translation?

Thanks,
Rob



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux