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