English

Using Cumulus Linux VRR to Ensure Reliable Network

Updated on Sep 27, 2021 by
5.4k

Note: FS has discontinued Cumulus Linux system for N-series switches. As per our policy, customers will continue to get support from FS technical assistance team, and the valid warranty provided is maintained on the product. For customers who are interested in FS N-series switches, you can choose either bare metal ones or those loaded with FSOS.

With the rapid development of the Internet, increasingly high requirements are imposed on the reliability of networks. It’s vital for users to focus on keeping the accessibility to external networks when the network fails. There’re many measures that IT staff can do to reach the uptime goals, such as using physical redundancy solution, providing battery backups in case of an outage. They can also configure logical redundancy by Cumulus Linux VRR or standard VRRP to ensure the reliability of the access from LAN access to external networks. This article will go through an overview of Cumulus Linux VRR technology, explaining its superiorities over standard VRRP, and show you how to implement this function.

Cumulus Linux VRR Introduction

VRR (virtual router redundancy) is a unique technology developed by Cumulus Linux, which can allow hosts to communicate with any redundant router without any reconfiguration or running any dynamic router protocols and router redundancy protocols. It means that in a VRR-enabled network, all the routers will respond to ARP (address resolution protocol) requests from hosts. Figure 1 shows a basic VRR-enabled network, which includes some hosts, and two routers running VRR with MLAG (multi-chassis link aggregation). If host 2 sends an ARP request, both router 1 and 2 will forward traffic to it. But when the host receive one reply, it will ignore the other one. This way can ensure the network connection will work if one router goes down.

Cumulus Linux VRR example

Figure:Example of Cumulus Linux VRR.

Cumulus Linux VRR vs Standard VRRP

Cumulus Linux VRR is like VRRP (virtual router redundancy protocol) because both the two technologies can provide logical redundancy to deliver data and ensure the network’s reliability. So some users often regard them as the same thing. That’s absolutely a mistake. Cumulus Linux VRR offers more benefits than standard VRRP.

Cumulus Linux VRR Supports Loading Share for One VLAN

This is due to the different working principles of Cumulus Linux VRR and VRRP. For Cumulus Linux VRR, it supports active-active setup. All the routers can reply to each ARP request from a host. All the replies are the same. Thus, when the host receives the first reply, it will ignore the others or accept them and overwrite the previous identical reply. This will help avoid being confused over which response is correct. Also, since all the routers can forward the traffic, Cumulus Linux VRR can support loading share in one VLAN.

In the standard VRRP configuration, one router is elected as the virtual router master with the other routers acting as backups. And only the master router is allowed to forward packets, and the backup router (the one is configured with the higher priority) will take over the master router role if the master one fails, so as to ensure the connectivity. Note that, a single VRRP backup group can not realize loading balance. But it can be used for loading balance through creating multiple VRRP groups, which requires to configure different gateways for different hosts in the LAN. This method increases the complexity of the configuration when comparing with Cumulus Linux VRR.

Cumulus Linux VRR Uses Easier Configuration

Cumulus Linux developed NCLU (network command line utility) for users. With it, users can configure VRR directly without editing configuration files or entering specific modes, which is an easier and efficient way. Just type the command below on two routers, then the setup is finished. Here, address-virtual is the keyword to enable and configure VRR.

Cumulus Linux VRR config

On the other hand, using standard VRRP, users have to use a few commands. The basic command syntax includes:

vrrp config

Users have to enter in the “switch>enable” or “switch#configure terminal” mode to finish the setup. It’s more complex than Cumulus Linux VRR commands, which may cost more time.

In addition, Cumulus Linux VRR can be used with MLAG, while standard VRRP can not.

Using FS N Series Switches to Implement VRR

To help IT staff build more robust networks, FS has released N series network switches with Cumulus Linux. These data center switches provide an open networking model that lets users choose the management and orchestration tools that are best suited for their specific environment. The following table shows the specifications of N series switches.

Item N5850-48S6Q N8520-48B6C N8050-32Q N8520-32C
Ports 48x10G SFP+ and 6x40G QSFP+ 48x25Gb and 6x100Gb 32x40G QSFP+ 32x100G QSFP28
Switching capacity 1.44Tbps 3.6Tbps 2.56Tbps 6.4Tbps
Switch chip Trident II+ BCM56854 Broadcom Tomahawk+ Trident II+ BCM56850 Tomahawk BCM56960
latency 680ns 500ns 480ns 500ns

All the three network switches have been installed Cumulus Linux, ranging from 10G switch, 25G switch, 40G switch and 100G switch. Customers can choose one based on their need and use the NCLU commands below to create a VLAN-aware bridge interface for a VRR-enabled network.

VRR-1

Some parameters of these configurations mean:

192.168.0.252/24: It’s the unique IP address assigned to this bridge. It’s unique because, unlike the 192.168.0.254 address, it’s assigned only to this bridge, not the bridge on the other network switch.
00:00:5e:00:01:01: It’s the mac address of the virtual switch. This must be the same on all virtual switches. Cumulus Linux has reserved a range of MAC address from 00:00:5e:00:01:00 to 00:00:5e:00:01:ff, in order to prevent MAC address conflicts with other interfaces in the same bridged network.

These commands then produce the following / etc / network / interfaces snippet.

VRR-2

Then, VRR configuration is completed.

Conclusion

Cumulus Linux VRR is a unique and powerful function. It can support loading share for one VLAN with simple configuration. With it, users can keep their networks up and running in emergencies where some routing devices go down, and prevent packet loss. At FS, we provide 10/25/40/100G switch with Cumulus Linux VRR to help users build a reliable network. If you still have some questions about VRR configuration, please contact us via us@fs.com or live chat.

You might be interested in

Knowledge
Knowledge
Knowledge
See profile for Sheldon.
Sheldon
Decoding OLT, ONU, ONT, and ODN in PON Network
Mar 14, 2023
384.9k
Knowledge
See profile for Irving.
Irving
What's the Difference? Hub vs Switch vs Router
Dec 17, 2021
367.0k
Knowledge
See profile for Sheldon.
Sheldon
What Is SFP Port of Gigabit Switch?
Jan 6, 2023
334.4k
Knowledge
See profile for Migelle.
Migelle
PoE vs PoE+ vs PoE++ Switch: How to Choose?
Mar 16, 2023
419.8k
Knowledge
Knowledge
Knowledge
Knowledge
See profile for Moris.
Moris
How Much Do You Know About Power Cord Types?
Sep 29, 2021
293.6k