Pre-Requisite: Advantages and Disadvantages of Tree Topology
In the tree topology of networking, the elements and devices are arranged like a tree structure and have branches of connections between the devices connected to each other. To implement tree topology in Cisco there are various steps as follows:
Steps to Configure and Setup Tree Topology in Cisco Packet Tracer:
Step 1: First, open the Cisco packet tracer desktop and select the devices given below:
S.NO | Device | Model-Name |
---|---|---|
1. | PC | PC |
2. | switch | PT-switch |
IP Addressing Table
S.NO | Device | IPv4 Address | Subnet Mask |
---|---|---|---|
1. | pc0 | 192.168.0.1 | 255.255.255.0 |
2. | pc1 | 192.168.0.2 | 255.255.255.0 |
3. | pc2 | 192.168.0.3 | 255.255.255.0 |
4. | pc3 | 192.168.0.4 | 255.255.255.0 |
5. | pc4 | 192.168.0.5 | 255.255.255.0 |
6. | pc5 | 192.168.0.6 | 255.255.255.0 |
- Then, create a network topology as shown below the image.
- Use an Automatic connecting cable to connect the devices with others.
Step 2: Configure the PCs (hosts) with IPv4 address and Subnet Mask according to the IP addressing table given above.
- To assign an IP address in PC0, click on PC0.
- Then, go to desktop and then IP configuration and there you will IPv4 configuration.
- Fill IPv4 address and subnet mask.
- Assigning an IP address using the ipconfig command, or we can also assign an IP address with the help of a command.
- Go to the command terminal of the PC.
- Then, type ipconfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig 192.168.0.1 255.255.255.0
- Repeat the same procedure with other PCs to configure them thoroughly.
Step 3: Verify the connection by pinging the IP address of any host in PC0.
- Use the ping command to verify the connection.
- We will check if we are getting any replies or not.
- As we can see, we are getting replies from a targeted node on both PCs.
- Hence the connection is verified.
ping <targeted node's IP address>
- A simulation of the experiment is given below we have sent two PDU packets one targeted from PC0 to PC3 and another targeted from PC1 to PC5.