作家
登录

cisco 2600 dhcp配置分析

作者: 来源: 2012-06-12 23:39:26 阅读 我要评论

网络建设中,它的规划尤为重要。那么对于cisco 2600 dhcp的配置工作,我们在这里做了一个简单的设计。如果没有一个文档来规划下你想要做的DHCP。即使是随便的一张纸,siling在此也建议你最好先规划下 ,要不在配置到后面的时候是要出问题的。虽然在网上可以找到很多DHCP,比我的这要详细得多,但是我这是真正的实现了的。

规划:用221.10.170.5的公网IP做出口。192.168.1.0做内网,做一个动态的NAT来实现地址转换。在用一个DHCP来实现地址的自动分配!

cisco 2600 dhcp具体配置命令:

  1. NIC327#show run  
  2. Building configuration...  
  3.  
  4. Current configuration : 901 bytes  
  5. !  
  6. version 12.2  
  7. service timestamps debug uptime  
  8. service timestamps log uptime  
  9. no service password-encryption  
  10. !  
  11. hostname NIC327  
  12. !  
  13. !  
  14. ip subnet-zero  
  15. !  
  16. !  
  17. ip dhcp excluded-address 192.168.1.1 192.168.1.10  
  18. !  
  19. ip dhcp pool net327  
  20.      network 192.168.1.0 255.255.255.0  
  21.      dns-server 221.10.251.197   
  22. !  
  23. !  
  24. !  
  25. !  
  26. interface FastEthernet0/0  
  27. ip address 221.10.170.5 255.255.255.248  
  28. ip nat outside  
  29. speed 10  
  30. full-duplex  
  31. !  
  32. interface Serial0/0  
  33. no ip address  
  34. shutdown  
  35. no fair-queue  
  36. !  
  37. interface FastEthernet0/1  
  38. ip address 192.168.1.1 255.255.255.0  
  39. ip nat inside  
  40. speed 100  
  41. full-duplex  
  42. !  
  43. interface Serial0/1  
  44. no ip address  
  45. shutdown  
  46. !  
  47. ip nat pool net327 221.10.170.5 221.10.170.5 netmask 255.255.255.248  
  48. ip nat inside source list 1 pool net327 overload  
  49. no ip classless  
  50. ip route 0.0.0.0 0.0.0.0 221.10.170.1  
  51. ip http server  
  52. !  
  53. access-list 1 permit 192.168.1.0 0.0.0.255  
  54. !  
  55. line con 0  
  56. line aux 0  
  57. line vty 0 4  
  58. login  
  59. !  
  60. end 
  61.  
  62. NIC327# 

以上就是cisco 2600 dhcp的具体配置内容。我这个路由器是用来做实验的,所以如果你想攻击我的路由器,那是在做无用功的。siling在此先做声明。这个DHCP是很精简的了。


  推荐阅读

  细化分解2003 dhcp服务器配置

2003 dhcp服务器配置是管理员们需要掌握的技能。这个服务的应用,可以非常方便地减少我们的管理工作量。在企业网络中,网管员的主要工作之一就是如何有效的管理局域网内部的IP地址,在这里DHCP就显现出它重要的作用来>>>详细阅读


本文标题:cisco 2600 dhcp配置分析

地址:http://www.17bianji.com/xieyi/2934.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)