CISCO路由器WAN口动态ISP配置

大憨熊 提交于 2019-12-01 16:16:23
 
 

 

 

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

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!