cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392
Views
0
Helpful
2
Replies

Cisco CML - How can i save Ubuntu configs in CML?

Nermin
Level 1
Level 1

Hello friends,

I recently started using the Cisco CML (Free) version. My main question is when i build a network topolgy with Ubuntu VMs, how can i preserve the configuration on Ubuntu Vms after they are restarted? ex. IPs, Default gateway etc. I notice when i restart the VM in CML it looses all its configuration. 

For Cisco switches and routers there is a setting to prefetch the configuration which helps me save the cisco configs, but for Ubuntu VM "prefetch" is grayed out. Not sure if this is limitation of free tier CML or i am missing something. 

Thank you for your help. 

Nermin

1 Accepted Solution

Accepted Solutions

How are you changing the Ubuntu node's network configuration? Are you creating a yaml netplan file named with a sequence number (00-99) higher than other netplan files?  If not, your new configs are possibly being overwritten by the higher order files.

Disclaimers: I am long in CSCO. Bad answers are my own fault as they are not AI generated.

View solution in original post

2 Replies 2

How are you changing the Ubuntu node's network configuration? Are you creating a yaml netplan file named with a sequence number (00-99) higher than other netplan files?  If not, your new configs are possibly being overwritten by the higher order files.

Disclaimers: I am long in CSCO. Bad answers are my own fault as they are not AI generated.

I was simply configuring the ip/gateway with "ip address" command. I was not aware of the netplan configuration from your post, so i did a little research and found a documentation how netplan is setup.

I then ended up adding it to the yaml configuration of the VM started it and it preserved the IP and gatway IP. I can now restart and it will preserver the configuraiton.


Thank you for your help the netplan was the keyword that i was not aware i needed to setup.