Information Technology Reference
In-Depth Information
Static Route Command Syntax Exercise
The command for configuring a static route is ip route . The complete syntax for configuring a static
route is as follows:
ip route prefix mask { ip-address | interface-type interface-number [ ip-address ]}
[ distance ] [ name ] [ permanent | track number ] [ tag tag ]
What is the a simpler version of this command's syntax?
Router(config)# ip route network-address subnet-mask { ip-address | exit-interface }
Explain the parameters of the command.
network-address : Destination network address of the remote network to be added to the routing
table.
subnet-mask : Subnet mask of the remote network to be added to the routing table. The subnet
mask can be modified to summarize a group of networks.
One or both of the following parameters must also be used:
ip-address : Commonly referred to as the next-hop router's IP address
exit-interface : Outgoing interface that would be used in forwarding packets to the destination
network
Static Routes with Next-Hop Address Exercise
Evaluating the Routing Table
Referring to Figure 2-1, neither static nor dynamic routing has yet been configured. However, all
interfaces are in the up and up state.
By referring to the topology only, you should be able to list the details of the routes that are currently
shown in each router's routing table. However, you can also refer to your saved version of Packet
Tracer Exercise 2-1 (LSG02-0201-task4.pka).
HQ: Five directly connected routes coded with a “C” in the routing table: one for each of the LAN
interfaces (172.16.0.0/16, 172.17.0.0/16) and three for each of the serial interfaces (10.0.0.0/30,
10.0.0.4/30, 209.165.201.0/30)
B1: Five directly connected routes code with a “C” in the routing table: four for each of the LAN
interfaces (192.168.20.0/24, 192.168.21.0/24, 192.168.22.0/24, 192.168.23.0/24) and one for the
S0/0/0 interface (10.0.0.0/30)
B2: Five directly connected routes code with a “C” in the routing table: four for each of the LAN
interfaces (192.168.160.0/24, 192.168.161.0/24, 192.168.162.0/24, 192.168.163.0/24) and one for the
S0/0/0 interface (10.0.0.4/30)
Each router needs to have a route pointing to the other remote networks. For this exercise, you will
disregard the ISP router. You will add the ISP router in the section “ Configuring Default Static Routes
Exercise,” later in the chapter.
Search WWH ::




Custom Search