Routing and Switching Lab - 2019: Anycast Topology
Routing and Switching Lab - 2019: Anycast Topology
Routing and Switching Lab - 2019: Anycast Topology
Anycast
Topology (lo0 on both routers should be replaced by PCs and run wireshark on
both)
Addressing Table
Introduction
Anycast is a network addressing and routing methodology in which a single destination address has multiple
routing paths to two or more endpoint destinations. Routers will select the desired path on the basis of
number of hops, distance, lowest cost, latency measurements or based on the least congested route. Anycast
networks are widely used for content delivery network (CDN) products to bring their content closer to the end
user.
In this lab, you will implement Anycast routing using RIP routing protocol. You will see how the routing
protocol will select a different path to the Anycast server (simulated by loopback interfaces on R1 and R4) on
each router according to the hop count metric. You will also introduce changes in the topology to force the
routing protocol to adapt
Note: Make sure that the routers and switch have been erased and have no startup configurations.
Required Resources
4 Routers.
3 PCs.
Console cables to configure the Cisco IOS devices via the console ports.
Ethernet and serial cables as shown in the topology.
Page 1 of 7
Routing And Switching Lab – 2019
Eng. Ibrahim Amreya Dr. Othman M. Othman
Part 1: Build the Network and Verify Connectivity
In Part 1, you will set up the network topology and configure basic settings, such as the interface IP
addresses, routing, device access, and passwords.
R1#show ip route
192.168.1.0/30 is subnetted, 3 subnets
C 192.168.1.0 is directly connected, Serial0/0/1
R 192.168.1.4 [120/1] via 192.168.1.2, 00:00:19, Serial0/0/1
R 192.168.1.8 [120/2] via 192.168.1.2, 00:00:19, Serial0/0/1
R1#
Page 2 of 7
Routing And Switching Lab – 2019
Eng. Ibrahim Amreya Dr. Othman M. Othman
R1# tclsh
foreach address {
192.168.1.2
192.168.1.5
192.168.1.6
192.168.1.9
192.168.1.10
} { ping $address }
b. Troubleshoot if the pings are unsuccessful.
Step 5: Verify the new route was added to R2s’ and R3s’ routing table.
What is the next hop IP address for the Anycast network on R2 and R3?
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Page 3 of 7
Routing And Switching Lab – 2019
Eng. Ibrahim Amreya Dr. Othman M. Othman
R1(config-if)# ip address 10.10.10.10 255.255.255.255
Page 4 of 7
Routing And Switching Lab – 2019
Eng. Ibrahim Amreya Dr. Othman M. Othman
R1 S0/0/1 2001:db8:acad:1::1/64
FE80::1 link-local
R2 S0/0/0 (DCE) 2001:db8:acad:2::1/64
FE80::2 link-local
S0/0/1 2001:db8:acad:1::2/64
FE80::2 link-local
R3 S0/0/0 2001:db8:acad:2::2/64
FE80::3 link-local
S0/0/1 2001:db8:acad:3::1/64
FE80::3 link-local
R4 S0/0/0 (DCE) 2001:db8:acad:3::2/64
FE80::4 link-local
Page 5 of 7
Routing And Switching Lab – 2019
Eng. Ibrahim Amreya Dr. Othman M. Othman
Step 2: Verify routing for IPv6
a. Use the show ipv6 route command on all routers to view the routing table.
All destinations should be present on all routers.
b. Use the show ipv6 protocols to verify RIPng routing protocol.
2001:db8:acad:2::1 successful?_______
2001:db8:acad:1::2 successful?_______
2001:db8:acad:2::2 successful?_______
2001:db8:acad:3::1 successful?_______
2001:db8:acad:3::2 successful?_______
a. Troubleshoot if the pings are unsuccessful.
Step 2: Verify the new route was added to R2s’ and R3s’ IPv6 routing table.
What is the next hop IPv6 address for the Anycast network on R2 and R3?
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Page 6 of 7
Routing And Switching Lab – 2019
Eng. Ibrahim Amreya Dr. Othman M. Othman
b. Use the traceroute command to list the path of traffic to the Anycast IPv6 address from R2 and R3:
R2 path: _______________________________
_______________________________
R3 path:________________________________
________________________________
c. Shut down loopback 0 on R1.
d. What effect does that have on the network?
____________________________________________________________________________________
____________________________________________________________________________________
e. Traceroute 100::1 on R2 what is the path taken?
__________________________________________
__________________________________________
__________________________________________
f. Use the following command on R4:
R4#ping 2001:db8:acad:1::2 source lo0
g. What was the result? Explain.
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Page 7 of 7