You can gain experience by creating simple or advanced network topologies using Packet Tracer. In addition, if you are preparing for the Cisco exams, you can perform the curriculum that the exam requires with this simulator software.
How to Create a Network in Cisco Packet Tracer
With Cisco’s free network simulator software PT, you can easily prepare for network exams. Please note that this software is not only used for one exam. At the same time, those who want to develop themselves in the field of network and system technologies are also using this program.
In Packet Tracer, you can add a Router, Switch and PC to the working environment to create a basic network and examine how data communication takes place between computers.
This software gives you simpler usage by making sure you don’t have to deal with the Cisco IOS images required by GNS3. In addition, if you are an instructor, you can prepare network activities for your students and test their network knowledge.
Now, follow the steps below to examine how computers on two segments (two different LANs) connected to the Cisco Router on Packet Tracer communicate.
Add one Cisco Router, two Cisco Switches, and four PCs on the program’s workspace. Then note the port and slot numbers of the router’s GigabitEthernet interfaces in the workspace.
Double-click on the router to open the IOS Command Interface.
In the Cisco router CLI window, assign an IP address to the GigabitEthernet0/0 interface and execute the no shutdown command to activate the interface.
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
After configuring the GigabitEthernet0/0 interface, the port will be green. The meaning of this color is; The interface is active and working.
To assign an IP address to the GigabitEthernet 0/1 interface and activate the port, perform the following commands:
Router(config)#interface gigabitEthernet 0/1
Router(config-if)#ip address 192.168.2.1 255.255.255.0
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
%SYS-5-CONFIG_I: Configured from console by console
In the following image, you can see that the router’s GigabitEthernet ports are connected to the Switches and are active.
Now, you need to assign an IP address to the computers that you add to the topology. To do this, click on the PC to which you will assign an IP, and on the Desktop tab, click IP Configuration.
Then, you need to address the PC according to the IP block of the network on which the network is. According to the topology above, assign an IP address from block 192.168.1.0/24 as PC0 is connected to the network under the router’s Gig0/0 interface.
Configure the IP address, subnet mask, and default gateway settings for PC0 as in the following image.
Click Command Prompt on PC0, and then ping the Cisco Router Gig0/0 default gateway to test the network connection.
This time, configure the TCP/IP settings of PC3 on the 192.168.2.0/24 network as follows.
When you ping the GigabitEthernet0/1 interface (default gateway) via PC3, you can also see that the operation was successful.
Likewise, if you ping the Router’s GigabitEthernet0/1 interface via PC0, the operation will still be successful because one Router’s main task is to communicate with each other the different networks connected on it.
Ping operation to PC2 computer with IP address 192.168.2.10 via PC0;
Ping operation to PC2 computer with IP address 192.168.2.20 via PC0;
You can examine the MAC addresses of computers when you execute the show arp command at the Cisco router CLI command prompt.
You can watch the video below to create and communicate the two networks with the Cisco simulator software and also subscribe to our YouTube channel to support us!
In this article, we have created a simple network on CPT to communicate computers in two segments. If you add another Cisco Router to the network environment, you will need to enable a routing protocol such as RIP, EIGRP, OSPF on the Routers. Thanks for following us!