Centos 7.0 id addr command ens33 no ip address display solutions (can not connect Xsell)

Centos connection Xsell first need to ensure that virtual machines are configured network mode is selected NAT mode, the computer network internet version of this machine 4 (TCP / IPV4) is automatically obtain ip address. Related Baidu search: how VMware virtual machine linux system bridging mode network.

Centos ip address is ip address in inet in ens33

In Centos console input: ip addr found no inet ens33 this property, then it can not connect to a virtual machine by IP address.

The above problems and more problems for the gateway card is generally not set NAT mode, or the gateway does not start. Centos default gateway is not activated.

Modify the network card configuration ens33 network card configuration can be modified configuration file vi command in the console: vi / etc / sysconfig / Network-scripts / the ifcfg-ens33    modified to yes, the value of ONBOOT field, then press ESC to quit: wq save modify operation.

 

 After successfully modified and saved, continue to restart the network service , type in console: sudo restart Service Network 

Finally, console input: can be used after ip addr ip address in inet connected Xsehll.

 

Guess you like

Origin www.cnblogs.com/linxinmeng/p/11798618.html