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

Realize the interworking between virtual machine and virtual machine through DHCP

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

Share

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

Realize the interworking between virtual machine and virtual machine through DHCP

Open the start menu and click Service Manager, as shown in the figure:

Click add roles and functions, as shown in the figure:

Click next, as shown in the figure:

Click next, as shown in the figure:

Select the target server and click next, as shown in the figure:

Click the DHCP server, and click next, as shown in the figure:

Click add function, as shown in the figure:

Click next, as shown in the figure:

Click next, as shown in the figure:

Click install

After the installation is complete, open the start menu, Windows Management tools, and open DHCP, as shown in the figure:

Click, right-click IPv4, and create a new scope, as shown in the figure:

Next step:

Enter a name to identify the role domain name, and click next, as shown in the figure:

Set the start and end addresses of IP, and click next, as shown in the figure:

Set the IP address to be excluded, click add, and next, as shown in the figure:

To set the lease term, click next, as shown in the figure:

Next step

Add the IP address used by the client, and click add, as shown in the figure:

Next step

Next step

Next step:

Click finish.

Open the network connection and click change Network Adapter, as shown in the figure:

Right-click the properties, double-click the IPv4 protocol, set the IP address and subnet mask, and click OK, as shown in the figure:

At this point, open another virtual machine, open cmd, enter the command Ipconfig / renew, and obtain the new IP address successfully, as shown in the figure:

Set a specific IP address for the virtual machine:

Open DHCP, find the reservation under scope, right-click, and click New retention, as shown in the figure:

Open cmd, enter the command arp-a, query the MAC address, and right-click to copy:

Go back to the previous virtual machine, continue to create and retain, enter a name, and a specific IP address and MAC address, and click add, as shown in the figure:

Go back to the previous virtual machine, open cmd, and type ipconfig / release to release IP

Address, as shown in the figure:

Re-enter, Ipconfig / renew re-obtain the IP, check whether the IP address is a specific IP address set by yourself, the setting is successful! As shown in the figure:

Set up successfully!

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