RIP v2 with Authentication

 

Outline

 

This challenge involves the configuration of RIP Version 2 with authenticated routing tables. The objectives of this challenge are to:

 

 

Commands

 

> en

# config t

(config)# router rip

(config-router)# version 2

(config-router)# network 194.205.128.0

(config-router)# exit

(config)# key chain martin

(config-keychain)# key 1

(config-keychain-key)# key-string officer

(config-keychain-key)# exit

(config-keychain)# exit

(config)# int e0

(config-if)# ip rip authentication key-chain martin

(config-if)# ip rip authentication mode md5

 

Example

 

> en

# config t

(config)# router rip

(config-router)# ?

Router configuration commands:

  address-family          Enter Address Family command mode

  auto-summary            Enable automatic network number summarization

  default                 Set a command to its defaults

  default-information     Control distribution of default information

  default-metric          Set metric of redistributed routes

  distance                Define an administrative distance

  distribute-list         Filter networks in routing updates

  exit                    Exit from routing protocol configuration mode

  flash-update-threshold  Specify flash update threshold in second

  help                    Description of the interactive help system

  input-queue             Specify input queue depth

  maximum-paths           Forward packets over multiple paths

  neighbor                Specify a neighbor router

  network                 Enable routing on an IP network

  no                      Negate a command or set its defaults

  offset-list             Add or subtract offset from IGRP or RIP metrics

  output-delay            Interpacket delay for RIP updates

  passive-interface       Suppress routing updates on an interface

  redistribute            Redistribute information from another routing

                          protocol

  timers                  Adjust routing timers

  traffic-share           How to compute traffic share over alternate paths

  validate-update-source  Perform sanity checks against source address of

                          routing updates

  version                 Set routing protocol version

(config-router)# version 2

(config-router)# network 194.205.128.0

(config-router)# exit

(config)# key ?

  chain       Key-chain management

  config-key  Set a private configuration key

(config)# key chain ?

  WORD  Key-chain name

(config)# key chain martin

(config-keychain)# ?

Key-chain configuration commands:

  default  Set a command to its defaults

  exit     Exit from key-chain configuration mode

  key      Configure a key

  no       Negate a command or set its defaults

(config-keychain)# key ?

  <0-2147483647>  Key identifier

(config-keychain)# key 1

(config-keychain-key)# key-string officer

(config-keychain-key)# exit

(config-keychain)# exit

(config)# int e0

(config-if)# ip rip authentication ?

 key-chain  Authentication key-chain

 mode       Authentication mode

(config-if)# ip rip authentication key-chain martin

(config-if)# ip rip authentication mode ?

  md5   Keyed message digest

  text  Clear text authentication

(config-if)# ip rip authentication mode md5