DHCP Relay configuration diagram

Source: Internet
Author: User
Tags get ip

Experiment topology diagram:

①R1 for DHCP server, configure 172.16.1.0/24 and 172.16.2.0/24 two address pools

②PC1 Get 172.16.1.0 network segment IP, gateway for 172.16.1.254

③PC2 Get 172.16.2.0 network segment IP, gateway for 172.16.2.254

1.R1, R2 Configure IP and open port.

Configure DHCP address pool on 2.R1

IP DHCP pool pool1 DHCP address pool naming

Network 172.16.1.0 255.255.255.0 configuration can be allocated to the network segment

Default-router 172.16.1.254 Configure the default gateway

IP DHCP Pool pool2

Network 172.16.2.0 255.255.255.0

Default-router 172.16.2.254

3. Configure DHCP Relay Agent on R2

Interface fastethernet1/0

IP helper-address 192.168.1.1 indicates that a DHCP request package is sent to the server through the f1/0 port

4. Configure static routes on the R1

IP route 172.16.2.0 255.255.255.0 192.168.1.2 across the network segment to the client to assign IP address, also need to route up to

5. Configure automatic access to IP on PC1, PC2

No IP routing the router as a PC

int f0/0

IP Add DHCP interface set to get IP address automatically

No shut

6. View Effects

Note: Trial multiple routers the "service DHCP" command is turned on by default

This article from the "Small White Big Go" blog, please be sure to keep this source http://kindit.blog.51cto.com/2286921/1132822

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.