Input: vi /etc/sysconfig/network-scripts/ifcfg-eht0
DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.0.1
GATEWAY=192.168.0.254
ONBOOT=yes
TYPE=Etherneta
1. Press “ESC” to return to the VI command.
2. Input: ":X" to save and exit. Enter
ifconfig
ping URL
ok
centos configure ip
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326484171&siteId=291194637
Ranking