Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create a relay agent for DHCP

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How to create a relay agent for DHCP

Label: Zhang Zhaosen

Advantages of DHCP:

1. Reduce the workload of administrators

2. Avoid the possibility of IP conflicts and configuration errors

3. The utilization of IP address is improved.

The steps of the experiment:

(1) the default gateway on the DHCP server points to the relay agent

The IP address of

1. Install the role of the DHCP service on the server first, in the

Add DHCP function to the role on the server manager

The address of IP here is the address of the server

Enter domain name and preferred DNS

If you don't need it here, just default.

Configure the scope, and the IP address of the scope is based on the requirements.

To decide, select add

Choose to disable IPv6 mode here

Just wait for the installation to complete.

(1), then after creating a scope, select the new

Build scope

The IP address of this scope is the address of another network segment.

This is used to exclude which addresses are not assigned, but

Set up according to the demand

The choice here is to enable these configurations.

(you can also choose No, add it manually)

The gateway here points to the IP address of the relay agent

The parent domain is the domain name of the primary DC. The preferred DNS can be based on demand.

To decide

Select Yes, activate scope

(you can also choose No, manually activate the scope)

2. Install routing on another win server 2008

Remote access role, there are two network cards

The DNS address of the first network card is the IP address of the server

The second network card does not refer to DNS, just configure the IP address.

It points to another address.

Install network policies and access services

Check the routing and remote access service here

Just wait for the installation to complete.

3. Routing and remote access are selected here

Configure and enable this feature here

Select Custom configuration

Just check this function.

The installation is complete.

4. Select the new routing protocol in the general IPv4.

Select Relay Agent

Right-click the relay agent to select the new interface

Select local connection and local connection 2

This address is the IP address on DHCP

This means that it points to the IP address of the primary server.

5. Go to the client to verify whether the address can be assigned

Cmd enters the command line and enters the command

Ipconfig / release is used to release the lease

Ipconfig / renew is used to obtain the lease

Ipconfig / all is used to view all the information of the network card.

The IP address of the configured 192.168.1 network segment to obtain the

The IP address of the configured 172.16.1 network segment is also obtained.

At this point, the steps to configure the relay agent have been successful

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report