Files
easytier.github.io/en/guide/network/two-node.md
T
2024-05-07 13:53:05 +08:00

914 B

Two-node Networking

Assuming the network topology of the two nodes is as follows

flowchart LR
 
subgraph Node A IP 22.1.1.1
nodea[EasyTier\n10.144.144.1]
end
 
subgraph Node B
nodeb[EasyTier\n10.144.144.2]
end
 
nodea <-----> nodeb
 
  1. Execute on Node A:

    sudo easytier-core --ipv4 10.144.144.1
    

    Successful execution of the command will print the following.

    alt text

  2. Execute on Node B

    sudo easytier-core --ipv4 10.144.144.2 --peers udp://22.1.1.1:11010
    
  3. Test Connectivity

    The two nodes should connect successfully and be able to communicate within the virtual subnet

    ping 10.144.144.2
    

    Use easytier-cli to view node information in the subnet

    easytier-cli peer
    

    alt text

    easytier-cli route
    

    alt text