Re: EIGRP-Advertising the static route

From: Dale Shaw <dale.shaw_at_gmail.com>
Date: Wed, 29 Apr 2009 08:30:10 +1000

Hi Anantha,

On Tue, Apr 28, 2009 at 5:30 AM, Anantha Subramanian Natarajan
<anantha.natarajan_at_gravitant.com> wrote:
> When I am reading "Troubleshooting IP protocols" book on the EIGRP
> chapter,I am understanding that,EIGRP advertise the static route pointed to
> an interface which is advertised on the eigrp process,without having
> redistribute static command.

That's true for EIGRP. If you have a static route that points to an
interface for a next-hop, not an IP address, AND you have a 'network'
statement in the 'router eigrp' configuration stanza covering that
range, EIGRP will advertise the destination as an internal ("D")
route.

This is because when you point to an interface, you are essentially
saying "this IP network is directly connected to this interface".

e.g.

 ip route 192.168.1.0 255.255.255.0 FastEthernet0/0
 !
 router eigrp 100
  no auto-summary
  network 192.168.1.0 0.0.0.255
 !
 end

Note that configuring static routes in this way is generally not a
great idea, as the router will generate ARPs for all hosts in
192.168.1.0/24. If you're expecting to reach that network via another
router connected on Fa0/0, you're relying on the other router to proxy
ARP requests.

> Is the same also true for any other routing protocol ?

Try it and see for yourself.

cheers,
Dale

Blogs and organic groups at http://www.ccie.net
Received on Wed Apr 29 2009 - 08:30:10 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:13 ART