免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4330 | 回复: 6
打印 上一主题 下一主题

来自Cisco Networking Academy CCNP Semester 1 v3.0 chapter1 2.73 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-15 18:20 |只看该作者 |倒序浏览
Configuring IOS DHCP server\n\n    The DHCP server process is enabled by default on versions of the Cisco IOS that support it. If for some reason the DHCP server process becomes disabled, it can be re-enabled by using the service dhcp global configuration command. The no service dhcp command disables the server. \nLike NAT, DHCP servers require that the administrator define a pool of addresses. In Figure  the ip dhcp pool command defines which addresses will be assigned to hosts.\n\nThe first command, ip dhcp pool room12, creates a pool named room12 and puts the router in a specialized DHCP configuration mode. In this mode, use the network statement to define the range of addresses to be leased. If specific addresses are to be excluded on this network, return to global configuration mode. \n\nThe ip dhcp excluded-address command configures the router to exclude 172.16.1.1 through 172.16.1.10 when assigning addresses to clients. The ip dhcp excluded-address command may be used to reserve addresses that are statically assigned to key hosts.\n\nA DHCP server is capable of configuring much more than an IP address. Other IP configuration values can be set from the DHCP configuration mode. \n\nIP clients will not get very far without a default gateway, which can be set by using the default-router command. The address of the DNS server, dns-server, and WINS server, netbios-name-server, can be configured here as well. The IOS DHCP server can configure clients with virtually any TCP/IP information.\n\nFigure  lists the key IOS DHCP server commands. These commands are entered in DHCP pool configuration mode, identified by the router(dhcp-config)# prompt.\n\nUse the EXEC mode commands to monitor DHCP server operatio

论坛徽章:
0
2 [报告]
发表于 2005-11-15 19:16 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2005-11-15 19:46 |只看该作者
IP clients will not get very far without a default gateway, which can be set by using the default-router command. The address of the DNS server, dns-server, and WINS server, netbios-name-server, can be configured here as well. The IOS DHCP server can configure clients with virtually any TCP/IP information\n如果不定义默认网关,客户机将不能到达远端网络,我们可以使用.default-router来定义默认网关,在DHCP配置模式下,我们可以配置DNS服务器,WINS服务器,NETBIOS名称服务器,IOS 的DHCP服务器可以配置客户机所需要的任何TCP/IP信息 \n\nA DHCP server is capable of configuring much more than an IP address. Other IP configuration values can be set from the DHCP configuration mode. \n\nDHCP可以更多的IP地址,其他IP配置的值可以在DHCP配置模式下配置 \n\nThe ip dhcp excluded-address command configures the router to exclude 172.16.1.1 through 172.16.1.10 when assigning addresses to clients. The ip dhcp excluded-address command may be used to reserve addresses that are statically assigned to key hosts.\n\n在例子中ip dhcp excluded-address命令可以配置172.16.1.1到172.16.1.10不被分配到客户机,\nThe ip dhcp excluded-address command 可以用作保留地址为主要的机器进行静态分配地址, \n\nThe first command, ip dhcp pool room12, creates a pool named room12 and puts the router in a specialized DHCP configuration mode. In this mode, use the network statement to define the range of addresses to be leased. If specific addresses are to be excluded on this network, return to global configuration mode. \n第一个命令IP DHCP POOL ROOM12,是指创建一个名为ROOM12的地址池,并且进入DHCP的配置模式,在这个模式下,可以定义网络可分配的地址范围,如果需要指定不被分配的IP地址,需要回到全局配置模式下 \n\nLike NAT, DHCP servers require that the administrator define a pool of addresses. In Figure  the ip dhcp pool command defines which addresses will be assigned to hosts\n和NAT转换一样,DHCP服务器需要管理员定义一个地址池,这个地址池定义了可以为主机分配的IP地址 \n\nThe no service dhcp command disables the server. \n使用NO SERVICE DHCP命令可以关闭DHCP服务 \n\n If for some reason the DHCP server process becomes disabled, it can be re-enabled by using the service dhcp global configuration command.\n如果在某些情况下,DHCP服务是关闭的,我们可以通过使用全局配置命令开启 \n\nThe DHCP server process is enabled by default on versions of the Cisco IOS that support it. \nDHCP服务在CISCO IOS的默认情况下是开启的

论坛徽章:
0
4 [报告]
发表于 2005-11-15 19:50 |只看该作者
完整的DHCP命令\nrouterenable\nrouter#configure terminal\nrouter(config)#ip dhcp pool12\nrouter(dhcp-config)#network 172.16.1.0 255.255.255.0\nrouter(dhcp-config)#dns-server 172.16.1.2\nrouter(dhcp-config)#default-router 172.16.1.1\nrouter(dhcp-config)#exit\nrouter(config)#ip dhcp excluded-address 172.16.1.1 172.16.1.10

论坛徽章:
0
5 [报告]
发表于 2005-11-30 02:24 |只看该作者
版住,你脑子有问题,你那个CISCODHCP简单配置上来让人理解.试问现实中有哪个缺心眼的用CISCO ROUTER 做DHCP SERVER?  \n\n\n   CCIE NO.11545

论坛徽章:
0
6 [报告]
发表于 2005-11-30 03:59 |只看该作者
呵呵,这个只是CCNP教程中的DHCP部分英文讲解的内容,只是让大家在认证过程中对CISCO路由器的DHCP功能有所理解,\n还有你说的第一个问题,我脑子应该没什么问题吧,哈哈哈,\n如果这个帖子引起您老人家的不快,尽管拍砖!

论坛徽章:
0
7 [报告]
发表于 2008-05-13 12:59 |只看该作者
Can DNS server set with 2 DNS Server
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP