Textbook Notes (280,000)
CA (170,000)
U of A (2,000)
ECE (30)
ECE495 (20)
mint (20)
Chapter 1

ECE495 Chapter Notes - Chapter 1: Static Routing, Default Route, Routing Table

Electrical and Computer Engineering
Course Code

This preview shows half of the first page. to view the full 2 pages of the document.
Configuring Static Routes v1.10 – Aaron Balchunas
* * *
All original material copyright © 2007 by
Aaron Balchunas (aaron@routeralley.com),
unless otherwise noted. All other material copyright © of their respective owners.
This material may be copied and used freely, but may not be altered or sold without the expressed written
consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.
- Configuring Static Routes -
Configuring Static Routes
The basic syntax for a static route is as follows:
Router(config)# ip route [destination_network] [subnet_mask] [next-hop]
Consider the following example:
RouterA will have the and networks in its
routing table as directly-connected routes. To add a static route on RouterA,
pointing to the network off of RouterB:
RouterA(config)# ip route
Notice that we point to the IP address on RouterB’s fa0/0 interface as the
next-hop address. Likewise, to add a static route on RouterB, pointing to the network off of RouterA:
RouterB(config)# ip route
To remove a static route, simply type no in front of it:
RouterA(config)# no ip route
On point-to-point links, an exit-interface can be specified instead of a next-
hop address. Still using the previous diagram as an example:
RouterA(config)# ip route fa0/1
RouterB(config)# ip route fa0/0
A static route using an exit-interface has an Administrative Distance of 0, as
opposed to the default AD of 1 for static routes. An exit-interface is only
functional on a point-to-point link, as there is only one possible next-hop
You're Reading a Preview

Unlock to view full version