cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
626
Views
0
Helpful
4
Replies

Secondary IP on interface

vinoth.kumar
Level 1
Level 1

Hi,

In our network in intial deployment we had some requirement to use the secondary IP on the same interface to have seperate broadcast domain

but is there the right way of doing it on the interface

and also when we need to run HSRP on the interface we are using the standby IP for the same

can u suggest us is there will any disadvantage using the secondary IP

4 Replies 4

ktwaddell
Level 1
Level 1

Hi

For us we normally use a secondary ip address when we are running out of ip addresses in the primary subnet, but what ever reason we can't re-address that LAN, so we bang a secondary ip address in.

As far as I know, there is only 1 way to configure it, so that is the right way.

and sorry I didn't understand what you are asking on the 3rd question.

Joseph W. Doherty
Hall of Fame
Hall of Fame

A secondary IP address resides in the same broadcast domain (except, perhaps, for a directed IP broadcast) as the primary IP address.

If you really want to isolate network segments, you'll want to use multiple VLANs on the interface (usually trunks for L2, VLAN subinterfaces for L3).

Wilson Samuel
Level 7
Level 7

Hi Vinoth,

Technically Broadcast Domain remains same unless there is a physical router involved (after all the packets are hitting the same Network Card).

As far as I understand, using Secondary IP Address has one primary disadvantage and that is one can't use any Routing Protocol for that Subnet/Network Add.

Also, this issue could (if this is an issue in the first place) by using Subinterfaces, that way one can still use the Routing Protocols.

However technically its still the same Broadcast Domain (because Broadcast Packets are still hitting the Interface at L-2)

Hope this helps.

Please rate all helpful posts.

Samuel

Perhaps we can clarify what you mean when you say:"Secondary IP Address has one primary disadvantage and that is one can't use any Routing Protocol for that Subnet/Network Add."

When you say that you can not use a routing protocol are you saying that you can not advertise the subnet of the secondary using a routing protocol, or are you saying that you can not establish routing protocol neighbor relationship using the secondary address?

The first is not true: you can advertise the subnet of the secondary using a routing protocol. The second is true: the routing protocol will not use the secondary address to establish a neighbor relationship.

HTH

Rick

HTH

Rick
Review Cisco Networking products for a $25 gift card