add new chinese translations
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
# route
|
||||
# 路由
|
||||
|
||||
> 手动操作路由表。
|
||||
> 需要 root 权限。
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/route.8.html>.
|
||||
> 需要根权限。
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/route.8.html>。
|
||||
|
||||
- 通过网关向目标添加路由:
|
||||
- 通过网关添加到目的地的路由:
|
||||
|
||||
`sudo route add "{{路由 ip 地址}}" "{{网关地址}}"`
|
||||
`sudo route add "{{destination_ip_address}}" "{{gateway_address}}"`
|
||||
|
||||
- 通过网关向 子网 / 24 添加路由:
|
||||
- 通过网关添加到 /24 子网的路由:
|
||||
|
||||
`sudo route add "{{子网 ip}}/24" "{{网关地址}}"`
|
||||
`sudo route add "{{subnet_ip_address}}/24" "{{gateway_address}}"`
|
||||
|
||||
- 在测试模式下运行(不做任何操作,只打印):
|
||||
- 以测试模式运行(不执行任何操作,只打印):
|
||||
|
||||
`sudo route -t add "{{路由 ip 地址}}/24" "{{网关地址}}"`
|
||||
`sudo route -t add "{{destination_ip_address}}/24" "{{gateway_address}}"`
|
||||
|
||||
- 删除所有路由:
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
|
||||
- 删除特定路由:
|
||||
|
||||
`sudo route delete "{{路由 ip 地址}}/24"`
|
||||
`sudo route delete "{{destination_ip_address}}/24"`
|
||||
|
||||
- 查找并显示目标的路由(主机名或 IP 地址):
|
||||
- 查找并显示目的地的路由(主机名或IP地址):
|
||||
|
||||
`sudo route get "{{目标}}"`
|
||||
`sudo route get "{{destination}}"`
|
Reference in New Issue
Block a user