Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
A network that belongs to a secondary IP address is not advertised
The secondary IP address feature allows addresses from multiple subnets to be configured under the same interface simultaneously, which can be useful typically on a LAN segment under various circumstances. When secondary IP addresses are used, there might be issues advertising that prefix over the primary network and vice-versa under the same interface, since different routing protocols behave differently with secondary addresses.
When Routing Information Protocol (RIP) or Interior Gateway Routing Protocol (IGRP) are used as the routing protocol, enabling split horizon prevents the network of the secondary addresses from being advertised over the primary network.
Enhanced Interior Gateway Routing Protocol (EIGRP) can form neighbor relationship using only the primary address, and the rule of split-hozizon also applies to EIGRP.
Open Shortest Path First (OSPF) can also form adjacency only over the primary network, and it expects both the primary and secondary network to be included under OSPF as part of the same area, since an interface can only belong to one area at a time.
Integrated Intermediate System-to-Intermediate System (IS-IS) uses its own Protocol Data Unit (PDU) and does not rely on IP for exchanging routing protocol information. But, the router receiving the hellos checks if at least one of the IP addresses being received from the neighbor is part of the same subnet as its own configured address. If there are multiple routers on a LAN segment with a primary and secondary network, it must be ensured that the router configured with the secondary address becomes the Designated Intermediate System (DIS) for that segment. Otherwise, it might result in inconsistent topology description, as some routers do not accept certain other routers as neighbors since they are not part of the same subnet, and each set of routers has its own view of which is the DIS and how they are connected.
To disable split horizon for RIP and IGRP, issue the no ip split-horizon eigrpas-number command under the interface on which secondary addresses are configured. The routes that are advertised also depend on whether the subnets of the primary and secondary addresses belong to the same major network or a different one.
For EIGRP, make sure that both the primary and secondary networks are included under the routing process by issuing the networkip-address [subnet-mask] command. Since the split horizon rule applies to EIGRP also, disable it by issuing the no ip split-horizon eigrpas-number command under the interface on which secondary addresses are configured.
For OSPF, ensure that both the primary and secondary network are included under the routing process and configured to be part of the same area by issuing the network ip-address wildcard-mask area area-id command.
For ISIS, make sure that the router configured with secondary address is elected as the DIS by increasing its interface priority by issuing the isis prioritynumber-value [level-1 | level-2] command under the interface configuration mode.