beautypg.com

Static nat configuration example – Brocade Virtual ADX Security Guide (Supporting ADX v03.1.00) User Manual

Page 77

background image

Brocade Virtual ADX Security Guide

65

53-1003250-01

Configuring NAT

4

Static NAT configuration example

The following examples describe how to configure a Static NAT configuration for Inside to Outside
and Outside to Inside translation for the example shown in

Figure 5

.

FIGURE 5

Example of a static NAT configuration using router code

Configured for inside to outside translation
In the following example, the Brocade Virtual ADX is configured to translate the local host IP
address 10.20.5.6 to the unique global address 192.168.15.15.

This example requires that Interfaces 1and 2 be configured as Inside and Outside interfaces
respectively as shown.

Virtual ADX(config)# interface ethernet 1

Virtual ADX(config-if-e10000-1)# ip address 10.20.50.1 255.255.0.0

Virtual ADX(config-if-e10000-1)# ip nat inside

Virtual ADX(config)# interface ethernet 2

Virtual ADX(config-if-e10000-2)# ip address 192.168.0.1 255.255.0.0

Virtual ADX(config-if-e10000-2)# ip nat outside

The following command configures the Brocade Virtual ADX to translate IP packets with a local IP
address of 10.20.5.6 to the global IP address 192.168.15.15.

Virtual ADX(config)#ip nat inside source static 10.20.5.6 192.168.15.15