09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255<br />

Encapsulation PPP, loopback not set<br />

Last input 00:01:38, output 00:01:38, output hang never<br />

Last clearing of "show interface" counters never<br />

Input queue: 0/75/0 (size/max/drops); Total output drops: 0<br />

Queuing strategy: weighted fair<br />

Note that <strong>the</strong> two interfaces are both addresses from <strong>the</strong> same IP address subnet<br />

(this is not permitted, unless dial backup is in use). Although <strong>the</strong>se interfaces are<br />

joined at <strong>the</strong> hip, so <strong>to</strong> speak, both interfaces must be configured appropriately, as<br />

though <strong>the</strong>y were each <strong>the</strong> primary interface. This is accomplished by setting <strong>the</strong><br />

default route for each interface, instead of just setting a single next hop address. If<br />

this approach is not followed, when <strong>the</strong> primary interface fails, <strong>the</strong> default gateway<br />

will be lost and <strong>the</strong> traffic will be dropped by <strong>the</strong> router because it does not know<br />

where <strong>to</strong> send it.<br />

NOTE<br />

If a dynamic routing pro<strong>to</strong>col is used, this will not occur because pro<strong>to</strong>col will<br />

readjust its forwarding behavior for <strong>the</strong> link failure.<br />

Let's examine how <strong>the</strong> router behaves using this configuration. The following code<br />

output illustrates <strong>the</strong> IP routing table of our example router, leibniz, under normal<br />

operation, where <strong>the</strong> primary interface only is listed and is set as <strong>the</strong> gateway of last<br />

resort. The router leibniz's routing table under normal conditions looks like this:<br />

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP<br />

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area<br />

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2<br />

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP<br />

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate<br />

default<br />

U - per-user static route, o - ODR<br />

T - traffic engineered route<br />

Gateway of last resort is 172.168.44.4 <strong>to</strong> <strong>network</strong> 0.0.0.0<br />

S 172.16.0.0/16 [1/0] via 172.16.44.0<br />

C 192.168.191.0/24 is directly connected, E<strong>the</strong>rnet0<br />

S* 0.0.0.0/0 [1/0] via 172.168.44.4, Serial0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!