CCNA 3.8.c: Host Route

Overview:

A host route is used to route traffic to a specific host.  The subnet mask in the route will always be all 1's.  That means the subnet mask for a host route will be /32 for IPv4 and /128 for IPv6.

 

Study Notes:

  • A host route is configured to route packets to a specific host
  • The subnet mask will be all 1's
  • The IPv4 subnet mask of a host route will always be /32
  • The IPv6 subnet mask of a host route will always be /128
  • Host routes are automatically added to the routing table for all IPv4 and IPv6 addresses that are configured on the router
  • The purpose of a host route is to create a corresponding CEF entry as a receive entry so that the packets destined to this IP address can be processed by the router itself
  • Loopback interfaces are commonly created with /32 subnet masks and will therefore appear as a host route in the routing table
  • Host routes are the most specific route possible and therefore take precedence over all other routes (based on the network mask)
  • Configure an IPv4 host route by typing:
config t
    ip route <host-to-route-to> 255.255.255.255 <exit-interface-on-this-router>
    --OR--
    ip route <network-to-route-to> <subnet-mask> <next-hops-ipv4-address>
  • Configure an IPv6 network route by typing:
config t
    ipv6 route <network-to-route-to>/<subnet-mask> <exit-interface-on-this-router>
    --OR--
    ipv6 route <network-to-route-to>/<subnet-mask> <next-hop-ipv6-address>

 

Labs:

PacketTracer Lab: CCNA-3.8.c-Host-route.pkt

Subscribe Now for access to the labs!

 

Links:

https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/116264-technote-ios-00.html?dtid=osscdc000283

 

Leave a Reply
s2Member®
Built by TrailSix