You are on page 1of 7

Following Topology will be used in our class for next couple of weeks.

So please make sure that your topology is fully working and pinging from PC-A to PC-C before you
come to next class. Router 1941 model and Switch 2960 are being used in this topology.

Server 1 PC 1
Following are the CLI command configuration details for R1, R2 and R3. [Please take note that these commands are review from your previous unit VU21988.]

Router R1 Router R2 Router R3

Router > Router > Router>


Router > enable Router > enable Router> enable
Router# config t
Router # config t Router # config t
Router(config)# hostname R3
Router (config)# hostname R1 Router (config)# hostname R2
R3(config)# interface GigabitEthernet0/1
R1(config)# interface GigabitEthernet0/1 R2 (config)# interface Serial0/0/0 R3(config-if)# ip address 192.168.3.1 255.255.255.0
R1(config-if)# ip address 192.168.1.1 255.255.255.0 R2 (config-if)# ip address 10.1.1.2 255.255.255.252 R3(config-if)# no shut
R1(config-if)# no shut R2 (config-if)# no shut R3(config-if)# exit
R1(config-if)# exit R2 (config-if)# exit
R3(config)# interface Serial0/0/1
R1(config)# interface Serial0/0/0 R2 (config)# interface Serial0/0/1 R3(config-if)# ip address 10.2.2.1 255.255.255.252
R1(config-if)# ip address 10.1.1.1 255.255.255.252 R2 (config-if)# ip address 10.2.2.2 255.255.255.252 R3(config-if)# no shut
R1(config-if)# no shut R2 (config-if)# no shut R3(config-if)# exit
R1(config-if)# exit R2 (config-if)# exit
R3(config)# router ospf 1
R1(config)# router ospf 1 R2 (config)# router ospf 1 R3(config-router)# network 192.168.3.0 0.0.0.255 area 0
R1(config-router)# network 10.1.1.0 0.0.0.3 area 0 R2 (config-router)# network 10.2.2.0 0.0.0.3 area 0 R3(config-router)# network 10.2.2.0 0.0.0.3 area 0
R1(config-router)# network 192.168.1.0 0.0.0.255 area 0 R2 (config-router)# network 10.1.1.0 0.0.0.3 area 0 R3(config-router)# exit
R1(config-router)# exit R2 (config-router)# exit R3(config)# exit
R1(config)# exit R2(config)# exit R3#
R1# R2#
Following are configuration output using “show running-config” command on each of the routers.

Router R1 Router R2 Router R3

R1# show run R2# show run R3# show run


! ! !
hostname R1 hostname R2 hostname R3
! ! !
interface GigabitEthernet0/1
interface GigabitEthernet0/1 interface Serial0/0/0 ip address 192.168.3.1 255.255.255.0
ip address 192.168.1.1 255.255.255.0 ip address 10.1.1.2 255.255.255.252 duplex auto
duplex auto ! speed auto
speed auto !
! interface Serial0/0/1
ip address 10.2.2.2 255.255.255.252
interface Serial0/0/0 ! interface Serial0/0/1
ip address 10.1.1.1 255.255.255.252 ip address 10.2.2.1 255.255.255.252
! router ospf 1 !
log-adjacency-changes
network 10.2.2.0 0.0.0.3 area 0 router ospf 1
router ospf 1 network 10.1.1.0 0.0.0.3 area 0 log-adjacency-changes
log-adjacency-changes ! network 192.168.3.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.3 area 0 network 10.2.2.0 0.0.0.3 area 0
network 192.168.1.0 0.0.0.255 area 0 !
!
Following are output of “show ip route” command.

Router R1 Router R2 Router R3


R1# show ip route R2# show ip route R3# show ip route

Codes: Codes: Codes:


L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR * - candidate default, U - per-user static route, o - ODR * - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route P - periodic downloaded static route P - periodic downloaded static route

Gateway of last resort is not set Gateway of last resort is not set Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks 10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.1.1.0/30 is directly connected, Serial0/0/0 C 10.1.1.0/30 is directly connected, Serial0/0/0 O 10.1.1.0/30 [110/128] via 10.2.2.2, 01:19:45, Serial0/0/1
L 10.1.1.1/32 is directly connected, Serial0/0/0 L 10.1.1.2/32 is directly connected, Serial0/0/0 C 10.2.2.0/30 is directly connected, Serial0/0/1
O 10.2.2.0/30 [110/128] via 10.1.1.2, 01:17:34, Serial0/0/0 C 10.2.2.0/30 is directly connected, Serial0/0/1 L 10.2.2.1/32 is directly connected, Serial0/0/1
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks L 10.2.2.2/32 is directly connected, Serial0/0/1 O 192.168.1.0/24 [110/129] via 10.2.2.2, 01:19:45, Serial0/0/1
C 192.168.1.0/24 is directly connected, GigabitEthernet0/1 O 192.168.1.0/24 [110/65] via 10.1.1.1, 01:19:18, Serial0/0/0 192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
L 192.168.1.1/32 is directly connected, GigabitEthernet0/1 O 192.168.3.0/24 [110/65] via 10.2.2.1, 01:19:18, Serial0/0/1 C 192.168.3.0/24 is directly connected, GigabitEthernet0/1
O 192.168.3.0/24 [110/129] via 10.1.1.2, 01:17:34, Serial0/0/0 L 192.168.3.1/32 is directly connected, GigabitEthernet0/1
R2#
R1# R3#
Following are the IP setup for PC-A and PC-C:

PC-A PC-C
Following are output of successful ping and reply between PC-A and PC-C and vice versa.

Pinging from PC-A (Server1) to PC-C (PC1) Pinging from PC-C (PC1) to PC-A (Server1)

NOTE: NOTE:
Make sure that PC-A (Server1) and ping PC-C (PC1) successfully. Make sure that PC-C (PC1) and ping PC-A (Server1) successfully.
Following is the output of “tracert” or tracing the route from PC-A to PC-C and vice versa.

Tracert from PC-A (Server1) to PC-C (PC1) Tracert from PC-C (PC1) to PC-A (Server1)

NOTE: NOTE:

While tracing the routes, take note of the hopping IP addresses or gateways. While tracing the routes, take note of the hopping IP addresses or gateways.

You might also like