-
Notifications
You must be signed in to change notification settings - Fork 12
Multihop Routing
Kyuho Jeong edited this page Jul 18, 2014
·
9 revisions
In SocialVPN mode, IPOP allows multihop routing. This allows any node can send IP packet to any other node even though there is no direct P2P connection. At this point, multihop only allows IPv6 packet, since only this addressing practically guarantees the uniqueness of address of every nodes.
To enable the multihop, you should specify "multihop" to be true in config file.
"multihop": True, # Default False
Below example lists varies of parameter of multihop mode with its default value. These parameters are configurable through config file.
"multihop_cl": 100, #Multihop connection count limit
"multihop_ihc": 3, #Multihop initial hop count
"multihop_hl": 10, #Multihop maximum hop count limit
"multihop_tl": 1, # Multihop time limit (second)
"multihop_sr": True # Multihop source route
- multihop_cl: It is the direct connection count limit per node. If the node happen reach this limit, next new direct connection use multihop path rather than creating direct p2p connection
- multihop_ihc: This value is the initial hop count of lookup_request message. The first lookup_request message floods the IPOP overlay network from direct neighbors to given value of range hopping count.
- multihop_hl: Hop count multiples by 2 unless lookup_reply message received. Flood hopping count in lookup_request message is limited by this parameter.
- multihop_tl: After flood the network with lookup_request message, it either waits given time then flood the network with next hop count or concede flooding in case of reaching the multihop_hl.
- multihop_sr: This is multihop source route mode. If set to false, routing information is distributed across the hopping nodes reduces the overhead of source route header. In source route mode, routing information is stored at the source providing more fault-tolerance against link failures.
- Building the code
- IPOP packages
- Running SocialVPN nodes
- Running GroupVPN nodes
- Deploying OSN and NAT traversal services
- Test and monitoring
- Extending the code
- General documentation