CISCO路由器WAN口动态ISP配置

 
 

 

 

Building configuration...

 

 

version 15.0

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname router

boot-start-marker

boot-end-marker

no aaa new-model

!

ip source-route

!

!

ip cef

ip dhcp excluded-address 192.168.20.1

 

!

!

ip cef

ip dhcp excluded-address 192.168.20.1

!

ip dhcp pool cisco

  network 192.168.20.0 255.255.255.0

  dns-server 202.96.209.6 202.96.209.133

  default-router 192.168.20.1

  lease 3

!

!

multilink bundle-name authenticated

!

license udi pid CISCO2811 sn FHK103570LY

! 

interface FastEthernet0/0

 ipaddress dhcp

 ipnat outside

 ipvirtual-reassembly

 duplex auto

 speed auto

!

interface FastEthernet0/1

 ipaddress 192.168.20.1 255.255.255.0

 ipnat inside

 ipvirtual-reassembly

 duplex auto

 speed auto

!

ip forward-protocol nd

!

!

no ip http server

ip nat inside source list 1 interfaceFastEthernet0/0 overload

ip route 0.0.0.0 0.0.0.0 192.168.1.1

!

access-list 1 permit 192.168.20.0 0.0.0.255

 

posted on 2019-10-17 15:42  alonso-zhou  阅读(1779)  评论(0编辑  收藏  举报