Linux下网卡配置多个IP
ip addr add 192.168.12.4/24 dev eno16777728
但是每次重启会失效
但是每次重启会失效
如果希望每次重启会重新绑定IP,可以将:ip addr add 192.168.12.X/24 dev eth0 命令写入文件/etc/rc.local
chmod +x /etc/rc.d/rc.local
参考链接:
https://www.cnblogs.com/0to9/p/9591315.html
https://www.cnblogs.com/x_wukong/p/6800248.html
相关推荐
nuligannima 2020-06-01
zhongzhiwei 2020-03-26
kevinli 2020-01-08
ourtimes 2013-07-29
minggehenhao 2019-12-29
iphilo 2019-12-28
zhongcanw 2019-12-11
Jesus0 2019-12-02
xuxujing 2015-03-26
LUOPING0 2019-11-10
lovexiaoqiqi 2015-07-29
GeorgeTH 2019-10-21
SIstvan 2017-02-09
wangrui0 2017-02-19
leeagle 2017-07-13
lfjjia 2018-05-02