LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-13-2012, 05:57 PM   #1
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
VLAN trunk vs. subint question from CCNA student.


Ok, I'm going through my CCNA and I've gotten to the section on vlans. It talks about using subinterfaces for routing between vlans. My question is why would you use subints as opposed to just having a trunk connection to a layer 3 device? Is there something gained, or is it just a matter of preference?
 
Old 04-14-2012, 04:18 AM   #2
Da_Nuke
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Rep: Reputation: Disabled
Because different VLANs are different broadcast domains, so in order to route between them you need one subinterface for each VLAN. Otherwise, there would be no layer 3 routing.

Also, subinterfaces are meant to be a more general-purpose abstraction on layer 3 devices than an Ethernet trunk. Right off the top of my head I remember that subinterfaces are also used on Frame Relay networks to use a certain DLCI, i.e. if you create a subinterface on an Ethernet interface IOS will enable trunking on the port, and if you do it on a serial interface with Frame Relay encapsulation it will be bound to a virtual circuit.

Last edited by Da_Nuke; 04-14-2012 at 06:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie CCNA student TheATLWizard LinuxQuestions.org Member Intro 2 06-28-2011 04:38 PM
To Trunk or not to Trunk... kernel version craziness Seemoi Debian 7 04-09-2010 03:30 PM
VLAN trunk and loop ashan Linux - Networking 3 03-31-2009 03:15 AM
FreeBSD - need help making vlan for multi-port trunk.. BrianK *BSD 1 06-13-2006 01:48 PM
Linux VLAN Trunk? teamchachi Linux - Networking 1 07-28-2005 11:50 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration