使用ipconfig命令查看本机IP,记住IP地址

cd /etc/sysconfig/network-scripts
ls
vi /etc/sysconfig/network-scripts/ifcfg-eth0

172.29.240.1

172.23.128.8

service network restart

文档更新时间: 2021-08-21 08:00   作者:admin