Had my prof try to explain router on a stick the other week and it was the most confusing concept. This video is awesome. It makes so much sense now. Thank you for doing this !
@KeithBarker12 жыл бұрын
Hi- Thanks for the question. The ports, going to the workstations on the left and right are configured as access ports. The port going to the left is an access port assigned to VLAN 2, and the one to the right is an access port assigned to VLAN 3. Thanks, Keith
@KeithBarker12 жыл бұрын
Thanks for your comment! best wishes, Keith
@KeithBarker12 жыл бұрын
Thanks for your comments. Best wishes, Keith Barker
@caspian13585 жыл бұрын
I just liked the video before even watching int coz I saw Keith was the publisher :) and no regrets after watching. Keith is amazing :)
@KeithBarker11 жыл бұрын
Some routers interfaces can act as a switchport, others can't depending on the model. If you are on a multi-layer switch device (like a 3560), using the command "switchport" converts it to a layer 2 port and then your layer 2 commands can work. "no switchport" (on compatible gear) converts it back to a layer 3 port. If your router doesn't support that, you can still use bridge groups to convert to layer 2, but that may beyond the scope at the moment.
@MainlinePub10 жыл бұрын
Loving the videos Keith. You break everything down so smoothly. I hope you teach!
@hagi201314 жыл бұрын
Thanks soo much, for being so generous your video truly helping lot of us out with here no money to take courses but hungry to learn. Thanks again s.
@emsantos74011 жыл бұрын
Your videos are awesome, Keith. You make the theory smoothly flows into your speech. I wish I could explain something to someone as clearly as you do. :-) This one on ROAS is very nice too! Regards, Elias
@KeithBarker11 жыл бұрын
Hello Mohamed- If we have a switch, that is a "multi-layer switch" that support routing, we would create a "Switched Virtual Interface" (SVI) instead of a sub-interface. These SVIs are logical layer 3 addresses, and we would have (or could have) one SVI for each vlan, using an IP address from the corresponding IP subnet.
@KeithBarker11 жыл бұрын
Each layer 3 routed interface is a different layer 2 broadcast domain (VLAN) by default. This means that by default a L3 router interface won't extend an existing VLAN to other ports on that same router by default.
@KeithBarker11 жыл бұрын
You can use secondary addreses, without trunking to route between two logical IP subnets in the same VLAN, but other than that, you will need 2 IP addresses, one for each subnet/VLAN.
@KeithBarker12 жыл бұрын
Normally we will have a 1 to 1 correlation between a subnet and a VLAN. 20 different VLANs would likely use 20 different networks/subnetworks. If you put multiple devices in the same L2 domain (VLAN), devices from 1 subnet would still need to point to a default gateway (L3 device) to logically forward traffic from their own subnet to a device in a different subnet. Management wise, and security wise it is generally considered a bad idea. ;) Keith
@KeithBarker11 жыл бұрын
For most of the CCNA stuff, PT works pretty well. You may want to try a different router type in PT. Perhaps the one you are working with (the router type in PT) doesn't have the router on a stick functionality, but a different router type in PT likely does.
@SalahJawad12 жыл бұрын
Many thanks Chris. Easy to understand as usual.
@JohnnyJazzFreak12 жыл бұрын
Thanks so much for clarifying that, Keith.
@michaelherrin20533 жыл бұрын
2021 content is still relevant 👌
@KeithBarker12 жыл бұрын
Hello Shem- That error could be from the following: Using the command in the wrong mode, such as in global config rather than sub-interface config. Having a typo in the command(s) Having an IOS that doesn't support that command on the sub-interface. Are you on a live device, simulator or emulator? Keith
@KeithBarker11 жыл бұрын
Can you restate your question? I don't quite understand what you are asking. Thanks, Keith
@sammyg97312 жыл бұрын
Good vid, quick and straight forward. Thx.
@adhityachristiawan7 жыл бұрын
nice, simple and easy to follow tutorial. thanks man...
@KeithBarker11 жыл бұрын
I am not sure I understand your question. Can you rephrase that for me?
@JohnnyJazzFreak12 жыл бұрын
Quick Q. To create the trunk, you configured as a trunk, the link between the switch and router. But the VLAN ports going from the hosts to the switch, -do I take it they are configured as trunk ports as well, or do they remain as access ports? Great video by the way.
@ryanbarrera25956 жыл бұрын
Very nice tutorial. I follow it along..Thank you Keith
@stanpines7818 жыл бұрын
On the 2950 switch I was working with, 'switchport trunk encapsulation dot1q' returns an error message. Using question marks to see if the syntax was maybe slightly different did nothing because that functionality does not exist on mine. SOLUTION: Just enter 'switchport mode trunk' For some routers, dot1q is the only supported encapsulation so it gets set as that automatically. This means there is no point in entering the command and IOS takes care of that part for you. It just doesn't make that very clear and makes you suspicious of your setup when you're so used to having to manually set every little thing. Hopefully this helps some people and saves them from the sadness of seeing their question asked and ignored in 2+ year old comments.
@techboss89018 жыл бұрын
Thank you so much for clarifying this I was getting extremely frustrated on why this command did not work for my homework assignment in setting up VLAN Trunking in packet tracer.
@timcritchfield7 жыл бұрын
Yeah I followed the same thing.. Good thing I read this.. It would be nice for him to update the information for those who couldn't use his command line switch info and inform us when he made a typo like swi, switch trunk end and enc,etc..
@patrickstarshooter52216 жыл бұрын
Same thing happened to me, I looked it up. New devices don't use that command. Thanks for pointing it out though, I wish I read the comment section before going on a 30 research lol
@network_king11 жыл бұрын
I got working something with switch. I was using 2060 which book used, changed to what you had, worked fine. thought of that after I posted, I thought was an issue with older version of PT I have. I would have thought any switch handle vlans would handle dot1q, I guess not necessarily or could be PT.
@theruler999911 жыл бұрын
when do you have to create sub interfaces on the the router? and can you create it on switches as well?
@tacodar12 жыл бұрын
let's say i dont do VLAN dividing, so both PCs are are in the same VLAN (native, 2, 3, whatever..). then i don't need to do encapsulation? and what would happen in general terms in network if they stay in same VLAN? i mean what are the pros/cons of that network scenario, still assuming they are in different subnets (10.0.0.0 /8 and 20.0.0.0 /8)? thank you!
@cying66146 жыл бұрын
Hi Keith, so what's the best youtube video in your channel before this video which handles the left side, VLAN, of this little network? Thank you!
@Starrk1212 жыл бұрын
i really like your demonstration, but when i entered the encapsulation i get this error "Invalid input detected at '^' marker." how to fix that error
@BadGuyPB6 жыл бұрын
How do I get this internet access after I have set this up. Also how do I manage the switch remotely?
@tatooo190012 жыл бұрын
Great video
@network_king11 жыл бұрын
Tried this in PT I get to encapsulation part it keeps saying encapsulation is invalid command. even made new .pkt file. Same thing whether I try isl or dot1q. Been really considering just getting real stuff off ebay PT seems buggy. just not sure what to get book use 2960 switch, not sure what to look for in router, other than support ipv6, and maybe a few serial ports. Also kind of Leary getting on ebay I heard some have had bad IOS, and they had to get big support thing or get else how.
@mohanvamshikodali96419 жыл бұрын
how to create a native vlan isnt that sufficient to put it in default Vlan 1
@3rdJose8 жыл бұрын
or use a layer 3 sw right?
@robf.400011 жыл бұрын
This is by far the best example I have come across. Your description saved me a lot of time and confusion. Do you have your own version of a Cisco study guide? Thanks.
@wizardz79387 жыл бұрын
i cant get anything to ping.... something is missing in the first have that i am doing wrong that wasnt shown
@NayeonNy2611 жыл бұрын
Hi Mr. Keith, is there a way to configure router on a stick on a single IP? Like 192.168.1.0 with separate VLANs?
@madraak1010 жыл бұрын
Hi Keith, I'm having a problem concerning the dot1q encapsulation. I'm using the same switch as yours but keep on getting the same error message everytime: % Invalid input detected at '^' marker. Can you tell me please what to do in that case?
@KeithBarker10 жыл бұрын
Use the context sensitive help (the "?") to identify the syntax that they are simulating inside of Packet Tracer.
@madraak1010 жыл бұрын
Hi, thank you Keith for the reply. I've got the solution to my problem. In fact the layer 2 switch does not support the 802.1q protocol, so i had to create a native vlan and it worked!
@KeithBarker10 жыл бұрын
madraak10 Glad you got it working! Congrats.
@dopiaza20069 жыл бұрын
+madraak10 You'll probably find it doesn't support anything other than dot1q so doesn't understand that you are telling it to use that as it is there by default. In that case you can ignore the line.
@GoldenBoy-lv1jg8 жыл бұрын
What if you have to configurate two ip address in the router on the same network, do i have to configurate from biggest to smallest network?
@SuperAhmedkhalaf13 жыл бұрын
Thank you very much sir
@ThaineWayne9 жыл бұрын
legend thanks for this!!!!
@timcritchfield7 жыл бұрын
For anyone using the PuTTY make sure you when you get to IOS Cmd line Switch> type in Enable so you can then get into Switch# part of the video he is referring to. This is for 2950 which I am using.. COmmand Line information. www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_11_yj4/command/reference/lrecli/intro.html