Python Forum
GNS3 telnet from bash terminal to virtual cisco router
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GNS3 telnet from bash terminal to virtual cisco router
#1
I am running Ubuntu and have installed GNS3. I followed the tutorial on the basics of setting up a couple of cisco routers here: https://docs.gns3.com/1d1huu6z9-wWGD_ipT...index.html and have enabled telnet with the lines

line vty 0 4
password cisco
login
transport input telnet

and done enable password cisco

So I can ping and telnet between the two virtual routers, but telnet from my bash terminal works oddly. If I specify the ip (10.1.1.1) it won't go through. If I use 192.168.0.10 it goes to my laptop login. If I try 192.168.0.10 5000 it goes to R1 but goes straight in without asking for a password. On another site, someone said it could be a hosts issue, but I am a noob here and don't want to mess with my hosts file unless I am sure it won't mess up my laptop. Anyone have any experience with this?
Reply
#2
what are trying to achieve a connection between ubuntu and gnns3? from ubuntu are you able to reach 10.1.1.x?
Reply
#3
No. I can telnet to 192.168.0.10:5006 but it doesn't ask for username or password which are set via config.

okay, just tried it and it wont even telnet to 192.168...etc now. It is like they are losing config after closing gns3.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  netmiko: print out specific line matches with 'Cisco IOS Software' in sh ver output sabrina 1 3,364 Nov-28-2022, 10:05 AM
Last Post: carstenlp
  Help with my router. Pocket_Sand 2 2,188 Nov-19-2020, 04:06 PM
Last Post: Pocket_Sand
  hello everyone, I am attempting to extract lldp neighbors from Cisco switches->excel skins996 1 2,959 Nov-13-2020, 04:29 PM
Last Post: evapa8f
  telnet from ssh tunnel oldfart 3 7,064 Jul-17-2020, 02:28 PM
Last Post: noobami99
  telnet to a device under tacacs management kang18 0 1,540 Jun-05-2020, 06:11 AM
Last Post: kang18
  Acces Wifi router and scan all the available networks through router jenkins43 3 2,723 Mar-21-2020, 09:35 PM
Last Post: jenkins43
  How I can communicate Virutal GNS3 topology and real network ? looney99 0 1,751 Nov-13-2019, 08:11 PM
Last Post: looney99
  3.6 telnet eyler 3 11,212 Jun-28-2019, 05:22 AM
Last Post: Khanhamid90
  Any suggestion on python library to use for both ssh and telnet? lord_mani 4 3,672 Jun-25-2019, 04:07 PM
Last Post: gb74razor
  How to read router prompt and use it? simbha 1 3,797 May-06-2019, 05:56 AM
Last Post: simbha

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020