How to Configure Telnet on Cisco Router in GNS3? – Configuring Telnet on Cisco Routers or Cisco Switches using GNS3 is a very simple process. In this article, we will create a real network topology using VMware Workstationand GNS3 programs and then make a Telnet connection to Cisco Router using Putty.
How to Configure Telnet on Cisco Router in GNS3?
To configure Telnet on the Cisco Router, you first need to connect the Router to your computer via Console. After you have connected the Cisco Router Console, you can configure the basic settings and enable Telnet to manage your device from a remote location.
Once you have configured Telnet on Cisco Router, you can connect to the Router over the LAN or WAN and make all your configurations.
There is a big difference between GNS3 and Cisco Packet Tracer programs. You can use all of the Cisco IOS commands using GNS3. In Packet Tracer, some commands may not be supported. Before moving on to configure Telnet with GNS3, install the GNS3program to your computer. If you are using one of the Windows, Linux or MacOS operating systems, you can install GNS3 by referring to the following articles.
Add a Host to include any virtual machine on VMware Workstation into the network topology.
To wire the network devices on GNS3, click the cable option as you see in the image below. If you see the crossed (X) symbol, it means that the cabling option is active.
The point to note here is that in the Host setting, you add a VMnet that you configured on your computer in the Ethernet NIO section. In this article, we configured VMnet3 in VMware’s Virtual Network Editor program.
AGreen Iconwill appear on the Switch and PC after you have wired the network devices. The Red Icon on the Cisco Router means that the Router is not working.
VMware VMnet Settings for GNS3 Telnet Configuration
VMnet3 Adapter Setting of Physical Computer
On your physical computer, open Network and Internet Settings and configure the VMnet3 network adapter. Normally the IP address here is 192.168.8.1. However, when designing a network, routers usually have an IP address of .1. So it is useful to change the IP address on VMnet so that it not to cause complexity.
Open the VMware Virtual Network Editor program and configure the IP block of VMnet3 as 192.168.8.0/24. Also, select Host-Only for VMnet3 and save the settings.
Change the network adapter setting of the VMware virtual machine to VMnet3 in the Custom option.
After completing the necessary preparations to configure Telnet on Cisco Router in GNS3, run the Cisco Router.
Double-click to open the Cisco Router CLI command prompt. To enable Telnet, execute the commands below.
R1# conf t
R1(config)# interface fastethernet0/0
R1(config-if)# ip address 192.168.8.1 255.255.255.0
R1(config-if)# no shutdown
R1(config)# line vty 0 4
R1(config-line)# login local
R1(config)# username cisco privilege 15 password cisco123
Download the Putty to your computer from the links at the bottom of the article and copy it to the VMware virtual machine. Open Putty and select Telnet.
After you select Telnet, type the IP address of the FastEthernet 0/0 of Cisco Router and click the Open button.
You have successfully made a Telnet connection to Cisco Router.
Type the username and password that you created when you applied the Cisco Telnet commands and press Enter. As you can see in the following image, you can now configure the Cisco Router via Telnet.
You can check the sessions that are open on the Router by executing the show line command at the command prompt.
How to Configure Telnet on Cisco Router in GNS3? ⇒ Video
To configure Telnet on Cisco Router using GNS3, you can watch the following video and also subscribe to our YouTubechannel to support us.
In this article, we have reviewed how to configure Telnet on Cisco Routers and Cisco Switches using GNS3and VMware virtual machine. If you want to disable Telnet on Cisco Router, type transport input ssh in R1(config-line)#. The transport input ssh command only allows SSHconnections and disables Telnet. Thanks for following us!
If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!
Also, you can add to browser bookmarks by pressing the CTRL+D to read this article later!
Articles Related to Configuring Telnet on Cisco Router in GNS3