Newbie questions

  • 1
  • Question
  • Updated 3 years ago
So I am new to the cumulus world. I have used debian and rhel linux system.

I have downloaded and installed the cumulus VX vm.

I have installed he vmware tools package.

I have give the VM multiple nics.

I can log into the VM.

Now are the CL tools to manage ip address and interface management or does it just fail back to configuring a debain / ubuntu machine. ie do I just do to the interface file and change it ?

Also does cumulus hid interfaces. I have created an extra NIC and its not showing up at eth1

ip li
1: lo: mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether 00:50:56:a6:7e:ff brd ff:ff:ff:ff:ff:ff
3: swp1: mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether 00:50:56:a6:42:5b brd ff:ff:ff:ff:ff:ff
Photo of Alex Samad YB

Alex Samad YB

  • 484 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Alex Samad YB

Alex Samad YB

  • 484 Points 250 badge 2x thumb
Okay did a quick test, shutdown machine removed one nic and rebooted

the sw1 dissapeared

powerdown and added 2 nics and rebooted

now I have swp1 and swp2.

can i presume these are linked to their MAC address so swp1 will always point to the right nic.

Also is there a way to rename them ?

So I am a bit curious why is 1 nic as eth0 and the rest seemingly coming up as swpX

Found my own answer,
eth0 - first management port
swpX the rest it seems.
Photo of Scott Suehle

Scott Suehle, Alum

  • 3,772 Points 3k badge 2x thumb
So thank you for the questions. I am glad you were able to find the answers in the documentation. As for the questions about management tools, Cumulus VX does not have the capabilities to control the hardware the same way Cumulus Linux does. Those tools do not have the proper code for that ability.

If you have not seen this guide:

It helps show the main differences between Cumulus VX and Cumulus Linux.
Photo of Alex Samad YB

Alex Samad YB

  • 484 Points 250 badge 2x thumb

Yep had a look through that.

What I meant was to configure the L3 stuff, like ip address, BGP, OSPF. You configure the it the same way you do a standard linux box.
Photo of Leslie Carr

Leslie Carr, Alum

  • 524 Points 500 badge 2x thumb
For all of the L3 stuff, you can configure it the same as a standard Debian/Ubuntu box, however we are actually using ifupdown2 instead of ifupdown for handling our interfaces.  ifupdown2 is completely backwards compatible and written in python (source code! ), but it allows you to simplify your configuration if so desired.  It even lets you use ranges and regex'es :) is my favorite quick cheat-sheet for the new shorter syntax, and is the full documentation