About Cisco router DHCP

Source: Internet
Author: User

In network management, we usually handle the problem about Cisco router DHCP. Our netizens also participated in some of the discussions. Here we will summarize them for your reference. There may be no specific mode to describe Cisco router DHCP problems, so the following questions and replies from netizens may not help you, but it will help you in the future. Consultation: Experiment topology: configure the dhcp server so that vlan10, vlan20, and vlan30 can obtain network segments of 2.0, 3.0, and 4.0 respectively. If someone has done such an experiment, you can take the document as follows, send to my mailbox dashuang1006@yahoo.cn.

Cisco router DHCP reply 1: The Cisco router DHCP configuration is very simple. First, VLAN 10 20 30 three VLANs are allocated on the switch, and then three subinterfaces are enabled on the router, and configure the IP addresses for the trunk configuration respectively. e0/0.1 192.168.2.1e0/0.2 192.168.3.1e0/0.3 192.168.4.1 and then configure three address pools: service dhcpip dhcp pool aanetwork 192.168.2.0 255.255.255.0ip dhcp pool bbnetwork 192.168.3.0 255.255.255.0ip dhcp pool ccnetwork 192.168.4.0 255.255.255.0.

Cisco router DHCP reply 2: This is easy to handle! First, I don't know whether the configuration in the middle is a vro or a vswitch. If it is a vswitch, it will be easy. If it is a vro, it will be big, because I still don't know how to divide VLAN on the router! A joke about configuring Cisco router DHCP on a vrodhcp involves the following steps: first, the port connecting your vswitch to the vrodhcp must be a layer-3 interface, as long as the ip routing is on the switch, OK 1 defines an address pool, 2. Enter the address pool and define the CIDR Block of the address pool. 3. Specify a gateway for all hosts in the CIDR block. 4. enable DHCP relay proxy for each VLAN on the switch. no IP address, vlan is also CIDR Block broadcast) the specific configuration is as follows.

Router I name it R1 now, switch I name it SW1 R1 (config) # ip dhcp pool aa (the first address pool is defined here, it doesn't matter) r1 (dhcp-config) # network 192.168.1.0 255.255.255.0 (defining the network segment in the address pool) R1 (dhcp-config) # default-router 192.168.1.254 (here I plan to use this IP address for VLAN10) r1 (dhcp-config) # exitSW1 (config) # int vlan 10SW1 (config-if) # ip helper-address 192.168.100.254 (here I will draft a physical interface on the router as this ip address.

Note that When configuring VLAN relay proxy, this is not a real Cisco router DHCP server, but a router, you only need to point to any physical interface on the vro !) SW1 (config-if) # exit. It's OK! You can do the two later! I won't talk about it here. Remember, the address pool name can only appear once! Let's define your memory! Finally, I would like to give some comments. It is better to give a higher score for such a professional question.
 

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.