07-09-2020 07:53 AM
Can someone please explain how to configure Servers and desktops in CML. I am unable to configure network parameters for these nodes, i.e. Static IP address and mask, DFGWY, etc... I keep getting permission denied. I've also tried the Alpine setup-interfaces utility which just throws up an error after I complete the setup stating the file already exists. An example of how to configure the network settings would be great!
07-09-2020 08:31 AM
ok I figured it out I think.
at the Linux command line type:
sudo ifconfig eth0 x.x.x.x netmask x.x.x.x
sudo route add default gw x.x.x.x eth0
I'm obviously a linux newbie. Apologies if this was obvious.
03-15-2022 08:37 AM
Super helpful. Thanks a lot!
11-28-2024 12:27 AM
How do you save the configs on the desktop? I do that, but when I restart the lab the ip, gateway, hostname all disappear. I know you can wipe and add the config prior to starting, but what if you already did the commands above? I know the cisco equipment you can do copy run start, but that doesn't work for the desktop.
11-28-2024 03:53 AM
@CRay A sounds like you need to save the configuration changes to the CML lab. See https://developer.cisco.com/docs/modeling-labs/node-configuration-files/
You can extract the config https://developer.cisco.com/docs/modeling-labs/extracting-configurations/ which is handy for network devices, but not sure for a linux host.
In the end, what matters is that you save your changes on the CML lab. And since you are using the sandbox, download the CML lab you are working on to your computer given the sandbox will be wiped after your reservations is over.
11-28-2024 09:19 PM
Thanks so much for replying! So I guess I have to extract the configs, and download it on my personal computer? And then add the lab again into the Dashboard upon logging in?
11-28-2024 11:28 PM
Yes, you need to extract the configs and save then to the CML lab. Before your reservation ends, you need to download the CML lab to your personal computer. Probably is good to do this often, just in case.
You will need to add your lab to CML when you start a new reservation, since every instance of the CML sandbox is a new one and there is no persistent between reservations.
11-29-2024 12:08 AM
Ah, gotcha, thanks so much!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide