Basic Router Configuration using Cisco Packet Tracer

 

Basic Router Configuration using Cisco

Objective

The objective of this lab is to configure a basic router setup using Cisco Packet Tracer. The setup involves configuring the IP addresses for a router and two PCs as shown in the topology diagram.

 

 Topology Diagram

The network topology consists of one router and two PCs connected through FastEthernet interfaces. The IP addresses and subnet masks for each device are as follows:

 

- Router Interface Fa0/0:

  - IP Address: 192.168.20.1

  - Subnet Mask: 255.255.255.224

- Router Interface Fa1/0:

  - IP Address: 192.168.10.1

  - Subnet Mask: 255.255.255.224

- PC1:

  - IP Address: 192.168.20.2

  - Subnet Mask: 255.255.255.224

- PC2:

  - IP Address: 192.168.10.2

  - Subnet Mask: 255.255.255.224

 

 Equipment

- Cisco Packet Tracer software

- 1 Cisco Router

- 2 PCs

- 2 Ethernet cables

 

Steps and Configuration

 

Step 1: Setting up the Network Topology

1. Open Cisco Packet Tracer.

2. Place the devices:

   - Drag and drop one router and two PCs onto the workspace.

3. Connect the devices:

   - Connect PC1 to the router’s Fa0/0 interface using an Ethernet cable.

   - Connect PC2 to the router’s Fa1/0 interface using an Ethernet cable.

 

Step 2: Configuring the Router Interfaces

1. Select the router and enter the CLI:

   - Click on the router and then click on the `CLI` tab.

2. Enter global configuration mode:

   ```

   Router> enable

   Router# configure terminal

   ```

3. Configure the Fa0/0 interface:

   ```

   Router(config)# interface FastEthernet0/0

   Router(config-if)# ip address 192.168.20.1 255.255.255.224

   Router(config-if)# no shutdown

   Router(config-if)# exit

   ```

4. Configure the Fa1/0 interface:

   ```

   Router(config)# interface FastEthernet1/0

   Router(config-if)# ip address 192.168.10.1 255.255.255.224

   Router(config-if)# no shutdown

   Router(config-if)# exit

   ```

5. Verify the interfaces are up:

   ```

   Router# show ip interface brief

   ```

 

 Step 3: Configuring the PCs

1. PC1 Configuration:

   - Click on PC1.

   - Go to the `Desktop` tab and open the `IP Configuration`.

   - Set the IP address to 192.168.20.2.

   - Set the subnet mask to 255.255.255.224.

   - Set the default gateway to 192.168.20.1.

 

2. PC2 Configuration:

   - Click on PC2.

   - Go to the `Desktop` tab and open the `IP Configuration`.

   - Set the IP address to 192.168.10.2.

   - Set the subnet mask to 255.255.255.224.

   - Set the default gateway to 192.168.10.1.

 

 Step 4: Testing Connectivity

1. Ping from PC1 to the router’s Fa0/0 interface:

   - Open the `Command Prompt` from the `Desktop` tab on PC1.

   - Enter the command:

     ```

     ping 192.168.20.1

     ```

   - Verify that the ping is successful.

 

2. Ping from PC2 to the router’s Fa1/0 interface:

   - Open the `Command Prompt` from the `Desktop` tab on PC2.

   - Enter the command:

     ```

     ping 192.168.10.1

     ```

   - Verify that the ping is successful.

 

3. Ping from PC1 to PC2:

   - Open the `Command Prompt` from the `Desktop` tab on PC1.

   - Enter the command:

     ```

     ping 192.168.10.2

     ```

   - Verify that the ping is successful.

 

Results

After completing the configuration steps, both PCs should be able to communicate with each other through the router. Successful pings between the PCs and from the PCs to the router interfaces indicate that the network is correctly configured.

 

 Conclusion

This lab demonstrated the basic steps to configure a router and connect two PCs using Cisco Packet Tracer. The essential configurations included setting up IP addresses and subnet masks on the router interfaces and the PCs. Testing the connectivity confirmed that the setup was successful and the devices were able to communicate with each other.

 

By following these steps, you can set up a basic network topology and understand the foundational aspects of router configuration.

 


Post a Comment

0 Comments