1. cd /etc/sysconfig/network-scripts

CentOS 修改IP 和新网关教程!

2. ls

CentOS 修改IP 和新网关教程!

3. vi ifcfg-em1  (修改的配置)

CentOS 修改IP 和新网关教程!