How to Assign an IP Address to Cisco Router Interface in GNS3

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.

Assigning an IP Address to Cisco Router Interface in GNS3

How to Configure an IP Address to a 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 for 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 the “ip address ?” command.

Depending on your network topology, the port numbers of the router’s interfaces may vary.

ip address command

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!

Conclusion

Setting an IP address to a Cisco network device is very simple. In our later articles, we will cover the Cisco commands in more detail. Thanks for following us!

Add a Comment

Your email address will not be published. Required fields are marked *