Operation Manual
281
NAT Commands
E-DOC-CTC-20040210-0030 v1.0
nat multinatadd
Add a MultiNAT configuration.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
nat multinatadd intf = <string>
inside_addr = <ip-range>
outside_addr = <ip-range>
[addroute = <{no|yes}>]
intf The IP interface name where MultiNAT has to be applied. REQUIRED
inside_addr The IP address of the host behind the address translation device that will
receive the incoming traffic. Typically, a private IP address.
REQUIRED
outside_addr The apparent host IP address this application will running on.
Use 0 to create a template.
REQUIRED
addroute Add multinat label routes automatically or not. The default is yes.OPTIONAL
=>ip rtlist
Destination Label Gateway Intf Mtrc Status
169.254.141.11/32 169.254.141.11 eth0 0 [UP]
255.255.255.255/32 10.0.0.138 eth0 0 [UP]
10.0.0.138/32 10.0.0.138 eth0 0 [UP]
127.0.0.1/32 127.0.0.1 loop 0 [UP]
10.0.0.0/24 10.0.0.138 eth0 0 [UP]
169.254.0.0/16 169.254.141.11 eth0 0 [UP]
224.0.0.0/4 10.0.0.138* eth0 0 [UP]
=>nat multinatadd intf=PPPoE_1 inside_addr=10.0.0.1 outside_addr=10.10.0.138
=>nat multinatlist
Indx Intf Inside-address Outside-address
64 PPPoE_1 10.0.0.1 10.10.0.138 Static MultiNAT
=>ip rtlist
Destination Label Gateway Intf Mtrc Status
0.0.0.0/0 _from_10.0.0.1/32 10.10.0.138 PPPoE_1 0 [UP]
169.254.141.11/32 169.254.141.11 eth0 0 [UP]
255.255.255.255/32 10.0.0.138 eth0 0 [UP]
10.0.0.138/32 10.0.0.138 eth0 0 [UP]
127.0.0.1/32 127.0.0.1 loop 0 [UP]
10.0.0.0/24 10.0.0.138 eth0 0 [UP]
169.254.0.0/16 169.254.141.11 eth0 0 [UP]
224.0.0.0/4 10.0.0.138* eth0 0 [UP]
=>
nat multinatdelete Delete a MultiNAT configuration.
nat multinatlist List MultiNAT configurations.