12-07-2021 06:25 AM
I've been using the CML sandbox with the web interface but want to remotely access the simulation. What is the sandbox host? The sandbox is accessed via the web at 10.10.20.161 and I've given IPs to the nodes in the simulation (like 192.168.1.x and 172.16.x.x) but I can only access them through the HTML interface (after connecting w/ AnyConnect) but can't ping these from a command (or WSL) prompt on my laptop. What do I need to do to use cml utils?
12-07-2021 11:38 AM
@spencera here the link to cml utils - https://developer.cisco.com/codeexchange/github/repo/CiscoDevNet/virlutils/ it contains the guide to getting started and set up.
Hope this helps.
12-07-2021 12:37 PM
Thanks; That matches the video that Hank made several years ago & I tried the .virlrc but I still can't connect from my laptop. I'm using the CML sandbox and after the sandbox is ready I can connect w/ AnyConnect and successfully connect to the Cisco Modeling Labs Server (10.10.20.161) via http but can't ping or ssh. After I connect w/ AnyConnect am I supposed to use a VIRL_HOST of 10.10.20.161, or a the ip of one of my devices? I can access a device in the Network Devices tab (e.g. 10.10.20.179:22, so do I need the change the .rc file for each device in my config?
12-08-2021 01:57 AM
@spencera in this case i believe you run the util from the local devbox within the sandbox - not your local machine, i have done this in the past when it was virlutils. Hope this helps
12-07-2021 01:20 PM
The issues you are experiencing could be by design; some features are tightened with security. For example, pinging from outside the lab into most of the devices is not allowed, however pinging from within the lab is allowed. The best way to go about it is this: connect via SSH or RDP into a Linux or Windows host and then use the utilities on those hosts to access the rest of the sandbox.
12-08-2021 05:36 AM
Yes kkhlebop correct; I think I have a more basic problem. I can get to the pre-configured network devices listed but can't putty to reach the devices on the simulated network topology I created. Could there just be a routing conflict between my laptop and the 1918 addresses I configured for my simulation? What are the recommended/guidance for assigning addresses for devices? I ultimately want to use WSL (but starting out with just a windows cmd). TIA
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