我的第二段IP无法访问其网关

我的第二段IP无法访问其网关

我有一个 VLAN ,43.24.227.38/29其中192.168.33.238/29我在一个接口上配置了 IP,如下所示:

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eno1
iface eno1 inet static
        address 43.24.227.35
        netmask 255.255.255.248
        gateway 43.24.227.38

auto eno1:0
iface eno1:0 inet static
        address 43.24.227.36
        netmask 255.255.255.248
        # dns-* options are implemented by the resolvconf package, if installed
auto eno1:1
iface eno1:1 inet static
        address 192.168.33.235
        netmask 255.255.255.248

但是现在我无法192.168.33.238从我的服务器 ping 通,是否需要添加任何静态路由?

相关内容