I have never seen secondary addressing used as a part of unequal load sharing. I would be very interested to know how it is used for that. Can you provide any scenario where that is used or can you provide any reference for this usage?
I believe that the other common useage of secondary addressing is to assist in the process of converting a network from one addressing range to another addressing range. For an example lets us think about a network that has been configured using IP address range 192.168.5.0. And let us assume that there is a need to convert this network to use addresses in the range 172.22.0.0. Our choices would be either to make a complete conversion of the entire network at one time. Our other choice would be to keep the primary address of 192.168.5.x on the router interface and to assign 172.22.y.y as a secondary address on the interface. This would allow us to make a phased conversion in which hosts in 192.168.5.0 would be able to communicate with hosts in 172.22.0.0 on the same local subnet. When the conversion is complete and all hosts are now in 172.22.0.0 they we replace the router primary address of 192.168.5.x with a new primary address of 172.22.y.y.
Thanks Rick, so this is a 4th use and in your view it is the most common one to be encountered in real networks.
Here's a description of how secondary IP@ can be used for unequal load sharing (found on net, it is not my own finding):
"Static routes allow you to set up load balancing after a fashion. Keep in mind that the IOS load balances across routes first and not interfaces. The easiest way to configure multiple routes on the same interface is to use the secondary IP command
interface serial 0
ip address 192.0.0.1 255.255.255.0
ip address 192.0.0.2 255.255.255.0 secondary ! second route on same interface
interface serial 1
ip address 22.214.171.124 255.255.255.0
ip address 126.96.36.199 255.255.255.0 secondary
ip route 188.8.131.52 255.255.255.0 184.108.40.206; goes to serial 0
ip route 220.127.116.11 255.255.255.0 18.104.22.168; goes to serial 0
ip route 22.214.171.124 255.255.255.0 126.96.36.199; goes to serial 1
interface ethernet 0
ip address 188.8.131.52 255.255.255.0
interface serial 0
ip address 184.108.40.206 255.255.255.0
ip address 220.127.116.11 255.255.255.0 secondary
interface serial 1
ip address 18.104.22.168 255.255.255.0
ip address 22.214.171.124 255.255.255.0 secondary
The traffic would go out router 1 across the two IPs on serial 0 first then across 1 IP on serial 1
Thank you for the explanation that you found. If you wanted multiple routes on an interface for some reason this would be a way to get it.
I did not say that secondary addressing used for changing addressing was the most common reason for secondary addressing. I believe that providing more IP addresses in a VLAN or on an interface is the most common use of secondary addressing. I just said that there was one more use to add to your list.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...