Options

Why have two ip addresses assigned to the same interface?

JockVSJockJockVSJock Member Posts: 1,118
Lammle's latest Routing and Switching book in Chp 6 pg. 245 talks about having two ip addresses assigned to the same interface.

I can't replicate this command via Packet Tracer, however this sort of an example that he uses in the book.
int fa0/1 
ip address 192.168.100.10 255.255.255.0 
ip address 192.168.100.11 255.255.255.0 secondary 

Lammle doesn't go into the reason why there is a need to have two ip addresses assigned to the same interface. Can anyone think of a reason?
***Freedom of Speech, Just Watch What You Say*** Example, Beware of CompTIA Certs (Deleted From Google Cached)

"Its easier to deceive the masses then to convince the masses that they have been deceived."
-unknown

Comments

  • Options
    Architect192Architect192 Member Posts: 157 ■■■□□□□□□□
    Cisco IOS IP Configuration?Guide, Release?12.2 - Configuring IP Addressing [Cisco IOS Software Releases 12.2 Mainline] - Cisco

    Assigning Multiple IP Addresses to Network Interfaces

    Cisco IOS software supports multiple IP addresses per interface. You can specify an unlimited number of secondary addresses. Secondary IP addresses can be used in a variety of situations. The following are the most common applications:

    blank.gifThere might not be enough host addresses for a particular network segment. For example, suppose your subnetting allows up to 254 hosts per logical subnet, but on one physical subnet you must have 300 host addresses. Using secondary IP addresses on the routers or access servers allows you to have two logical subnets using one physical subnet.

    blank.gifMany older networks were built using Level 2 bridges, and were not subnetted. The judicious use of secondary addresses can aid in the transition to a subnetted, router-based network. Routers on an older, bridged segment can easily be made aware that many subnets are on that segment.

    blank.gifTwo subnets of a single network might otherwise be separated by another network. You can create a single network from subnets that are physically separated by another network by using a secondary address. In these instances, the first network is extended, or layered on top of the second network. Note that a subnet cannot appear on more than one active interface of the router at a time.
    Current: VCAP-DCA/DCD, VCP-DCV2/3/4/5, VCP-NV 6 - CCNP, CCNA Security - MCSE: Server Infrastructure 2012 - ITIL v3 - A+ - Security+
    Working on: CCNA Datacenter (2nd exam), Renewing VMware certs...
  • Options
    cpartincpartin Member Posts: 84 ■■□□□□□□□□
    Legacy equipment / application support is one example. I have a site that uses this for that reason.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    Migration from one subnet to another is a big reason I've seen this as well. Throw the new network on and then devices can be migrated at the owners convenience. Once all devices are moved to the new subnet remove the old one.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    tomtom1tomtom1 Member Posts: 375
    I've seen it in the datacenter world as well.. Multiple subnets on the same VLAN.
  • Options
    HeeroHeero Member Posts: 486
    In real applications, it is mostly used for IP address transitions. When we made customers renumber, we would make the change on our end of the connection and make the current address the secondary, and the new address the primary. Then we would copy any rDNS entries over, and then we would inform the customer that they need to change their IP address to the new IPs within X days. They can do it at their own convenience...you don't have to coordinate with them. Then when they let you know they finished, remove the old address (currently the secondary address).

    There are plenty of other ways you could use them, but IP address transitions are the main thing I can think of where there isn't a different, better way to accomplish it.
Sign In or Register to comment.