Get the App
SLTechnology News&Howtos  ›  Servers  › 

Virtual Machine implements DHCP Relay

Shulou Source: shulou.com Published: 2022-06-03 03:41:18 10月01日 Update

Virtual machine experiment: two window server 2008

A client is implemented to get another network segment.

1. Build an environment

First: windows server 2008 address vm1:192.168.1.1

Second: windows server 2008 address vm1: 192.168.1.2 vm8: 1.1.1.1 (two network cards need to be added, mostly in the second configuration)

The third: VM8: automatic acquisition of ip

two。 Install the role dhcp on the first console, see the figure:

3. Add the ip addresses of two network segments to it.

4. Wait for the installation to complete.

After installation, set up in DHCP:

(note that the address of the second windows server 2008 should be filled in here, because the second is a router. )

To complete the result, you can change the second operation.

5. Add two network cards to the second virtual machine and set them to VM1 VM2

6. Enter ip address

7. Installation role

8. Configure DHCP trunking.

9. Then right-click in ipv4 to add a relay agent.

10. Add local connection 2 to the relay agent

11. Right-click the property to fill in the address of the dhcp.

twelve。 Disable the local connection before enabling it in window 7. You can then view the acquired 1.1.1.0 network segment.

Tags: Address two relay network segment two network card role agent configuration customer client attribute environment result route router three middle experiment input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Xiaomi Shulou Tech Info Huawei Linux