IT312- Networking 2
Chapter 3- Routing and Switching – Configuring a Network Switch
Router Configuration with Cisco Packet Tracer
In this network, a router and 2 PCs are used. Computers are connected with routers using a
copper straight-through cable. After forming the network, to check network connectivity a simple PDU is
transferred from PC0 to PC1. The network simulation status is successful. From this network, it can be
observed that the router handles data transfers between multiple devices.
Procedure:
Step-1(Configuring Router1):
1. Select the router and Open CLI.
2. Press ENTER to start configuring Router1.
3. Type enable to activate the privileged mode.
4. Type config t(configure terminal) to access the configuration menu.
5. Configure interfaces of Router1:
• Type interface FastEthernet0/0 to access FastEthernet0/0 and Configure the FastEthernet0/0
interface with the IP address 192.168.10.1 and Subnet mask 255.255.255.0.
• Type interface FastEthernet0/1 to access GigabitEthernet0/0 and Configure the FastEthernet0/1
interface with IP address 192.168.20.1 and Subnet mask 255.255.255.0.
6. Type no shutdown to finish.
Router1 Command Line Interface:
1. Router>enable
2. Router#config t
3. Enter configuration commands, one per line. End with CNTL/Z.
4. Router(config)#interface FastEthernet0/0
5. Router(config-if)#ip address 192.168.10.1 255.255.255.0
6. Router(config-if)#no shutdown
7. Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
8. Router(config-if)#interface FastEthernet0/1
9. Router(config-if)#ip address 192.168.20.1 255.255.255.0
10. Router(config-if)#no shutdown
Step-2(Configuring PCs):
1. Assign IP Addresses to every PC in the network.
2. Select the PC, Go to the desktop and select IP Configuration and assign an IP address, Default
gateway, Subnet Mask
3. Assign the default gateway of PC0 as 192.168.10.1.
4. Assign the default gateway of PC1 as 192.168.20.1.
Step-3(Connecting PCs with Router):
1. Connect FastEthernet0 port of PC0 with FastEthernet0/0 port of Router1 using a copper straight-
through cable.
2. Connect FastEthernet0 port of PC1 with FastEthernet0/1 port of Router1 using a copper straight-
through cable.
Page 1 of 2
IT312- Networking 2
Chapter 3- Routing and Switching – Configuring a Network Switch
Router Configuration Table:
Device IP address IP Address
Name FastEthernet0/0 Subnet Mask FastEthernet0/1 Subnet Mask
Router1 192.168.10.1 255.255.255.0 192.168.20.1 255.255.255.0
PC Configuration Table:
Device Name IP address Subnet Mask Gateway
PC 0 192.168.10.2 255.255.255.0 192.168.10.1
PC 1 192.168.20.2 255.255.255.0 192.168.20.1
Designed Network topology:
Page 2 of 2