window10 own virtual machine does not enter ip addr show ip, show letters plus numbers

\ (\ Color {Black} {text / soul Hao Xuan} \)

1, the input interface addr ip
Enter the ip addr show information
2, view the current file by ls

My virtual machine network configuration file ifcfg-eth0 (different host file name is not the same)

3, by vi ifcfg-eth0 file into the
document editing keyboard input "i"
Change parameters

Simply put ONBOOT = no change = yes ONBOOT
4, set the virtual machine static ip

If not set, refer to the Linux virtual machine to set a fixed IP address

Set up a virtual machine static ip

5, according to exit press Esc, then enter: wq, and press Enter
two kinds of ways to load files:
1, restart the virtual machine (not recommended).
2, the command:. 1), the sudo the restart-Service Network
2), the restart Network systemctl
input again ip addr
Modify displayed correctly completed

\(\color{Black}{end/}\)

Author: Soul Xuan Hao
retain all rights and interests, please indicate the source, not for commercial use.
Welcome to the story, the idea of friends and I share, can be sent to e-mail: [email protected]

Guess you like

Origin www.cnblogs.com/lwqforit/p/11965257.html