Network Address Translation
83
Figure 23 provides an example of static port mapping. TCP port 81 of the web server at private address 192.168.1.6 is mapped
to the same TCP port of the public address.
Figure 23 Mapping Ports
12.1.4Configuration for Figure 2
Blackbox>
configure terminal
Blackbox/configure>
interface bundle Trenton
Blackbox/configure/interface/bundle Trenton>
nat
Blackbox/configure/interface/bundle Trenton/nat>
enable dynamic
Blackbox/configure/interface/bundle Trenton/nat>
enable static
Blackbox/configure/interface/bundle Trenton/nat>
address 192.168.1.6 81 100.1.1.6 81
12.1.5 Reverse NAT
Reverse NAT could be used in a situation where one LAN is using private RFC 1918 IP addresses and a second LAN is using
“real” Internet routable IP addresses. Figure 24 illustrates how reverse NAT would be applied.
Internet
Workstation
192.168.1.1/24
Workstation
192.168.1.2/24
Workstation
192.168.1.3/24
Workstation
192.168.1.5/24
FTP, SMTP, HTTP Server
192.168.1.6/24
10/100 BaseT Ethernet
100.1.1.1/29
192.168.1.254/24
www server is running
on TCP port 81
Summary of Contents for LR1102A-T1/E1
Page 18: ...Black Box LR11xx Series Router Configurations Guide 20...
Page 44: ...Black Box LR11xx Series Router Configurations Guide 46...
Page 48: ...Black Box LR11xx Series Router Configurations Guide 50...
Page 54: ...Black Box LR11xx Series Router Configurations Guide 56...
Page 60: ...Black Box LR11xx Series Router Configurations Guide 62...
Page 92: ...Black Box LR11xx Series Router Configurations Guide 94...
Page 114: ...Black Box LR11xx Series Router Configurations Guide 116...
Page 122: ...Black Box LR11xx Series Router Configurations Guide 124...
Page 126: ...Black Box LR11xx Series Router Configurations Guide 128...
Page 142: ......