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

猜你喜欢

转载自www.cnblogs.com/jason223233/p/11692451.html