Solved

Diff  b/w Sub interfaces and Secondary

Posted on 2006-07-19
4
284 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
  • 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

840 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