Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Communication between centos6.5 network configuration (bridging mode) and host in VMware virtual machine

Shulou Source: shulou.com Published: 2022-06-01 06:11:57 10月04日 Update

1. Modify the network adapter

two。 Select the network card used for bridging

3. Set up the network

3.1 enter setup in the system terminal for graphical network configuration (this command is valid only for redhat series)

The next key about selection, enter key to determine

Move the cursor over the * of Use DHCP and press the spacebar to cancel the dynamic acquisition

Enter IP, subnet mask, default gateway

Save changes

Save and launch

Quit

4. Open the eth0 network card

Enter cd / etc/sysconfig/network-scripts in the terminal

Edit the ifcfg-eth0 file vi ifcfg-eth0

Set the value of ONBOOT to yes

5. Restart the network service

Ping host test network

6. Ip of centos in host ping virtual machine

Tags: Network input host host terminal network card selection configuration up and down up and down action cursor dynamic only commands graphics used files spaces space bar Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Huawei Xiaomi NVidia