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.

In situations where you have <strong>network</strong>s that consist of nonbroadcast media, or<br />

where it is desirable only <strong>to</strong> exchange routing updates between two hosts connected<br />

over broadcast-supported media, IOS provides <strong>the</strong> router subprocess command<br />

. The ISP provider for <strong>the</strong> Albany <strong>network</strong> uses Frame<br />

Relay over HDLC, so a neighbor must be specified:<br />

asbr-a1(config-router)#neighbor 12.14.116.66<br />

Configuring Au<strong>the</strong>ntication<br />

When you employ any routing pro<strong>to</strong>col in a publicly accessible environment, it is<br />

wise <strong>to</strong> use au<strong>the</strong>ntication <strong>to</strong> verify with whom you are exchanging route<br />

advertisements. RIP version 2 supports clear text and MD5 au<strong>the</strong>ntication. Both<br />

routers must exchange <strong>the</strong> same password regardless of <strong>the</strong> au<strong>the</strong>ntication method.<br />

To use au<strong>the</strong>ntication, each router needs <strong>to</strong> create a and key and <strong>the</strong>n<br />

enable au<strong>the</strong>ntication on <strong>the</strong> appropriate interfaces. To set up a key chain, use <strong>the</strong><br />

following:<br />

asbr-a1(config)#key chain test<br />

asbr-a1(config-keychain)#key 1<br />

asbr-a1(config-keychain)#key-string atestkey<br />

asbr-a1(config-keychain)#accept-lifetime 12:00:00 31 dec 1998 infinite<br />

asbr-a1(config-keychain)#send-lifetime 12:00:00 31 dec 1998 infinite<br />

The example above creates a key-chain called "test" and a single key with <strong>the</strong><br />

password "atestkey." A key chain containing a key with "atestkey" as a password<br />

must also be created on all routers that asbr-a1 wishes <strong>to</strong> exchange route<br />

announcements. After <strong>the</strong> keys are in place, <strong>the</strong> interface is configured:<br />

asbr-a1(config)# interface s1<br />

asbr-a1(config-if)#ip rip au<strong>the</strong>ntication key-chain test<br />

asbr-a1(config-if)#ip rip au<strong>the</strong>ntication mode md5<br />

NOTE

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

Saved successfully!

Ooh no, something went wrong!