In this article, we will examine how to assign an IP to the FastEthernet, GigabitEthernet or Serial interfaces of a Router or Switch running on a graphical network simulator.
How to Configure an IP Address to Cisco Router
After configuring an IP address to a Router or Switch, you must turn on the corresponding port with no shutdown command.
To assign the IP address and subnet mask, the interface “Interface + Port No” command is used to switch to the corresponding port.
Now open the CLI prompt of a Router that you added to GNS3 and follow the instructions below to configure the FastEthernet0/0 interface, for example.
R1# conf t
R1(config)# interface fastethernet 0/0
R1(config-if)# ip address 192.168.1.100 255.255.255.0
R1(config-if)# no shutdown
The basic logic of the above command; [ip address “IP ADDRESS” “SUBNET MASK”]
If you want to display other commands under the IP address command, execute “ip address ?” command.
Depending on your network topology, the port numbers of the router’s interfaces may vary.
How to Change Router IP Address ⇒ Video
You can watch the video below to assign an IP to the interfaces of Cisco Routers on your network or change existing addresses, and you can also subscribe to our YouTube channel to support us!
Setting an IP address to a Cisco network device is very simple. In our later articles, we will cover more detailed the Cisco commands. Thanks for following us!
♦ Cisco Hostname
♦ Cisco Interface
♦ Cisco Boot Time
♦ GNS3 IOS
♦ What Does GNS3 Do