Technical data

ServerIron ADX NAT64 Configuration Guide 113
53-1002444-02
Configuring NAT
7
DRAFT: BROCADE CONFIDENTIAL
Enabling IP NAT globally
The following command enables IP NAT globally.
ServerIronADX(config)# ip nat inside
Syntax: [no] ip nat inside
Enabling IP NAT per-interface
When enabled per-interface, IP NAT must be enabled exclusively “inside” or “outside” on a physical
or virtual interface as shown in the following example.
ServerIronADX(config)# interface ethernet 1/5
ServerIronADX(config-if-e1000-1/5) ip nat inside
Syntax: [no] ip nat [inside | outside]
The inside parameter configures the interface as an IP NAT inside interface.
The outside parameter configures the interface as an IP NAT outside interface.
NAT configuration examples
The following sections provide both dynamic and static NAT configuration examples.
Dynamic NAT configuration example 1
This example describes the dynamic NAT configuration for a ServerIron ADX running switch code as
shown in Figure 18.
FIGURE 18 Dynamic NAT translating inside host addresses to a pool of global addresses
Remote Server
63.253.63.50
Gateway
VE: 10.10.1/24 (Primary)
209.157.1.1/24 (Secondary)
ServerIron ADX
10.10.1.2
NAT pool IP:
209.157.1.2–209.157.1.30
PC
10.10.1.100
PC
10.10.1.101
Server
10.10.1.102
Server
10.10.1.103
Internet
ip nat inside source list 10 pool out_pool
ip nat pool out_pool 209.157.1.2 209.157.1.30 p
!
interface ethernet 2
SI ADX
ip address 10.10.1.2 255.255.255.0
ip default-gateway 10.10.1.1
ip nat inside
port-name To-gateway-router
!
interface ethernet 1
port-name Inside-Network
!
access-list 10 permit 10.10.1.0 0.0.0.255
!