www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / IP Routing Solutions / Lab 38 Solution: Passive Interfaces for RIPv2 Updates

Lab 38 Solution: Passive Interfaces for RIPv2 Updates

Task 1:

For reference information on configuring hostnames, please refer to:

Lab 35 Configuration and Verification Task 1

Task 2:

For reference information on configuring DCE clocking, please refer to:

Lab 35 Configuration and Verification Task 2

Task 3:

For reference information on configuring Loopback interfaces, please refer to:

Lab 31 Configuration and Verification Task 3

For reference information on configuring RIPv2, please refer to:

Lab 35 Configuration and Verification Task 4

Lab 36 Configuration and Verification Task 5

Lab 37 Configuration and Verification Task 4

Task 4:

R1#show ip protocols

Routing Protocol is “rip”

Sending updates every 30 seconds, next due in 19 seconds

Invalid after 180 seconds, hold down 180, flushed after 240

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Redistributing: rip

Default version control: send version 2, receive version 2

Interface             Send  Recv  Triggered RIP  Key-chain

Serial0/0                2     2

Loopback100           2     2

Loopback101           2     2

R1#debug ip rip

RIP protocol debugging is on

*Mar  1 03:09:46.237: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (192.168.0.1)

*Mar  1 03:09:46.237: RIP: build update entries

*Mar  1 03:09:46.237:   10.10.100.0/27 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:09:46.237:   10.10.101.0/26 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:09:53.248: RIP: sending v2 update to 224.0.0.9 via Loopback101 (10.10.101.1)

*Mar  1 03:09:53.248: RIP: build update entries

*Mar  1 03:09:53.248:   10.10.100.0/27 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:09:53.248:   192.168.0.0/30 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:09:53.252: RIP: ignored v2 packet from 10.10.101.1 (sourced from one of our addresses)

*Mar  1 03:10:09.070: RIP: sending v2 update to 224.0.0.9 via Loopback100 (10.10.100.1)

*Mar  1 03:10:09.070: RIP: build update entries

*Mar  1 03:10:09.070:   10.10.101.0/26 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:10:09.070:   192.168.0.0/30 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:10:09.074: RIP: ignored v2 packet from 10.10.100.1 (sourced from one of our addresses)

R1#

R1#undebug ip rip

RIP protocol debugging is off

NOTE: Pay particular note to the fact that RIPv2 is sending updates via the Loopback interfaces as illustrated:

 

*Mar  1 03:09:53.248: RIP: sending v2 update to 224.0.0.9 via Loopback101 (10.10.101.1)

*Mar  1 03:10:09.070: RIP: sending v2 update to 224.0.0.9 via Loopback100 (10.10.100.1)

 

Loopback interfaces are logical interfaces that have the majority of the characteristics of physical interfaces. However, one important thing to remember is that no host can ever reside on a subnet configured for a Loopback interface. If you assign a Loopback interface as /24 subnet mask, for example, you are simply wasting valuable IP address space. Given that no host can every reside on the same subnet as a Loopback interface, it is a waste of router resources to have a routing protocol send updates to a Loopback interface, as there will never be another router (or other device) that will ever respond back to these updates. Hence, when you configure Loopback interfaces, it is always considered best practice to disable routing protocols sending updates on them using the passive-interface command as illustrated.

Task 5:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#router rip

R1(config-router)#passive-interface loopback 100

R1(config-router)#passive-interface loopback 101

R1(config-router)#end

R1#

R1#show ip protocols

Routing Protocol is “rip”

Sending updates every 30 seconds, next due in 5 seconds

Invalid after 180 seconds, hold down 180, flushed after 240

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Redistributing: rip

Default version control: send version 2, receive version 2

Interface             Send  Recv  Triggered RIP  Key-chain

Serial0/0              2       2

R1#debug ip rip

RIP protocol debugging is on

R1#

*Mar  1 03:20:02.355: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (192.168.0.1)

*Mar  1 03:20:02.355: RIP: build update entries

*Mar  1 03:20:02.355:   10.10.100.0/27 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:20:02.355:   10.10.101.0/26 via 0.0.0.0, metric 1, tag 0

R1#

*Mar  1 03:20:28.974: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (192.168.0.1)

*Mar  1 03:20:28.974: RIP: build update entries

*Mar  1 03:20:28.974:   10.10.100.0/27 via 0.0.0.0, metric 1, tag 0

*Mar  1 03:20:28.974:   10.10.101.0/26 via 0.0.0.0, metric 1, tag 0

R1#undebug all

All possible debugging has been turned off

NOTE: Suppose you have a router with 1 Serial interface and 600 Loopback interfaces. Given such a scenario, issuing the passive-interface command for every one of those Loopback interfaces would take a great deal of time. Fortunately, Cisco recognized this and created the passive-interface default command in Cisco IOS. When this command is issued, all interfaces are configured passive. In order to send updates on a particular interface, you would negate that interface as not being passive by issuing the no passive-interface command followed by the interface(s) you want to send routing protocol updates on. This is illustrated below:

 

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#router rip

R1(config-router)#passive-interface default

R1(config-router)#no passive-interface serial0/0

R1(config-router)#end

R1#

 

The above configuration makes all interfaces configured for RIP passive with the exeption of interface Serial0/0. Make sure you remember this command, not only for the purposes of the CCNA exam, but for use in the real world.

 

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.