将 2 个 IPv4 块分配给一个接口

将 2 个 IPv4 块分配给一个接口

我的提供商已为我分配了这两个区块

Block: x.x.x.184/29
Usable range: x.x.x.186 - x.x.x.190
Gateway: x.x.x.185
Subnet: 255.255.255.248

Block: x.x.x.192/29
Usable range: x.x.x.194 - x.x.x.198
Gateway: x.x.x.193
Subnet: 255.255.255.248

我想将这两个块分配给一台机器。

我目前有这个配置适用于第一个块:

iface eth0 inet static
        address x.x.x.186
        netmask 255.255.255.248
        network x.x.x.184
        broadcast x.x.x.191
        gateway x.x.x.185
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 8.8.8.8 8.8.4.4
        dns-search blahblah

auto eth0
iface eth0 inet static
  address x.x.x.187
  netmask 255.255.255.248
auto eth0
iface eth0 inet static
  address x.x.x.188
  netmask 255.255.255.248
auto eth0
iface eth0 inet static
  address x.x.x.189
  netmask 255.255.255.248
auto eth0
iface eth0 inet static
  address x.x.x.190
  netmask 255.255.255.248

我该如何将第二个块添加到这个接口?

相关内容