cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
690
Views
0
Helpful
2
Replies
manojkumar
Beginner

SSH to simulated devices in Devnet Multi-IOS Cisco Test Network Lab

Hi all,

 

I am trying to simulate one router in Multi-IOS Cisco Test Network Lab  and just get ssh connectivity to this router from my laptop. I reservedMulti-IOS Cisco Test Network Lab and connected to the VIRL server via cisco anyconnect vpn client to address 10.10.20.160. I am not sure about how this router can be configured to get the ssh directly from my laptop such as subnet etc.

 

I want ssh connectivity from my ubuntu lapotop to test my ansible playbook. Can someone please help?

 

Thanks,

Manoj

2 REPLIES 2
mediaos718
Beginner

Were you able to fix this issue. I do not know how to ssh to the routers.

You need to ensure your router(s) are on the right network. For example, set your router to 

 

interface GigabitEthernet1
 description OOB Management
 vrf forwarding Mgmt-intf
 ip address 172.16.30.102 255.255.255.0
[removed]
ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 172.16.30.254

Ensure you have set up ssh correctly on your router

 

ip domain name cisco
crypto key generate rsa modulus 2048
[removed]
line vty 0 4
 exec-timeout 720 0
 password cisco
 login local
 transport input telnet ssh

You can connect to the routers via the devbox (10.10.20.50) to start with or via direct access to router VTY via VM Maestro.

 

HTH

Content for Community-Ad