Tuesday, January 15, 2019

Configuring Network in Windows Hyper-V Virtual Machine (RHEL)

When configuring a virtual machine using Windows Hyper-V, ensure that the network is properly set up first.

Prior to powering on your VM, go to Virtual Switch Manager and create a new External Virtual Switch. During the creation process, ensure that the correct network adapter is selected, and set the name to something clear and concise. (this will make the network easier to locate and differentiate later) Note: I've had some issues with using the WiFi adapter for the virtual network switch. I was only able to get this working via the Ethernet Adapter

When this is finished, open up CMD and run ipconfig. Locate the virtual network you just created, and note down the IP address, submask, and gateway. We will need these when configuring the RHEL VM.

When installing RHEL, go to network configuration settings. Select the ethernet adapter. In IPv4 settings, select Manual instead of DHCP or Automatic. For the IP address, submask, and gateway, use the values we got from the ipconfig command used previously. Select Save.

There should be a switch or option somewhere in the ethernet adapter options to connect or Turn ON. After clicking this, verify that it has successfully found the virtual network switch as indicated by a CONNECTED status. You should also see the IP address, gateway, etc.

Continue with the rest of the installation.

No comments:

Post a Comment

Accessing Repositories for Fedora behind Proxy

By default, even when specifying the proxy address/port user/pwd, Fedora will likely complain about SSL certificates being invalid. In the ...