天下网吧 >> 网吧方案 >> 方案分析 >> 正文

DHCP示例


  Router#sh conf
  Using 1306 out of 8061 bytes
  !
  version 12.0
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  service udp-small-servers
  service tcp-small-servers
  !
  hostname Router
  !
  !
  ip subnet-zero
  ip dhcp excluded-address 172.16.240.1 172.16.240.10
  ip dhcp excluded-address 172.16.240.201 172.16.240.254
  !
  ip dhcp pool flink
  network 172.16.240.0 255.255.255.0
  default-router 172.16.240.254
  domain-name ns3.bta.net.cn
  dns-server 202.106.196.115 202.106.0.20
  !
  no ip domain-lookup
  !
  !
  process-max-time 200
  !
  interface Ethernet0
  ip address 172.16.241.254 255.255.255.0 secondary
  ip address 172.16.242.254 255.255.255.0 secondary
  ip address 172.16.243.254 255.255.255.0 secondary
  ip address 172.16.244.254 255.255.255.0 secondary
  ip address 172.16.240.254 255.255.255.0
  no ip directed-broadcast
  ip nat inside
  !
  interface Serial0
  ip address 192.168.108.22 255.255.255.252
  no ip directed-broadcast
  ip nat outside
  !
  ip nat pool gj 210.72.225.88 210.72.225.95 netmask 255.255.255.248
  ip nat inside source list 1 pool gj overload
  ip nat inside source static n
  no ip http server
  ip route 0.0.0.0 0.0.0.0 192.168.108.21
  !
  access-list 1 permit 172.16.240.0 0.0.0.255
  !
  line con 0
  transport input none
  stopbits 1
  line vty 0 4
  login
  

本文来源:天下网吧 作者:网吧方案

声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下