Dhcp configuration of the Cisco Router

Source: Internet
Author: User

Dhcp configuration commands for Cisco router R1 (server) -------------------- R2 (client) www.2cto.com dhcp configuration of Cisco router and their explanations are as follows: r1dhcp service configuration dhcp # configure terminal // enter global mode dhcp (config) # service dhcp // enable dhcp (config) # no ip dhcp conflictlogging // disable dhcp logging dhcp (config) # ip dhcp pool cisco // configure the dhcp server name as ciscodhcp (dhcp-config) # network 192.168.1.0 255.255.255.0 // configure the dhcp server's IP address range dhcp (dhcp-config) # default-router 192.168.1.1 // configure the default gateway as 192.168.1.1dhcp (dhcp-config) # dns-server 192.168.1.1 // configure the dns server as 192.168.1.1 dhcp (dhcp-config) # exit // exit dhcp configuration mode dhcp (config) # ipdhcpexcluded-address 192.168.1.200 192.168.1.254 // configure the IP address not allocated by dhcp 2. Obtain the IP address from the R2 Client # configureterminal // enter global mode dhcp (config) # interfacefastethernet0/0 // enter the fastethernet0/0 interface dhcp (config-if) # ipaddress dhcp // obtain the IP address from the dhcp server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.