Solved

Diff  b/w Sub interfaces and Secondary

Posted on 2006-07-19
4
301 Views
Last Modified: 2010-03-19
hi
i have one more qsuesion and that is what is the difference between Subinterfces and Seconadry Command ... please give me some pracical answer rather than the defination... in what kind of envoirnment we can use ..... them

Regards
ASad
0
Comment
Question by:annasad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Sorenson
ID: 17137620
Subinterfaces are used to define seperate routable layer three networks.  They are used in frame relay to define seperate point-to-point or point-to-multipoint circuits, each then has its own layer 3 address.  They are also used to define and route or access seperate vlans when the router is connected to a 802.1q trunked port of a switch.  Subinterfaces create logical seperate interfaces.  

The secondary command adds a second address to an existing layer 3 interface.  In general it is not good practice to use a secondary address except when absolutely necc.  It is used for migrations from one ip scheme to the next, or as a temporary solution.  A secondary address means that you are running two seperate address spaces in a single layer 2 network.
0
 
LVL 32

Accepted Solution

by:
rsivanandan earned 125 total points
ID: 17138283
Cisco routers had the capability of assigning more than one ip address to the interface which can be done both by using 'secondary' keyword or using subinterfaces.

However, 'secondary' was introduced first so that a single physical interface can have multiple networks and route among themselves.

Then came the limitation of parameters that can be defined on a single physical interface. So they introduced the subinterface component.

For example, frame-relay circuits can have different 'point-to-point' connections with different DLCI. In such a case if you use 'secondary' it wouldn't work. So when you use subinterface, you basically split out the interfaces from one another.

example would be;

int s0/0.1
frame-relay interface dlci 100

int s0/0.2
frame-relay interface dlci 200

See the flexibility ? So now subinterfaces are promoted and Cisco advises to use that instead of 'secondary'

Hope that helps understand.

Cheers,
Rajesh
0
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17145138
May I know why grade B ?

Cheers,
Rajesh
0
 
LVL 1

Author Comment

by:annasad
ID: 17145184
YES YOU CAN .....
WHAT YOU HAVE EXPLAINED IS ..... CORRECT..... BUT WHAT I HAVE UNDERSTOOD WAS DIFFERENT ...... AND I NEED TO IMPLEMENT IT AND IT TAKES THE TIME WHEREEVER  QUESTION ARE FOR SHORT TIME ..

NEVER MIND ..... I WILL MAKE IT A ... IF I COULD IN CUMMING MAILS
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month5 days, 9 hours left to enroll

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question