CentOS-Fedora-删除ip-添加ip

ip addr del 192.168.1.110/24 dev eth0
ip addr add 192.168.1.120/24 dev eth0

ip addr