Interface with 2 Subnets

Unanswered Question
balajitvk Thu, 07/27/2006 - 06:49
User Badges:
  • Silver, 250 points or more

Dear Miller,

Yes it is possible,

U can create subinterface and can assign ip from each subnet to each interface or u can even have one ip as primary and other as secondary.


balajitvk Thu, 07/27/2006 - 07:01
User Badges:
  • Silver, 250 points or more


Nothing required. You can use the same.

ip address ip-address mask [secondary]

no ip address ip-address mask [secondary]

ip-address IP address.

mask Mask for the associated IP subnet.

secondary (Optional) Specifies that the configured address is a secondary IP address. If this keyword is omitted, the configured address is the primary IP address.

Rate if it does,


Richard Burts Thu, 07/27/2006 - 11:38
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


There are a few things to keep in mind when you configure a secondary address on an interface:

- any packet originated by the router (routing update, syslog, snmp, etc) and sent out that interface will use the primary address as the source address and not the secondary.

- if you run a dynamic routing protocol that establishes neighbor relationships (EIGRP, OSPF) they will form neighbor relationships on the primary address and not on the secondary address. (the dynamic routing protocol can advertise the secondary address if it matches a network statement, but can only form neighbor relationships on the primary).

- if you have multiple routers sharing a segment where you are configuring secondary addressing each of the routers needs to use the same subnet as the primary address.




This Discussion