mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-25 14:40:40 +08:00
document: route-dir: up
This commit is contained in:
parent
c59712d8b0
commit
9c5954faec
1 changed files with 4 additions and 4 deletions
|
@ -5,9 +5,9 @@ According to the common usage of this VPN network, the IP allocation can be
|
|||
classified into the following rules, with its format normalized, as the
|
||||
file name of the routing distribution definition file:
|
||||
|
||||
1. Point-to-Point /30 Tunnel: `10.127.0.x/30` (where x is divisible by 4)
|
||||
2. Contiguous Subnet: `10.127.x.y/z` (where z must be greater than 16)
|
||||
3. Peer-to-Peer: `PTP,10.127.x.x~10.127.x.x` (IP on both sides is /32)
|
||||
1. /30 Tunnel: `10.127.0.x/30` (where x is divisible by 4)
|
||||
2. Normal Subnet: `10.127.x.y/z` (where z must be greater than 16)
|
||||
3. Point-to-Point: `PTP,10.127.x.x~10.127.x.x` (IP on both sides is /32)
|
||||
4. Loopback Address: `10.127.255.x/32`
|
||||
|
||||
Definition Format
|
||||
|
@ -16,7 +16,7 @@ Definition Format
|
|||
The content of the file can be divided into the following fields.
|
||||
To simplify processing, Shell Script variable definition syntax
|
||||
will be used as the syntax of the definition file. In addition, variables must
|
||||
be defined in the same order as the following:
|
||||
be present if it's not optional and defined in the same order as the following:
|
||||
|
||||
TYPE=
|
||||
PROTO= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers)
|
Loading…
Reference in a new issue