Router(dhcp-config)#dns-server 192.168.0.1 Router(dhcp-config)# 8、返回权限配置模式 Router(dhcp-config)#exit Router(config)# 9、使用服务 dhcp 接口类型编号命令 Router(config)#service dhcp vlan1 Router(config)# 10、退出配置模式 Router(config)#exit Router# 11、要查看有关当前租用地址的信息,可以...
Router(config-if)#ip address dhcp client-id fa0/0 开启DHCP客户端,从fa0/0接口动太获取IP (不建议将路由器配置成cisco DHCP Client,一般用于当路由器作为网络边界连接到ISP时) DHCP Server configuration Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#servic...
Router(dhcp-config)#dns-server 192.168.0.1 Router(dhcp-config)# 8、返回权限配置模式 Router(dhcp-config)#exit Router(config)# 9、使用服务 dhcp 接口类型编号命令 Router(config)#service dhcp vlan1 Router(config)# 10、退出配置模式 Router(config)#exit Router# 11、要查看有关当前租用地址的信息,可以...
Router1# 配置DHCP服务器的各种选项 问题的提出; 你希望在dhcp服务器中配置各种参数,已用来动态分配给dhcp客户端。 解决方案; 你可以通过下面的命令来配置各种dhcp参数。 Router1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip dhcp pool ORAserver Router1...
ghq?? dhcp-config#default-router192.168.1.254(为客户机配置默认的网关,即VLAN1的IP地址) ghq?? dhcp-config#ipdhcppoolvlan2(为VLAN2配置地址池,本池是 global池的子池,将从global继承域后缀、DNS服务器、wins服务器等可继承的参数) ghq?? dhcp-config#network192.168.2.0255.255.255.0 ...
ghq dhcp-config#default-router 192.168.1.254 (为客户机配置默认的网关,即VLAN1的IP地址 ) ghq dhcp-config #ip dhcp pool vlan2 (为VLAN2配置地址池,本池是global池的子池,将从 global继承域后缀、DNS服务器、wins服务器等可继承的参数) ghq dhcp-config#network 192.168.2.0 255.255.255.0 ...
dhcp-config)#network 192.168.1.0 255.255.255.0配置网关Router(dhcp-config)#default-router 192.168.1.1配置DNSRouter(dhcp-config)#dns-server 114.114.114.114这样服务就配好了!7 打开PC,选择“Desktop”→“IP Configuration”,选择DHCP 8 最后我们用ping测试一下,通了,大功告成!!!
ghqdhcp-config#network 192.168.2.0 255.255.255.0 ghqdhcp-config#default-router 192.168.2.254 设置不能用于动态分配的IP地址 在整个网络中,有些IP地址需要静态的指定给一些特定的设备,例如路由器的端口、DNS服务器、wins服务器以及VLAN的地址等。显然,这些静态IP地址是不能用于动态分配的,这就需要将它们排除掉。其...
One of the most exciting pieces of configuration within Cisco IOS, in my opinion, is IP DHCP Pools. With this feature you can configure a Cisco switch or router to act as a DHCP server. This feature is useful in several cases including some of the following; small business DHCP sever, ...
cisco-3560e-1(config)#ip dhcp pool vlan31 cisco-3560e-1(dhcp-config)#? DHCP pool configuration commands: bootfile Boot file name client-identifier Client identifier client-name Client name default-router Default routers dns-server DNS servers ...