1.4.7 Packet Tracer - Configure Router Interfaces (Instructions Answer)

1.4.7 Packet Tracer - Configure Router Interfaces Answers

Topology

Addressing Table

Device Interface IP Address/Prefix Default Gateway
R1 G0/0 172.16.20.1 /25 N/A
G0/1 172.16.20.129 /25 N/A
S0/0/0 209.165.200.225 /30 N/A
PC1 NIC 172.16.20.10 /25 172.16.20.1
PC2 NIC 172.16.20.138 /25 172.16.20.129
R2 G0/0 2001:db8:c0de:12::1/64 N/A
G0/1 2001:db8:c0de:13::1/64 N/A
S0/0/1 2001:db8:c0de:11::1/64 N/A
fe80::2 N/A
PC3 NIC 2001:db8:c0de:12::a/64 fe80::2
PC4 NIC 2001:db8:c0de:13::a/64 fe80::2

Objectives

  • Part 1: Configure IPv4 Addressing and Verify Connectivity
  • Part 2: Configure IPv6 Addressing and Verify Connectivity

Background

Routers R1 and R2 each have two LANs. Your task is to configure the appropriate addressing on each device and verify connectivity between the LANs.

Note: The user EXEC password is cisco. The privileged EXEC password is class.

Instructions

Part 1: Configure IPv4 Addressing and Verify Connectivity

Step 1: Assign IPv4 addresses to R1 and LAN devices.

Referring to the Addressing Table, configure IP addressing for R1 LAN interfaces, PC1 and PC2. The serial interface has already been configured.

R1(config)# interface gigabitethernet 0/0
R1(config-if)# ip address 172.16.20.1 255.255.255.128
R1(config-if)# no shutdown
R1(config-if)# interface gigabitethernet 0/1
R1(config-if)# ip address 172.16.20.129 255.255.255.128
R1(config-if)# no shutdown


Step 2: Verify connectivity.

PC1 and PC2 should be able to ping each other and the Dual Stack Server.

C:\> ping 172.16.20.138

Pinging 172.16.20.138 with 32 bytes of data:

Request timed out.
Reply from 172.16.20.138: bytes=32 time<1ms TTL=127
Reply from 172.16.20.138: bytes=32 time<1ms TTL=127
Reply from 172.16.20.138: bytes=32 time=13ms TTL=127

Ping statistics for 172.16.20.138:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 13ms, Average = 4ms

C:\> ping 64.100.1.10

Pinging 64.100.1.10 with 32 bytes of data:

Request timed out.
Reply from 64.100.1.10: bytes=32 time=2ms TTL=126
Reply from 64.100.1.10: bytes=32 time=13ms TTL=126
Reply from 64.100.1.10: bytes=32 time=1ms TTL=126

Ping statistics for 64.100.1.10:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 13ms, Average = 5ms

C:\>

Part 2: Configure IPv6 Addressing and Verify Connectivity

Step 1: Assign IPv6 addresses to R2 and LAN devices.

Referring to the Addressing Table, configure IP addressing for R2 LAN interfaces, PC3 and PC4. The serial interface is already configured.

R2(config)# ipv6 unicast-routing
R2(config)# interface gigabitethernet 0/0
R2(config-if)# ipv6 address 2001:db8:c0de:12::1/64
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# no shutdown
R2(config-if)# interface gigabitethernet 0/1
R2(config-if)# ipv6 address 2001:db8:c0de:13::1/64
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# no shutdown

Step 2: Verify connectivity.

PC3 and PC4 should be able to ping each other and the Dual Stack Server.

C:\> ping 2001:db8:c0de:12::a

Pinging 2001:db8:c0de:12::a with 32 bytes of data:

Reply from 2001:DB8:C0DE:12::A: bytes=32 time=13ms TTL=127
Reply from 2001:DB8:C0DE:12::A: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:C0DE:12::A: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:C0DE:12::A: bytes=32 time<1ms TTL=127

Ping statistics for 2001:DB8:C0DE:12::A:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 13ms, Average = 3ms

C:\> ping 2001:db8:100:1::a

Pinging 2001:db8:100:1::a with 32 bytes of data:

Reply from 2001:DB8:100:1::A: bytes=32 time=15ms TTL=126
Reply from 2001:DB8:100:1::A: bytes=32 time=7ms TTL=126
Reply from 2001:DB8:100:1::A: bytes=32 time=13ms TTL=126
Reply from 2001:DB8:100:1::A: bytes=32 time=4ms TTL=126

Ping statistics for 2001:DB8:100:1::A:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 4ms, Maximum = 15ms, Average = 9ms

C:\>

Device Configs - Final

ROUTER R1

! ==============================================================
!--- 1.4.7 Packet Tracer - Configure Router Interfaces
!--- ANSWER SCRIPT FOR ROUTER R1
!--- Usage: on the R1 console, log in with the user EXEC password "cisco", type "enable" and enter the privileged EXEC password "class", then paste this whole file at the R1# prompt. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
! ==============================================================

configure terminal

! --------------------------------------------------------------
!--- Part 1: Configure IPv4 Addressing and Verify Connectivity.
! --------------------------------------------------------------

!--- G0/0 - PC1 LAN: first host of 172.16.20.0/25 (mask 255.255.255.128).
interface gigabitethernet 0/0
 ip address 172.16.20.1 255.255.255.128
 no shutdown
 exit

!--- G0/1 - PC2 LAN: first host of 172.16.20.128/25 (mask 255.255.255.128).
interface gigabitethernet 0/1
 ip address 172.16.20.129 255.255.255.128
 no shutdown
 exit

end

! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config


! ==============================================================
!--- Verification:
!---   show ip interface brief  -> G0/0, G0/1 and S0/0/0 up/up with the Addressing Table addresses
!---   show ip route            -> connected 172.16.20.0/25 and 172.16.20.128/25
!--- From PC1: ping 172.16.20.138 (PC2) and 64.100.1.10 (Dual Stack Server).
!--- Note: S0/0/0 (209.165.200.225/30) is preconfigured; the lab does not ask you to configure it.
! ==============================================================

ROUTER R2

! ==============================================================
!--- 1.4.7 Packet Tracer - Configure Router Interfaces
!--- ANSWER SCRIPT FOR ROUTER R2
!--- Usage: on the R2 console, log in with the user EXEC password "cisco", type "enable" and enter the privileged EXEC password "class", then paste this whole file at the R2# prompt. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
! ==============================================================

configure terminal

! --------------------------------------------------------------
!--- Part 2: Configure IPv6 Addressing and Verify Connectivity.
! --------------------------------------------------------------

!--- Enable IPv6 routing so R2 forwards IPv6 packets between its LANs and sends Router Advertisements.
ipv6 unicast-routing

!--- G0/0 - PC3 LAN: global unicast address plus link-local fe80::2, which is PC3's default gateway.
interface gigabitethernet 0/0
 ipv6 address 2001:db8:c0de:12::1/64
 ipv6 address fe80::2 link-local
 no shutdown
 exit

!--- G0/1 - PC4 LAN: global unicast address plus the same link-local fe80::2 (PC4's default gateway). A link-local address only has to be unique on its own link.
interface gigabitethernet 0/1
 ipv6 address 2001:db8:c0de:13::1/64
 ipv6 address fe80::2 link-local
 no shutdown
 exit

end

! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config


! ==============================================================
!--- Verification:
!---   show ipv6 interface brief -> G0/0, G0/1 and S0/0/1 up/up, each with its GUA and FE80::2
!---   show ipv6 route           -> connected 2001:db8:c0de:12::/64 and 2001:db8:c0de:13::/64
!--- From PC4: ping 2001:db8:c0de:12::a (PC3) and 2001:db8:100:1::a (Dual Stack Server).
!--- Note: S0/0/1 (2001:db8:c0de:11::1/64, fe80::2) is preconfigured; the lab does not ask you to configure it.
! ==============================================================

PC1

PC1PC
IP Address172.16.20.10
Subnet Mask255.255.255.128
Default Gateway172.16.20.1
Command Promptipconfig 172.16.20.10 255.255.255.128 172.16.20.1

PC2

PC2PC
IP Address172.16.20.138
Subnet Mask255.255.255.128
Default Gateway172.16.20.129
Command Promptipconfig 172.16.20.138 255.255.255.128 172.16.20.129

PC3

PC3PC
IPv6
IPv6 Address2001:db8:c0de:12::a/64
IPv6 Gatewayfe80::2

PC4

PC4PC
IPv6
IPv6 Address2001:db8:c0de:13::a/64
IPv6 Gatewayfe80::2

Download Packet Tracer (.pka) file:

Subscribe
Notify of
guest

4 Corrections & Clarifications