1.使用root用户登录原viewpoint地址
ssh root@192.168.253.133
2.查看使用网卡(示例中为eth0)
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U lo
link-local * 255.255.0.0 U eth0
192.168.253.0 * 255.255.255.0 U eth0
3.修改IP地址为最新IP
cd /etc/sysconfig/network/
vi ifcfg-eth0
修改IPADDR值为最新IP地址
4.重启服务
ifdown eth0;ifup eth0
ifup:用来打开指定的网络接口。
ifdown:用来关闭指定的网络接口。