pre requisite for Configuring SD-WAN in RAY
- HUB Device (Preferably with a static public IP)
- Spoke Device
For both locations, the uplink and LAN segment should be configured. For the HUB device, we always recommend using a static public IP, though it is optional. For the Spoke device, any uplink will be sufficient; this can also be achieved using a SIM card.
In this example, we have demonstrated a single HUB device and a single Spoke device.
To create an SD-WAN, navigate to the Cluster Parent Level. When SD-WAN is created at the parent level, you will have visibility of all child cluster devices, making it easier to create tunnels.
Steps to Create SD-WAN:
- Go to your Parent Cluster > SD-WAN
- Click on +Create SD-WAN Network
A pop-up will open. Enter the required details:
- Name: Tunnel name
- Description: Tunnel description
- CIDR: Tunnel IP, which each device will receive automatically from the given network. Both the network IP and subnet can be specified.
- SLA: Default SD-WAN SLA
- Topology: HUB_AND_SPOKE
- Does the Hub have a public IP? Select this option if the HUB device has a static public IP.
- Enable L2 Tunnel? Select this option if you want to create an L2 tunnel over L3.
- Enable WAN Optimization: Select this option if you want to use WAN optimization algorithms.
- MTU: Select the MTU size for the tunnel.
- Cipher: Select ChaChaPoly.
Now empty tunnel will create without any member in it.
Click on Action button > View Members
From here you can add members like HUB and Spoke
Click on +Add Appliance
Now, First we will add HUB Device.
For First Step : Add Appliance
- Name : Enter HUB Device name
- Appliance : Select HUB Device mac address
- Appliance Public IP : Enter Static public ip which configured on HUB device
- Type : Select HUB as we are configuring HUB Device
- Advanced : Select Packet Cloning
now click on next
Step 2: WAN Interface
Select all WAN links you want to include in the packet cloning algorithm. This ensures that the same packet is sent through the selected links, resulting in zero packet loss at the receiving end.
In this case, the HUB has only a single link, so we have selected that.
Step 3: Add Subnets
In this step, select the local LAN subnets that you want to share with other devices within the same tunnel.
In this example, I have manually added three subnets. These subnets will be available on the Spoke device, allowing users to reach them through the HUB device.
You will also see already configured LAN subnets, and you can specify additional subnets if needed.
Step 4: Outbound Forwarding
In this step, select whether the incoming traffic from the tunnel should be forwarded to the LAN side or the WAN side.
Once selected, click SAVE.
Now you can see single HUB device has been added in Tunnel.
Now will add spoke device in same tunnel.
just like HUB device click on +Add Appliance
Step 1: Add Appliance
- Name: Enter the Spoke device name.
- Appliance: Select the MAC address of the Spoke device.
- Appliance Public IP: No input is required, as this is only needed for the HUB device.
- Type: Select Spoke since we are configuring a Spoke device.
- Advanced: Select Packet Cloning.
Now, click Next.
Step 2: WAN Interface
Select all WAN links you want to include in the packet cloning algorithm. This ensures that the same packet is sent through the selected links, resulting in zero packet loss at the receiving end.
In this case, the Spoke device has multiple uplinks along with two SIM cards, so we have selected them.
Step 3: Add Subnets
Select the local LAN subnets that you want to share with other devices within the same tunnel.
In this case, I have added a single network. This network will be added to the HUB device, allowing users to reach the 10.45.81.1/24 subnet through the Spoke device.
Step 4: Outbound Forwarding
Select whether the incoming traffic from the tunnel should be forwarded to the LAN side or the WAN side.
Once selected, click SAVE.