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

Using Windows sever as DHCP Relay Agent

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Install dhcp service on the dhcp server. (installed in the server administration role)

2. Configure static IP,dns to refer to yourself, and the gateway is the IP address of the relay agent.

3. To install two network cards on the relay agent, you only need to enter the IP and subnet mask of the same network segment as DHCP. The preferred DNS of the network card connected to DHCP points to the IP address of DHCP.

4. Install network policies and access services on the relay agent

Experimental procedure

1. DHCP IP configuration

IP configuration on Relay Agent

2. DHCP installation

Installation role

Check the DHCP server

Then keep clicking the next step to install.

3. Configure scope

Right-click IPV4 and select New scope

Enter the name (Benet.com) for the scope

Enter the range of IP addresses you want to assign

The scope IP can be set without allocation (or it can be set after the scope has been configured)

You can set the lease, but when the lease reaches 50%, the lease will be renewed (up to 6 days in wizard mode and 8 days in manual mode)

Select the later configuration, you need to activate the scope manually, select the configuration now, and you can select the activation scope at the end (the scope needs to be activated)

! []

Then continue to create the next scope, and the network segment according to your own needs.

4. Install network policies and access services on the relay agent

Server Manager, roles, add roles, Network policies and access Services, routing and remote access Services

5. Configure routing and remote access

Right-click to configure and enable routing and remote access

Select Custom configuration

Select LAN rout

Right-click general to add a routing protocol

Select DHCP Relay Agent

Right-click the relay agent and select add Interface

Choose the network card and add both.

Right-click the DHCP relay agent, select Properties, and add the IP address of the DHCP server

6. Use client authentication

Ipconfig / release release lease

Ipconfig / renew acquisition

Ipconfig / all to view all the information of all network cards

Right-click to disable two network cards and restart

Right-click the network card, status, details verification

You can also use the above command to verify

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