cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
3
Replies

SSH Connectivity to Nodes and External Connectivity

kmichpratt
Level 1
Level 1

Hi everyone,

I have not used CML in the last 3 years, I recently opened a new sandbox and unfortunately cannot get SSH connectivity to the default lab and even when I create my own lab, meaning I have the external connection connected to an unmanaged switch, an alpine linux box is then connected to the unmanaged switch.

Ideally I would like to be able to connect to the servers and routers/switches via my local terminal connection. I have the Cisco VPN working and active.

My goal is to be able to hopefully run a few golang scripts via the Alpine and also have the linux box communicate with the network devices. I apologize in advance if this is redundant, I have looked thru a number of the other SSH threads and cannot get SSH working to either in the default lab or my newly created one. Any help would be appreciated. 

One additional question how do I determine when creating a new lab, what is the ip range that I can use to for SSH/Telnet? Do i just use the external connection (bridgedmode) - unmanaged switch - server/routers and then configure an ip subnet of my choice?
Thanks.

3 Replies 3

Thats interesting that even the default lab you cannot ssh to the devices, on this lab check the gateway etc.. on the devices. Set the external connector to Bridged mode, rather than NAT, if you use DHCP this should give your IOS device inside CML an IP address within the same range as your CML VM. 

For example instances in a CML VM is 192.168.144.50 and DHCP provided a  IOS 192.168.144.59, you most likely should be able to ping both IPs from your windows machine at this point. From there you can now pretty much set up SSH as you normally would on a device. 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

devnet_geek
Cisco Employee
Cisco Employee

@kmichpratt - You can able to telnet routers and switches and ssh to linux servers and PCs in the default topology. Please note that its by design and external connector is set to bridge mode in this case. If you are building you own custom topology, make sure to assign IP ranges in between 10.10.20.2-10.10.20.253. You can connect your devices through devbox(10.10.20.50)  

kmichpratt
Level 1
Level 1

@devnet_geek @bigevilbeard  Thanks for the quick reply with this, I am sorry I was not able to respond sooner. I will re-attempt this and let you know if any issues.