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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM