我正在尝试使用我的 Linode 设置私有 IP。我正在运行 Debian。这是我的 Linode 的网络选项卡:
eth0: 69.164.214.146
( li129-146.members.linode.com )
Gateways: 69.164.214.1
Netmask: 255.255.255.0
Private eth0: 192.168.140.217
Netmask: 255.255.128.0
DNS Servers: 97.107.133.4
207.192.69.4
207.192.69.5
Run Code Online (Sandbox Code Playgroud)
这是我的/etc/network/interfaces
文件:
auto lo
iface lo inet loopback
auto eth0 eth0:0
iface eth0 inet static
address 69.164.214.146
netmask 255.255.255.0
gateway 69.164.214.1
iface eth0:0 inet static
address 192.168.140.217
netmask 255.255.128.0
Run Code Online (Sandbox Code Playgroud)
在我正在设置的 linode 上,我可以ping 192.168.140.217
正常工作。不过,另一个 linode 不会。
是的,另一个 Linode 位于同一个数据中心。
也许我需要做些iptables
什么?可能是我的配置不对?任何帮助表示赞赏。
归档时间: |
|
查看次数: |
4868 次 |
最近记录: |