140 likes | 258 Views
Introduction to networking ( Yarnfield ). Static routes. Objectives. Describe what a static route is Define what administrative distance refers to Describe how to configure a static route. Static routes. Static routes are commonly used when routing from a network to a stub network
E N D
Introduction to networking(Yarnfield) Static routes
Objectives • Describe what a static route is • Define what administrative distance refers to • Describe how to configure a static route
Static routes • Static routes are commonly used when routing from a network to a stub network • A stub network is a network that can only be accessed by one route • Routing protocols used in stub networks can be a waste of resources • Therefore static routes are configured for connectivity to remote networks that are not directly connected to a router
Static route operation Next hop address Next hop IP address
Administrative distance • A measure of reliability • When there are two or more protocols showing two or more routes to a destination, the router uses the admin distance to determine which protocol to use • Lower values are more reliable • Static routes have a default admin distance of 1 • However, a true directly connected route has an admin distance of 0! • To verify the administrative distance use • show ip routeaddress
Configuring static routes Hoboken must be configured so that it can reach the 172.16.1.0 network and the 172.16.5.0 network. Both of these networks have a subnet mask of 255.255.255.0. Admin. Distance set to 0 as none in specified Hoboken(config)#ip route 172.16.1.0 255.255.255.0 s1 Hoboken(config)#ip route 172.16.5.0 255.255.255.0 s0
Configuring static routes Admin. distance set to 1
Configuring default route forwarding Default routes are used to route packets with destinations that do not match any of the other routes in the routing table
Summary • Static and dynamic routing is often used together • Static routes are commonly used with stub networks i.e. networks with only one way to access them • Administrative distance is a measure of reliability
Questions... • ...are there any?