Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Add network card to virtual machine

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

Add a virtual network card to the management interface of the vmvare virtual machine.

In the / etc/udev/rules.d folder, find the 70-persistent-net.rules file, which displays all the network cards on the machine. Notice that the place that turns the red circle is HWADDR.

3. Under / etc/sysconfig/network-scripts, copy eth0, name it eth2, modify HWADDR,IPADDR, etc., as follows

Figure:

4. Execute the command ifup eth2 to start the network card

Tags: Network cards files commands places that is folders machines management management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Microsoft MariaDB NVidia Shulou Technology