廊桥遗梦504 发表于 2024-9-11 08:15:06

ubuntu 系统添加 ip

sudo vim /etc/network/interfaces
加入
auto eno1:1
iface eno1:1 inet static
    address 162.209.180.227
    netmask 255.255.255.248

auto eno1:2
iface eno1:2 inet static
    address 162.209.180.228
    netmask 255.255.255.248

auto eno1:3
iface eno1:3 inet static
    address 162.209.180.229
    netmask 255.255.255.248

auto eno1:4
iface eno1:4 inet static
    address 162.209.180.230
    netmask 255.255.255.248

auto eno1:5
iface eno1:5 inet static
    address 23.224.37.2
    netmask 255.255.255.0
页: [1]
查看完整版本: ubuntu 系统添加 ip