Black Box LRU4240 manual Ip nat global, Ip nat local-addr, Ip nat static, Ip route

Models: LRU4240

1 218
Download 218 pages 43.37 Kb
Page 158
Image 158

Dual Trunk E1 Router

Command Mode: Config

Example

ip nat

Use the ip nat to enable or disable NAT for each physical interface. Command Syntax:

ip nat [enabled disabled]

Global parameter enabling or disabling NATfeature.

ip nat IFNAME [nat napt two-way-nat] [enabled disabled] To specify and enable the type of nat per interface port.

Command Mode: Config

Examples

Enable nat on NET1 port and disable NAT on Ethernet port and NET2.

Unit(config)#ip nat net1 enabled

Unit(config)#ip nat net2 disabled

Unit(config)#ip nat enet disabled

Unit(config)#ip nat enabled

ip nat global

Use the ip nat global to configure the public IP addresses (Global) used by NAT for the private ip addresses (local-addr). Command Syntax:

ip nat global A.B.C.D/M IFNAME

A.B.C.D/M: Global registered IP address with subnet mask

IFNAME the interface port [net1 net2 bundle0 enet0] on which the global IP address is used ip nat global clear: Clear the NAT global Map table

Command Mode: Config

Example

ip nat local-addr

Use the ip nat local-addrto configure the networks that require NAT translation. Refer to Menu-$C Local address table for more information.

Command Syntax:

ip nat local-addr A.B.C.D/M IFNAME

A.B.C.D/M: Local IP Network and subnet to translate

IFNAME the interface port [net1 net2 bundle0 enet0] to which the the local IP network is attached. ip nat local-addr clear: Clear the local address table

Command Mode: Config

Example

ip nat static

 

 

 

Use the ip nat static to configure static NAT one-to-one mapping of global IP address to local IP addresses.Static NAT

 

corresponds to menu-$JB NAT Static table.

 

 

Command Syntax:

 

 

 

ip nat static A.B.C.D A.B.C.D IFNAME

 

 

A.B.C.D

Local IP address to translate

 

 

A.B.C.D

Translated IP address

 

 

IFNAME

the [net1 net2 bundle0 enet0] interface port

 

 

ip nat static clear: Clear Static NAT table

 

 

Command Mode: Config

 

ip route

 

 

146

SALES: 0870 90 10 750

Dual Trunk E1 Router User’s Guide

Page 158
Image 158
Black Box LRU4240 manual Ip nat global, Ip nat local-addr, Ip nat static, Ip route