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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Basic EIGRP config

Hi All,

May i kindly solicit any help as to why some books configures EIGRP in a way illustrated herein.

A router needs to advertise the following routes:

And this was eventually advertised as

Network .....why?

My confusion was that these routes were /32 (mask) and i expect the network advertise statements to be as follows:

To add salt to the injuries the author further advised that one should be as precise as possible when advertising a route on routing processes.......but to me he doesn't seems to adhere to that or maybe i am wrong?

Please help me out!!!!!!!

May i humbly ask that only express explanations shall be appreciated and not 100 pages of cisco web link.


Hall of Fame Super Blue

Re: Basic EIGRP config is an inverse mask used when specifying EIGRP network statements (among other things). equates to as a normal subnet mask covers the loopback addresses of


New Member

Re: Basic EIGRP config

Just to add something to what Joe has written, your auther is rite when he says use PRECISE routes. For instance, currenlty your router needs to advertise

and you know that will let you advertise 4 IPs from to, but what if you also need to, then this will not work, as you would have to additionaly specify the route for as adding the bit in the wild mask will make it, which equates to 8 IPs, meaning from to, whereas you only need to to be advertised, hence, you would adv, and ...

However there is another way on advanced level, where you can even go further for bit by bit subnetting, but i guess that does not come under the scope of this discussion :)



New Member

Re: Basic EIGRP config

Hello All,

I am most grateful for your responses and my apologies for the late reply.

To ascertain that i now i understand this combined wild-casting, would i be correct if the addreses are now written as follows?.



Would this mean the same as the, and if so where does the 3 come from knowing well that the given addreses are /32

Resolving the misery 3 in the wild cast mask, would make things much clearer

Many thanks in advance.

Hall of Fame Super Blue

Re: Basic EIGRP config

Okay, do you understand subnet masks and how they are derived ie. gives you

If you understand the above then the is really just a different

way to write it and is called an inverse mask. Easiest way to remember it is

256 - 252 - 1 = 3 so =

So would be

256 - 240 = 16 - 1 = 15 so = would be

256 - 192 = 64 - 1 = 63 so =

Hope this makes sense.


Hall of Fame Super Silver

Re: Basic EIGRP config

Hello Net,

in IGP routing protocols the network commands are processed like the statements of an ACL: in this case to show this the author used this example.

all interfaces with IP addresses matching the network command (like an ACL) will be advertised and for lan and wan interfaces they will try to build adjacencies by sending out EIGRP hello packets.

The problem comes if you need to have some interfaces with EIGRP process 100 and some with EIGRP process 200.

In this case you need to be as precise as possible.

In a case like this even net could satisfy the requirement.

Hope to help


New Member

Re: Basic EIGRP config

Hi Giuslar,

I don't really agree with you on that. Network commands are maybe processed sequentially, but they do no work like ACLs. In ACLs, the first matching command is worked on and rest are skipped. However network commands search for the "More specific prefix of subnet" and hence uses the most precise route for the routing.

Addtionaly, if you don't care for the subnets based routing, you can never understand the VLSM.

Hall of Fame Super Silver

Re: Basic EIGRP config

Hello Mohsin,

I was trying to provide an analogy for someone like the thread's originator that is studying EIGRP.

My experience with OSPF for example is that network area statements are treated as ACL statements: you cannot move a subnet to a new area by adding a new network area X command if the subnet already matches a present network area command, from this kind of scenarios comes the need to be as precise as possible to be ready for future developements.


the ability to advertise subnets with a variable subnet mask is a routing protocol's property that for EIGRP and RIPv2 is influenced by the auto-summary command : they both by default summarize at major network boundary (Class A,B,C )when sending updates out an interface that is in another major network (another Class A,B,C)

This VLSM capability is not influenced by the network commands inside the router process that actually act as placeholders for one or more connected subnets.

In fact, EIGRP accepts network commands with wildcard masks only from release 12.0(5)T and I used routers that only allowed to provide the network command. Even those routers were capable of VLSM.

VLSM capable = carry subnet mask in updates = classless routing protocol

Hope to help


New Member

Re: Basic EIGRP config

They key is to understand subnetting first, before understanding wildcard masks. The hosts that you have listed all reside within the subnet mask of (0 being the network # & 3 being the bcast address with 2 usable hosts). The wildcard mask of this is The easiest way to figure out a wild card mask is subtracting from




So if your subnet mask were


= (wildcard mask)

The author was showing the routes were summarized by the /30 mask which is more explicit than a /24 mask.

New Member

Re: Basic EIGRP config

Hello All,

A very big thanks to you all for your willingnes to assist me.

To be sure i now understood this wildcard cast, let say i am asked to advertise the following on OSPF or EIGRP, since they both require wildcard masking. -

would i be correct to advertise the network as

Because all i could come up with from your explanations was that,we summarise given addresses and then minus it from 255.

Again, does that mean that if the same question was asked but now with 64 sitting in the third octet i.e -

Would i then be correct to advertise the network as

Kindly accept my apologies in advance if at all my question is becoming a pain to anyone.


New Member

Re: Basic EIGRP config

not quite there yet...

with a you would probably get an error message saying incosistant network/mask (something like that)

I wildcard mask of translates to mask (or /25) with that mask you can only break it down to two available networks


You have the private class C of /24. You want to break it down to two subnets, they would then become (.1-.126 are usable) /25 (.129 - .254 are usable)

so for the statement you included, it would become or you could get alot more specific & do something like (which would cover .64 - .79)

As for you example with the 64 in the third octect, that isn't quite correct either. You cannot have the 64 in the third octect with a wildcard mask of 127 in the 3rd octet...Also, once you put a number other than 0 in the third octet, then the 4th octet in the wildcard mask automatically becomes 255.

With an example of (/24)

When you have the wildcard mask for this, it would be The reason for that is everything is reversed = network number - .254 = usable hosts = broadcast address

You figure out this info from the combination of the address & the subnet mask

With the wildcard, you still figure out the same info



What the 0 in the first octet represents is that your address has to match exactly to the 192

The 0 in the 2nd octet means you have to match exactly to the 168

The 0 in the third octet means it has to match exactly to the 1

The 255 in the last octet, means it can be any number within the range.

This logic is the complete opposite of a normal subnet mask. In a normal subnet mask. 255's must match & the 0 can be anything.

I know it seems confusing but once you get the hang of it, it is pretty easy. You really need to start out with understanding subnetting before going on to wildcard masks & supernetting (you attempted supernetting in your 2nd example)

To try and help with the subnetting....

Take the binary number 11111111. In decimal form it is 255.

Each of these ones have a numerical weight to it

128 64 32 16 8 4 2 1 (number weight)

1 1 1 1 1 1 1 1 (binary number)

Add up the number weights is how you get to 255

Take the subnet (62 usable hosts) You can figure out the usable hosts by calculating the binary value

192 = 11000000

Look at the number weight above your last one which is 64 then subtract two (network & bcast). The ones represent your network portion & the 0's represent your hosts portion. When all ones, it represents a bcast address.

So if you were to break down the (/26) into usable subnets it would look like this... /26 /26 /26 /26

so it is broken down into 4 usable subnets. Each subnet with its own network, hosts, bcast.

After you understand this, subnetting & supernetting will fall into place.

New Member

Re: Basic EIGRP config

The author is correct. You should always be as precise as possible whenever advertising routes to avoid issues when further addresses are added later, especially if they are added at different locations in your network.

"Network" achieves the above.

While your advertisement (Network, will advertising the /32 addresses successfully, is also advertising everything else in the subnet. This can become a problem later on for the reason stated above.

Hope this helps