Source NAT (one-to-many)
The scenario described in this section is less common. In this scenario, a single test-source device behind the NAT device appears externally to be multiple devices, as shown in the following figure. One application of this scenario might be to test an upstream load-balancing device.
To configure NAT in this way, perform the following steps in configuration mode.
Create SNAT rule 10.
Apply this rule to packets coming from the 10.0.0.4 address and egressing through the dp0p1p1 interface.
Choose an address in the range 18.104.22.168 through 22.214.171.124 as the source address in outgoing packets. Note that the translation address should be an address defined on the outbound interface if it is part of the connected subnet on that interface. This ensures that the vRouter replies to ARP requests from remote devices for one of the translation addresses.
Commit the change.
Show the configuration.