Articles in this section

How to connect two VPS with VPC IP on different CRs in same location?

Applicable to:

  • SolusVM 2

Question

How to connect two VPS with VPC IP on different CRs in same location?

Answer

Follow Virtual Private Cloud (VPC) - SolusVM Documentation.

SVM_INFO: IP for VPC network must be in different subnet than IP of the CR.

Deploying VPS and set VPC IPs

# ovs-vsctl show

- will see interface like "vxlan_sys_4789"(it should be the same on both CRs)

For communication

CR1:

# ip addr add <IP for VPC network CR1> dev vxlan_sys_4789

# ip route add <IP for VPC network CR2> via <IP CR2>

CR2:

# ip addr add <IP for VPC network CR2> dev vxlan_sys_4789

# ip route add <IP for VPC network CR1> via <IP CR1>

Enter the VPS an try to ping the other.

 

 

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.