D-Link DI-1750 Reference Manual page 181

Hide thumbs Also See for DI-1750:
Table of Contents

Advertisement

ip access-list standard a1
permit 192.168.1.0 255.255.255.0
!
2. Overloading Inside Global Addresses Example
The following example creates a pool of addresses named net-208. The pool contains addresses from
171.69.233.208 to 171.69.233.233. Access list 1 allows packets having the SA from 192.168.1.0 to
192.168.1.255. If no translation exists, packets matching access list 1 are translated to an address from
the pool. The router allows multiple local addresses (192.168.1.0 to 192.168.1.255) to use the same
global address. The router retains port numbers to differentiate the connections.
ip nat pool net-208 171.69.233.208 171.69.233.233 255.255.255.240
ip nat inside source list a1 pool net-208 overload
!
interface serial1/0
ip address 171.69.232.182 255.255.255.240
ip nat outside
!
interface ethernet1/1
ip address 192.168.1.94 255.255.255.0
ip nat inside
!
ip access-list standard a1
permit 192.168.1.0 255.255.255.0
3. Translating Overlapping Address Example
In the following example, the addresses in the local network are being used legitimately by someone
else on the Internet. An extra translation is required to access that external network. Pool net-10 is a
pool of outside local IP addresses. The statement, ip nat outside source list 1 pool net-10, translates
the addresses of hosts from the outside overlapping network to addresses in that pool.
ip nat pool net-208 171.69.233.208 171.69.233.223 255.2555.255.240
ip nat pool net-10 10.0.1.0 10.0.1.255 255.255.255.0
ip nat inside source list a1 pool net-208
ip nat outside source list a1 pool net-10
!
interface serial1/0
ip address 171.69.232.192 255.255.255.240
ip nat outside
!
interface ethernet1/1
ip address 192.168.1.94 255.255.255.0
ip nat inside
!
ip access-list standard a1
permit 192.168.1.0 255.255.255.0
!
4. TCP Load Distribution Example
In the following example, the goal is to define a virtual address, connections to which are distributed
among a set of real hosts. The pool defines the addresses of the real hosts. The access list defines the
virtual address. If a translation does not already exist, TCP packets from serial interface 0 (the outside
interface) whose destination matches the access list are translated to an address from the pool.
ip nat pool real-hosts 192.168.15.2 192.168.15.15 255.255.255.240
ip nat inside destination list a2 pool real-hosts
!
Model Name
- 179 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Di-2621Di-2630Di-3660

Table of Contents