cisco 2600 dhcp配置分析

网络 网络管理
这里我们着重讲解了一下cisco 2600 dhcp的配置实例。那么通过实际应用案例的分析,我们能够对这个内容有一个全面的了解。

网络建设中,它的规划尤为重要。那么对于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是很精简的了。

责任编辑:佟健 来源: IT168
相关推荐

2010-09-27 13:06:36

Cisco 3620

2010-08-06 11:38:26

思科路由器DHCP配置

2010-09-25 10:01:28

Cisco DHCP配

2010-08-26 09:55:25

Cisco路由器DHCP

2010-08-26 15:40:08

Cisco路由器DHC

2009-03-05 10:38:00

Cisco2600路由器

2010-09-27 12:48:03

DHCP dai启动

2010-09-01 10:19:43

配置DHCP

2010-09-27 13:19:09

cisco 3560

2010-09-25 14:12:37

Cisco 3550配

2010-08-31 10:25:31

2009-12-07 10:50:01

Cisco路由器配置

2010-08-03 08:39:49

路由器配置

2010-09-28 15:54:43

Cisco路由器DHC

2009-12-01 17:29:02

路由器配置DHCP

2009-11-30 14:26:01

cisco 2600路

2010-03-19 09:34:42

Cisco 2600模

2010-09-29 16:12:09

cisco交换机DHC

2010-09-02 10:50:55

CISCO路由器dhc

2010-09-26 15:42:28

交换机 DHCP Se
点赞
收藏

51CTO技术栈公众号