Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Advertise route as OSPF, but I see it as "EIGRP" ?

Sorry if this is a stupid question but I don't understand well why I am able to see route

D on RouterD.

Basically the network has been advertised via OSPF on RouterC interface. However, that was not advertised there as an EIGRP route...

How come I am able to see it on RouterD as EIGRP ?

Please find attached complete run config.

Please note I am doing one-way redistribution EIGRP->OSPF. Therefore in my view that doesn't justify the EIGRP route for on RouterD.

RouterB so]===[s0 RouterC s01]===[s0 RouterD]

RouterB s0=

RouterB S1=

RouterD S0=

From RouterD:

Gateway of last resort is not set is variably subnetted, 3 subnets, 2 masks

C is directly connected, Loopback0

C is directly connected, Serial0/0

D [90/2681856] via, 00:01:58, Serial0/0


Re: Advertise route as OSPF, but I see it as "EIGRP" ?


You are inadvertently advertising network via EIGRP. The network statement you have under EIGRP,, includes and hence, the route shows up as an EIGRP route on RouterD.

You are well advised to be as specific as possible when configuring the network statements under the protocol to avoid this type of problem.

Try this config.

router eigrp 100

no network


You can even configure the network statement as and that's even better.

Hope this helps!


New Member

Re: Advertise route as OSPF, but I see it as "EIGRP" ?

Ah, Sundar. I goofed on this.

Although I had the intention to advertise it as a specific route 'network' I forgot to enter the inverse mask. That explains.

Thank you for your speedy response !!

New Member

Re: Advertise route as OSPF, but I see it as "EIGRP" ?


I think it's because you are summarising the 152 network which covers your subnet and since EIGRP admin distance (90) is preferred over OSPFs (110) the router is placing it in the routing table as an EIGRP learned route.

Try no auto-summary in EIGRP....and OSPF for that matter. Also your network statement in OSPF technically are incorrect...for example for the serial links which have a /30 mask they should read for example area 0.... unless of course you want to advertise the /32 host only

New Member

Re: Advertise route as OSPF, but I see it as "EIGRP" ?

This is important:

Are you saying that the ospf advertisements

as ' area 0' are incorrect then ?

If I do 'show ip route', the route learned appears as '', which is the correct network. Doesn't it mean that for the router, it is actually optional if I do '' or '' ? I thought it was optional and it would give same results.

New Member

Re: Advertise route as OSPF, but I see it as "EIGRP" ?

no Im not saying it's incorrect. If you are trying to advertise then yes it is incorrect.Most people would advertise the network instead of the host. Generally when you advertise a /32 host it's a loopback.

Re: Advertise route as OSPF, but I see it as "EIGRP" ?

Just one correction here.

network area 0 is CORRECT, if the interface IP is

The main misunderstanding encountered is: the network statement and especially the wildcard mask determine the routing updates sent. Wrong.

The only purpose the network statement serves in OSPF is to identify the IP interfaces where to send hellos and include the networks with configured mask into routing updates (LSAs).

So f.e.

router ospf 10

network area 0

has nothing to do with a default route. it just means: "Include any active IP interface into OSPF and send hellos." Still configured network/mask would be announced correctly.

Writing this I would even recommend instead of to use

network area 0

because you will not unintentionally enable OSPF on an interface, where it should not start (f.e. towards ISP).

Hope this helps! Please rate all posts.

Regards, Martin

CreatePlease login to create content