如何在 linux EC2 上设置路由

问题描述 投票:0回答:0

如何在 linux 中设置以下值?

我可以设置目的地和网关,但我无法在文档 RE 中找到任何为 genmask、标志、度量、参考、使用或 Iface 传递标志的内容。

谁能提供传递的值?我已经能够构建以下

sudo route add -net 0.0.0.0 gw 192.168.96.0 tun0

但是我需要完整的命令来添加以下内容;

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.96.0    0.0.0.0         UG    0      0        0 eth0

谢谢

linux networking amazon-ec2 routes ip
© www.soinside.com 2019 - 2024. All rights reserved.