From: Marvin Greenlee (marvingreenlee@yahoo.com)
Date: Wed Jul 28 2004 - 19:20:36 GMT-3
The example shows an inside network of 11.1.1.0/24
connected to two ISPs.
Two internal devices at 11.1.1.1 and 11.1.1.2 have
static NATs. The same internal address has two static
NATs. The route map lets you match the traffic and
set the next hop. Traffic to the 172 network has a
static NAT of a 172 address. Traffic to the 192
network has a static nat to a 192 address.
Marvin Greenlee
Network Learning, Inc.
www.ccbootcamp.com
--- gladston@br.ibm.com wrote:
> Any example of how this feature work?
>
> I could not understand the Cisco example:
>
> interface Ethernet3
> ip address 172.68.1.100 255.255.255.0
> ip nat outside
> media-type 10BaseT
> !
> interface Ethernet4
> ip address 192.68.1.100 255.255.255.0
> ip nat outside
> media-type 10BaseT
> !
> interface Ethernet5
> ip address 11.1.1.100 255.255.255.0
> ip nat inside
> media-type 10BaseT
> !
> router rip
> network 172.68.0.0
> network 192.68.1.0
> !
> ip nat inside source static 11.1.1.2 192.68.1.21
> route-map isp2
> ip nat inside source static 11.1.1.2 172.68.1.21
> route-map isp1
> ip nat inside source static 11.1.1.1 192.68.1.11
> route-map isp2
> ip nat inside source static 11.1.1.1 172.68.1.11
> route-map isp1
> access-list 101 permit ip 11.1.1.0 0.0.0.255
> 172.0.0.0 0.255.255.255.
> access-list 102 permit ip 11.1.1.0 0.0.0.255
> 192.0.0.0 0.255.255.255
> !
> route-map isp2 permit 10
> match ip address 102
> set ip next-hop 192.68.1.1
> !
> route-map isp1 permit 10
> match ip address 101
>
>
This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:12:05 GMT-3