[Cisco] IOS NAT Load-Balancing for Two ISP Connections

Posted jbite9057

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Cisco] IOS NAT Load-Balancing for Two ISP Connections相关的知识,希望对你有一定的参考价值。

interface FastEthernet0
 ip address dhcp
 ip nat outside
 ip virtual-reassembly
!
interface FastEthernet1
 no ip address
 pppoe enable
 no cdp enable
!
interface FastEthernet2
 no cdp enable
!


!
interface Vlan1
 description LAN Interface
 ip address 192.168.108.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 ip tcp adjust-mss 1452


!---Define LAN-facing interfaces with "ip nat inside".

!

!
Interface Dialer 0
 description PPPoX dialer
 ip address negotiated
 ip nat outside
 ip virtual-reassembly
 ip tcp adjust-mss


!---Define ISP-facing interfaces with "ip nat outside".

!
ip route 0.0.0.0 0.0.0.0 dialer 0 track 123
!
 
!
ip nat inside source route-map fixed-nat interface Dialer0 overload
ip nat inside source route-map dhcp-nat interface FastEthernet0 overload
!

!--- Configure NAT overload (PAT) in order to use route-maps.

 
!
access-list 110 permit ip 192.168.108.0 0.0.0.255 any
!

!--- Define ACLs for traffic that are NATed to !--- the ISP connections.


!
route-map fixed-nat permit 10
 match ip address 110
 match interface Dialer0
!
route-map dhcp-nat permit 10
 match ip address 110
 match interface FastEthernet0

參考

以上是关于[Cisco] IOS NAT Load-Balancing for Two ISP Connections的主要内容,如果未能解决你的问题,请参考以下文章

cisco 1900 拨号+nat+dhcp+qos+路由

Cisco ASA 应用NAT配置详解

浅谈Cisco ASA应用NAT

Cisco路由交换-NAT详解三(区域无关NAT)

关于cisco 4507引擎,急急急!!

Cisco路由交换--NAT详解一