current position:Home>Linux address configuration

Linux address configuration

2022-01-26 22:57:55 #HashMap#

VMware in Linux Address configuration

1. Only before configuration IPV6 The address of , We need to configure it manually IPV4 The address of

 Insert picture description here

2. To configure IPV4 Address steps

(1) The order is as follows :
#:cd /etc/sysconfig/network-scripts/
network-scripts]:vim ifcfg-eth0 // Edit address
Be careful :
(1)IPADDER and GATEWAY The network segments must be the same
(2)GATEWAY It must be the same as that of the computer , Can open network information
 Insert picture description here
 Insert picture description here
(2) The verification command is as follows :
network-scripts]:service network restart // Restart NIC
network-scripts]:ping www.baidu.com // arbitrarily ping A website , If you can ping General rule of success , Otherwise failure
 Insert picture description here

VMware Virtual machine and Linux Address : link :https://pan.baidu.com/s/1i7UorD5x4tWzqrzDILU2sw
Extraction code :di4c
Network disk QR code :
 Insert picture description here

copyright notice
author[#HashMap#],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262257532203.html

Random recommended