即时生效:
# ifconfig eth0 192.168.1.155 netmask 255.255.255.0
# route add default gw 192.168.1.1
网址:https://jingyan.baidu.com/article/455a99508be7cda167277865.html