Skip to content
Related Articles

Related Articles

Connection Between Star and Mesh Topology in Cisco

View Discussion
Improve Article
Save Article
  • Last Updated : 08 Jul, 2022
View Discussion
Improve Article
Save Article

A local Area Network (LAN) is a data communication network connecting various terminals or computers within a building or limited geographical area. In this article, we will know about how to implement a topologies connection between 2 LAN/Topologies in Cisco Packet Tracer.

Steps to Configure and Verify Connection between Two LANs in Cisco Packet Tracer:

Step 1: First, open the Cisco packet tracer desktop and select the devices given below:

S.NODeviceModel NameQty.
2.Switch2496-24TT, PT-Switch5

IP Addressing Table for PCs of LAN1 and LAN2:


S.NODeviceIPv4 AddressSubnet MaskDefault Gateway


S.NODeviceIPv4 AddressSubnet MaskDefault Gateway
  • Then, create two network topologies (Ring and Bus)as shown below the image.
  • Use an Automatic connecting cable to connect the devices with others.

Representation of the topologies should look like the image given below:


Step 2: Configure the PCs (hosts) with IPv4 address, Subnet Mask, and Default gateway according to the IP addressing table above.

  • To assign an IP address in PC0, click on PC0.
  • Then, go to desktop and IP configuration and there you will find IPv4 configuration.
  • ‘Fill IPv4 address, subnet mask, and default gateway to the particular input box.
  • Repeat the same procedure with PCs of LAN2 to configure them.


Step 3. Assigning IP address using the ipconfig command.

  • We can also assign an IP address with the help of a command.
  • Go to the command terminal of the PC0.
  • Then, type iPConfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig


  • Repeat the same procedure with other PCs of Both LANs to configure them thoroughly.

Step 4: Configure router with IP address and Subnet mask.

IP Addressing Table Router:

DeviceInterfaceIPv4 AddressSubnet mask
  • To assign an IP address in router0, click on router0.
  • Then, go to config and then Interfaces.
  • Then, configure the IP address in FastEthernet and serial ports according to IP addressing Table.
  • Fill IPv4 address and subnet mask.


Step 5: Verifying the network by pinging the IP address of any PC. We will use the ping command to do so.

  • First, click on PC0 then Go to the command prompt
  • Then type ping <IP address of targeted node>
  • As we can see in the below image we are getting replies which means the connection is working properly.
Example : ping


Simulation Result:


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!