Quagga Configuration vs Linux

  • 1
  • Question
  • Updated 1 year ago
I've been configuring a Cumulus switch via the /etc/network/interfaces file, but stumbled upon a few of the same configuration in Quagga.  Could I configure swp interfaces, filtering via ACLs and things of the like using Quagga and it have the same effect rather than configuring them via the directory files?
Photo of "B"

"B"

  • 1,110 Points 1k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Scott Suehle

Scott Suehle, Alum

  • 3,772 Points 3k badge 2x thumb
At the current time, the use of the directory files is still the way to configure those files. That being said the upcoming NCLU release will help in making that simpler. See the doc below.

https://cumulusnetworks.com/media/resources/product-collateral/Cumulus-Networks-NCLU-Overview.pdf
Photo of "B"

"B"

  • 1,110 Points 1k badge 2x thumb
Thanks Scott
Photo of Sean Cavanaugh

Sean Cavanaugh, Alum

  • 3,380 Points 3k badge 2x thumb
NCLU is early access if you want to try it: https://docs.cumulusnetworks.com/display/DOCS/Network+Command+Line+Utility

typically only routing is done in quagga (app for routing).  It has L2 functionality (vlans, trunks, bonds, etc).  NCLU gives a tab complete cli to etc/network/interfaces and much more :)
Photo of "B"

"B"

  • 1,110 Points 1k badge 2x thumb
Thanks Sean
Photo of Eric Pulvino

Eric Pulvino, Official Rep

  • 4,082 Points 4k badge 2x thumb
To add more info here you can run into weird behaviors.... like when quagga is not running you have no IP addresses applied... or what if the IP in quagga is not the IP applied in /etc/network/interfaces. Troubleshooting may be more difficult as well because things are located in non-standard places. For all those reasons and more, we recommend to leave interface L2/L3 config in the /etc/network/interfaces file. NCLU helps to abstract away where the configuration lives but the config is still actually applied to the /etc/network/interfaces file as we're recommending here.
Photo of "B"

"B"

  • 1,110 Points 1k badge 2x thumb
I will definitely keep that in mind as well as give NCLU a shot.  Thanks!