linux下单个网卡设置多IP
cd /etc/sysconfig/network-scripts
cp ifcfg-eth0 ifcfg-eth0:0
vi ifcfg-eth0:0
把DEVICE改成 eth0:0
ifcfg-eth0:0 不要设网关
linux下单个网卡设置多IP
cd /etc/sysconfig/network-scripts
cp ifcfg-eth0 ifcfg-eth0:0
vi ifcfg-eth0:0
把DEVICE改成 eth0:0
ifcfg-eth0:0 不要设网关
nmcli 是一个用于控制NetworkManager的命令行工具,可以用于在 Linux 系统中管理网络连接。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M