Solved

Diff  b/w Sub interfaces and Secondary

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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