v Cumulus Linux 2.2 What s New and Different (Technical) Last Updated: August 4, 2014
Evolution of Cumulus Linux Version Features introduced 2.2.x Host-MLAG Lightweight Network Virtualization (LNV) 2.1.x ifupdown2 x86 platform support PTM enhancements 2.0.x VXLAN support requires Trident II (T2) chipset sudo cumulus (instead of root) Quagga non-modal CLI (cl-ospf, cl-bgp) 40G switch support 1.5.x First GA release, 1G and 10G PowerPC platforms cumulusnetworks.com 2
What s New and Different in Cumulus Linux 2.2 Host-MLAG Lightweight Network Virtualization (LNV) PTM enhancements Experimental features cumulusnetworks.com 3
Host High Availability at Layer 2 Logical Switch Active Backup Active Active Single Connected Host Single switch No redundancy Dual Connected Host Two interconnected switches Active/backup bond Redundancy with failover mechanism Dual Connected Host Two interconnected switches Active/active bond Redundancy with logical pair and increased throughput Host-MLAG New in CL 2.2 cumulusnetworks.com 4
Host-MLAG swp4 in bond1 dual connected Logical Switch logical link swp5 in bond1 swp6 in bond1 dual connected Peer switch requirements Pair of connected switches running CL 2.2 Ideally with LACP bond Interfaces must be placed in bonds Even if bond has single link to host Interfaces identically configured across pair Interface VLAN membership Link speed and duplex Bridge assurance setting, if any Dual Connected Host Host requirements At least 2 links to peer switches Host links to pair can be asymmetrical Host links bonded using LACP cumulusnetworks.com 5
Host-MLAG Enabling Host-MLAG Configure peer switches Switches interconnected Active At least one host connection from each switch Interfaces configured identically Configure host Host links bonded using LACP Configure and start clagd daemon on each peer /etc/default/clagd Logical Switch Active Dual Connected Host cumulusnetworks.com 6
Network Virtualization with Network Overlays VXLAN (L2 over L3 fabric) support in Cumulus Linux L2 gateway, wire-rate VXLAN tunnel end point (VTEP) Integration with network overlay controllers VMware NSX, Midokura MidoNet Requires Trident II-based switch New with CL 2.2 Lightweight Network Virtualization (LNV) Standalone VXLAN overlay solution no controller required Easily deploy small to moderate size VXLAN-based networks L3 L2 VTEP VXLAN Tunnel (L2 over L3) L3 Fabric Host 1 Host 2 VTEP cumulusnetworks.com 7
Lightweight Network Virtualization (LNV) Service node (vxsnd) Replicates VXLAN data packets received and learn from them Listens for registration messages to build forwarding database Relays registration messages to peers Runs on spine switches Registration daemon (vxrd) Periodically sends registration to register VNI membership Runs on each VTEP registration message vxsnd vxsnd spine L3 Fabric L3 L2 VTEP vxrd vxrd leaf VTEP Host 1 Host 2 cumulusnetworks.com 8
Lightweight Network Virtualization (LNV) LNV setup Install service node (vxsnd) sudo apt-get install vxfld-vxsnd sudo service vxsnd restart Install VTEP registration daemon (vxrd) sudo apt-get install vxfld-vxrd vi /etc/vxrd.conf set IP address for VTEP sudo service vxrd restart cumulusnetworks.com 9
Lightweight Network Virtualization (LNV) Configure a VXLAN tunnel Create VXLAN interface and assign to bridge sudo ip link add <vxif-name> type vxlan id <vni> [local <ip addr>] [ttl] [tos] [dev] [port MIN MAX] svcnode addr switch1 VXLAN 10 switch2 172.10.1.1 lo lo 172.20.1.1 VNI 10 VNI 10 br-vlan100 br-vlan100 swp1 swp2 swp1 VLAN 100 VLAN 100 VLAN 100 host A 10.1.1.1 host B 10.1.1.2 host C 10.1.1.3 cumulusnetworks.com 10
PTM Enhancements Topology.dot New host-only hostnametype parameter To specify hostname or FQDN ptmctl New ptmctl -j option returns output in JSON format cumulusnetworks.com 11
Configuration Snapshot (Experimental in CL 2.2) Cumulus Linux configuration backup/restore cl-persistify Takes snapshot of all configurations under /etc, Puppet, and Ansible cl-rollback Roll back configuration to previous snapshot cumulusnetworks.com 12
Management Namespace (Experimental in CL 2.2) Place eth0 in new namespace All interfaces belong to default namespace, by default cl-ns-mgmt separates routing table See KB article, Configuring a Management Namespace https://support.cumulusnetworks.com/hc/enus/articles/202325278 cumulusnetworks.com 13
Redistribute Neighbor (Experimental in CL 2.2) Host HA solution for L3 Simple neighbor table redistribution across switches without cross-link Advertise neighbor entries (host routes) Requirements ARP ECMP on default route ECMP Un-numbered interfaces Linux and KVM hosts Incompatible with L2 overlays Dual Connected Host Two switches, not interconnected Redundancy via neighbor redistribution cumulusnetworks.com 14
Thank You! 2014 Cumulus Networks. Cumulus Networks, the Cumulus Networks Logo, and Cumulus Linux are trademarks or registered trademarks of Cumulus Networks, Inc. or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. The registered trademark Linux is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. cumulusnetworks.com 15