- 论坛徽章:
- 0
|
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的默认情况下是开启的 |
|