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

What is the correct way to advertise EIGRP networks?

Looking at the network advertisement under EIGRP it looks like all the network are advertised as host yet the routing table shows the correct subnet sizes when I do show ip route.  The networks are show in the running config as follows:



The routing table shows the networks correctly as shown here:

C is directly connected, Vlan20
C is directly connected, Vlan10

It seems to me that the correct way to advertise the networks is as follows:



With EIGRP does it make any difference in which way you enter the network advertisments and which is the best practice?

Cisco Employee

What is the correct way to advertise EIGRP networks?


This is a common question.

The mask in the network command has no effect on the advertised netmask whatsoever. In reality, the network command with the subnet and the mask merely defines a range of addresses. If a directly connected interface's address falls into one of these ranges, then the interface including its real subnet and mask is added to the routing protocol, and the real subnet/mask will be advertised.

In your particular case, the command network defines a range of a single IP address - If any directly connected interface has its IP address set to, then this interface including its real network will be added to EIGRP. Assuming that the interface is configured as, then EIGRP will be advertising the network, regardless of the wildcard mask present in the network statement.

Personally, I mostly prefer specifying the exact IP address of the interface and the wildcard mask in the network statement, because of a couple of reasons:

  • It is very precise - each network command specifies an exact interface you want to add, not a possible range of interfaces
  • It is easy - you don't have to specify exact network and recalculate the subnet mask into wildcard mask
  • It is similar to the way how the IPv6 routing protocols work in that you add interfaces, not networks, to the routing process. Specifying an exact IP address is similar to individually adding each interface to the routing process.

Surely, however, specifying a dozen or more interfaces using this method can be tedious, so there are situations where a network statement specifying a larger network is outspokenly useful.

Please feel welcome to ask further!

Best regards,