How VLANs Work | Network Fundamentals Part 12

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • How VLANs Work | Network Fundamentals Part 12
    VLANs are one of the most common technologies that you will see. Imagine that you have a LAN (a layer-2 broadcast domain), but you need to separate the devices connected to it. You could buy different switches for each group of devices, but a better option would be to use VLANs.
    VLANs are a Virtual LAN. You have a physical switch, and the ports are assigned to a VLAN. Devices in one VLAN cannot talk to devices in another VLAN.
    This is like using different switches, without having to go out and buy different switches!
    Each VLAN has an ID, which ranges from 1 to 4094. Each switch port is assigned to one of these ports. Any ports with the same VLAN ID are in the same VLAN, which means they are in the same network.
    As said before, devices in one VLAN cannot communicate with devices in another VLAN. To allow communication, we can use a router that is connected to both VLANs. The router receives traffic on one VLAN, and passes it to the other VLAN.
    We will see how all of this works, and how it’s configured!
    Lab: networkdirection.net/labsandq...
    Quiz: link: networkdirection.net/labsandq...
    Patreon information: networkdirection.net/patreon/
    CCENT/CCNA ICND1 100-105 Official Cert Guide (affiliate):
    click.linksynergy.com/link?id...
    In the next video, we’re looking to extend our VLANs across several devices using trunking, or tagging.
    Overview of this video:
    0:00 Introduction
    0:40 Why we need VLANs
    3:00 How VLANs Work
    7:52 Routing between VLANs
    10:32 Quiz Time
    10:47 Lab
    LET'S CONNECT
    🌏 / networkdirection
    🌏 / netwrkdirection
    🌏 / networkdirection
    🌏 www.networkdirection.net
    #NetworkDirection
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 69

  • @NetworkDirection
    @NetworkDirection  5 ปีที่แล้ว +7

    Thanks for watching! Here is the lab: networkdirection.net/labsandquizzes/labs/lab-introduction-to-vlans/
    Here is the quiz: networkdirection.net/labsandquizzes/quizzes/introduction-to-vlans-quiz/

    • @MichaelBruce1971
      @MichaelBruce1971 5 ปีที่แล้ว +1

      very good video.

    • @ifeoluwaadeyemi8442
      @ifeoluwaadeyemi8442 3 ปีที่แล้ว

      I'm loving this course but what app do yu use to run the labs? I cant run a single one because there is no apk that can be used to run it. It saves in .virl so i think thats why. GNS3 also dosent work.

    • @NetworkDirection
      @NetworkDirection  3 ปีที่แล้ว

      @@ifeoluwaadeyemi8442 They're created in VIRL. however, you can import the running-configs into GNS3 if you want to.
      The VIRL lab was exported in GNS3 format, but it doesn't seem to work out of the box

  • @iyiolapeter6554
    @iyiolapeter6554 4 หลายเดือนก่อน +2

    I've never gained so much in a TH-cam video. Gained my CCNA in 2019 and I've been in IT as Infrastructure engineer ever since, but I've learnt so much from your videos than I've from any other. This is beautiful

  • @MrMengemeto
    @MrMengemeto 3 ปีที่แล้ว +8

    This is one of the best lectures all over the network!!! So understandable so easy to swallow. I love it.

  • @kylecostlow1
    @kylecostlow1 4 ปีที่แล้ว

    Its like you are reading my mind with the viewer questions you simulate, no one else seems to talk about the basic use case information you bring up, thank you.

    • @NetworkDirection
      @NetworkDirection  4 ปีที่แล้ว +1

      I love hearing this! I've tried to deliberately take this approach, so I'm glad its working

  • @dasmalas9960
    @dasmalas9960 3 ปีที่แล้ว +2

    Thank you ! Thank you ! Thank you ! Thank you ! Thank you !

    • @NetworkDirection
      @NetworkDirection  3 ปีที่แล้ว +2

      You're very very very very very welcome!

  • @-uc6lw
    @-uc6lw 3 ปีที่แล้ว +1

    Best channel for networking, by far. I would highly recommend it to anyone interested in learning

    • @NetworkDirection
      @NetworkDirection  3 ปีที่แล้ว

      Thanks Adam! I really appreciate your comment! 😀

  • @johnstonebos5859
    @johnstonebos5859 2 ปีที่แล้ว +1

    This must be one of the best networking tutorials not only in TH-cam but also Udemy and all other paid services…

  • @jairusan
    @jairusan 4 ปีที่แล้ว

    Just excellent and enjoyable to watch. Keep it up Network Direction 👍

  • @kristiyanivanov7414
    @kristiyanivanov7414 4 ปีที่แล้ว +3

    thanks for mentioning cisco packet tracer in one of the previous videos, I did the whole course in one go and it was fun

  • @hunkisop1619
    @hunkisop1619 5 ปีที่แล้ว +1

    As always very informative.

  • @squelchedotter
    @squelchedotter 5 ปีที่แล้ว +7

    Thanks once again for this great series!

  • @radingoranov2556
    @radingoranov2556 5 ปีที่แล้ว +4

    Love your vids! They are really helpful and easy to understand. Thanks for making them. ^u^

  • @hassenbouchhiwa9827
    @hassenbouchhiwa9827 3 ปีที่แล้ว

    This channel is underrated .. thank you guys

  • @tinabatra6197
    @tinabatra6197 3 ปีที่แล้ว +1

    Thank you so much for sharing this information

  • @francescogalli4033
    @francescogalli4033 5 ปีที่แล้ว +2

    I simply love your Channel... Really congrats✌🏻
    It is really useful for me

  • @upuldoluweera7895
    @upuldoluweera7895 3 ปีที่แล้ว

    very good one, easy to understand

  • @roycohen4893
    @roycohen4893 3 ปีที่แล้ว

    thank you so much!

  • @abdullaalblooshi2406
    @abdullaalblooshi2406 4 ปีที่แล้ว

    Nice animations, clear voice and explanation. Just wondering which program you are using for making such nice video.
    Thanks

  • @gansgross6464
    @gansgross6464 3 ปีที่แล้ว

    Thank you

  • @globalfaith2661
    @globalfaith2661 4 ปีที่แล้ว

    Thank you again for the great content and easy learning experience. I went on your website and checked out your "labs" my question is do you need and "special" software to run the "labs" ?
    I was also wondering if you would do a tutorial/promo video about your "labs"
    Thanks for all your help with simplifying "networking" You definitely have easy to follow content.
    May God bless you and your channel !

    • @NetworkDirection
      @NetworkDirection  4 ปีที่แล้ว +1

      Hi Global Faith, thanks for your comment! I use "VIRL" for labs, which is what you see in my videos. However, you can use other software. The downloadable labs on my website include configuration files that you can import into other lab software.
      If you would like more information, towards the end of my Cisco CLI for Beginners video (Part 10 Network Fundamentals series) we look at some lab options. Thanks again. Have a great day!

  • @tymon302
    @tymon302 ปีที่แล้ว

    Please are you using the CISCO packet tracer I am trying to do what you're using for the labs on a IMAC

  • @Velo1010
    @Velo1010 8 หลายเดือนก่อน

    Yes, I have trouble understanding VLANS, also.

  • @mocello
    @mocello 4 ปีที่แล้ว +3

    Hey, great video as always! Your channel helped me a lot in understanding the fundamentals about networking :)
    I think I found a typo though: in the logical diagram (10:50) both networks are called 192.168.10.0/24. But when you ping from workstation 1 (15:45) you use the IP 192.168.20.1 for server 1. So I guess the server network really is 192.168.20/24?

    • @NetworkDirection
      @NetworkDirection  4 ปีที่แล้ว

      Hi M Marcello, great spotting! You are absolutely right, I would like to say that I did this to see who was really paying attention but unfortunately typos happen. Have a great day!

    • @hazemal-hyari305
      @hazemal-hyari305 4 ปีที่แล้ว +1

      @@NetworkDirection man that caused alot of confusing for a network dummy like me, btw thank you for your knowledge and big efforts

  • @power-max
    @power-max 4 ปีที่แล้ว

    OK, so I pick up some fancy smartswitch or managed switch used on eBay.. And I hook it up to my edge-router. If I have 10 VLANs configured on my 24 port managed switch, do I need 23 routers to tie them all together? My edge router only has a couple ports, the "LAN" ports are just switched so really only 2 right?

    • @NetworkDirection
      @NetworkDirection  4 ปีที่แล้ว

      This is where you would look at running a trunk to your router (a link with multiple vlans), and configuring your router with sub-interfaces.
      This is called 'router on a stick'

  • @sw33t.angela
    @sw33t.angela 3 ปีที่แล้ว +1

    So, why isn't the switch also the router in this case? Is it due to separation of duties and that the switch is not powerful enough / not equipped to route packets? And why two physical interfaces to the router for each VLAN? Wouldn't it be more efficient to just have one?

    • @NetworkDirection
      @NetworkDirection  3 ปีที่แล้ว +2

      It's true that switches can often act as routers in many cases (they are called layer-3 switches).
      There are a few different reasons why we might prefer to use a dedicated router.
      For one, in these videos I often use routers to make my point more clear
      In the real world though, as you've mentioned, sometimes it's best to separate those duties. Switch hardware is often tuned to switch frames very quickly, while routers are tuned for other technologies.
      Also, routers sometimes have special hardware to support specific WAN types, which switches don't have.
      The summary is that it can change on a case by case basis. As you get further into network engineering, you will start to learn some design principles, which will help to understand why and when to do things a certain way

  • @user-sh4fh8tn5m
    @user-sh4fh8tn5m 3 ปีที่แล้ว

    11:37 left image, is that vlan 20 for server-1, and server-2?

    • @NetworkDirection
      @NetworkDirection  3 ปีที่แล้ว

      Yes, that's right. Server 1 and 2 both belong to VLAN 20

  • @dipanjalisingh5592
    @dipanjalisingh5592 2 ปีที่แล้ว

    You said that I can use two subnet devices in one vlan if I do so and device of one subnet broadcast a message then will it go to devices of another subnet attached to Same vlan without router?

    • @NetworkDirection
      @NetworkDirection  2 ปีที่แล้ว

      Yes, that's right. The other device will "see" the broadcast message. Normally it will discard it, but it is possible to see the information in the broadcast. That makes it a security issue

  • @jameslowe3989
    @jameslowe3989 2 ปีที่แล้ว

    1 question it may be dumb
    If your home network is assigned a private IP address of say 192.168.0.1 /24 and you have a switch that you have 2 VLANs on, does Vlan 1 get to use the same address (192.168.0.1/24) what gives vlan 2 a different address? Does the router get a second public IP address for communicating with Vlan1? Or is there something I'm missing?

    • @skorpion4368
      @skorpion4368 2 ปีที่แล้ว

      What do you mean by "a second public IP address"? If you were thinking of the IP address that your ISP gives you, then no.
      First of all, if you leave your home network separate and create a VLAN that would operate on the same IP network it's only going to work if you completely isolate them and don't connect them anywhere in the whole network.
      The router that's routing traffic between your two VLANs should have two IP addresses: one for the VLAN 1 and another for the VLAN 2.

    • @NetworkDirection
      @NetworkDirection  2 ปีที่แล้ว +1

      You would use entirely different subnets for each VLAN. You may configure a router to forward packets between the two subnets/VLANs
      The public IP is separate to this. Both of these VLANs can 'use' the public IP through NAT/PAT

  • @triglav1848
    @triglav1848 4 ปีที่แล้ว

    It's tracert -d in Windows.

  • @medilies
    @medilies 4 ปีที่แล้ว

    is -n an abreviation to -names

  • @user-sh4fh8tn5m
    @user-sh4fh8tn5m 3 ปีที่แล้ว

    what happened if different Vlan have same network address like 192.168.10.0/24

  • @omni_reaper2940
    @omni_reaper2940 3 ปีที่แล้ว +1

    But how does the router know which VLAN and which specific device in the VLAN the frame is meant for?

    • @NetworkDirection
      @NetworkDirection  3 ปีที่แล้ว

      It finds this information from the Ethernet header. This header includes a source and destination MAC address.
      The MAC address table will tell the switch or router which interface to forward the frame on.
      As for the VLAN, this could be known in one of two ways. A frame may have a VLAN tag in the ethernet header. Or, for untagged frames, the VLAN is assigned based on the interface it arrives on (remember the 'switchport access vlan ...' command?)

  • @wasim1212121
    @wasim1212121 2 ปีที่แล้ว +1

    can we buy this video
    series

    • @NetworkDirection
      @NetworkDirection  2 ปีที่แล้ว +1

      Sorry, what do you mean?

    • @wasim1212121
      @wasim1212121 2 ปีที่แล้ว

      @@NetworkDirection the video u have . Can I buy them

  • @leothalion3983
    @leothalion3983 3 ปีที่แล้ว

    Are you still making videos

  • @rendirestman4615
    @rendirestman4615 3 ปีที่แล้ว

    1 vlan is 1 network, so between one vlan to another vlan is different IP network??

    • @rendirestman4615
      @rendirestman4615 3 ปีที่แล้ว

      But if i used the switch without separate it to several Vlan (not using vlan methode) . Is all of the end devices have a same IP network?

    • @rendirestman4615
      @rendirestman4615 3 ปีที่แล้ว

      Oh it must be the first, i am sorry, i forgot to said, thank you so much for the videos. I have watched almost all of your videos in Fundamental Playlist and it's was more help me for understanding "what the network is" instead when i am in the class.
      Btw Sorry for my grammar, it was so suck 😂

  • @xxxslayerkillerweedlitxxx3878
    @xxxslayerkillerweedlitxxx3878 4 หลายเดือนก่อน

    i love you