How GRE Tunnels Work | VPN Tunnels Part 1

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 106

  • @oliver1121
    @oliver1121 6 років тому +7

    It is so weird how perfectly timed these videos are coming out to my studying. When I was looking into learning VRF's you released an excellent video series on VRF's. Now when I want to brush up on VPN's you release this video at the perfect time. Keep up the awesome work! Hopefully the next series will be MPLS.

    • @NetworkDirection
      @NetworkDirection  6 років тому +2

      That is uncanny!
      I have been thinking about basic MPLS as a series. Won’t be next, but hopefully soon

    • @GamjaField
      @GamjaField 6 років тому +3

      LOL same 😂

    • @NetworkDirection
      @NetworkDirection  6 років тому +1

      Nice!

  • @namratatiwari1588
    @namratatiwari1588 4 роки тому +1

    Best video on GRE ! Surfed over 5-6 videos before landing to this.

  • @varunkashyap5644
    @varunkashyap5644 4 роки тому +1

    thanks buddy for creating this series. i read a lot but could not get through before , but today atlast i got.
    keep making such videos

    • @NetworkDirection
      @NetworkDirection  4 роки тому +1

      It's so good to hear that these videos are helping you

  • @teamstandyteamstandy9830
    @teamstandyteamstandy9830 4 роки тому +1

    Very simple, high level overview of what a GRE tunnel is/does. Well done. Thank you!

  • @DileepKumarMB
    @DileepKumarMB Рік тому

    Overlay network using GRE Tunnel- nicely explained, Thanks

  • @TheLithGH
    @TheLithGH 5 років тому +4

    Thanks for creating and sharing with us!! Perfect explanation for us that are new to GRE!!! Cheers!

  • @Alex-gf4iu
    @Alex-gf4iu 2 місяці тому

    What a great video. Really useful the commands were at the bottom and you explained the difference between source and destination

  • @Jderama100
    @Jderama100 6 років тому +1

    Thank you, very clear and easy to understand. Please continue to make videos like this - highly appreciate it.

    • @NetworkDirection
      @NetworkDirection  6 років тому

      You're welcome! I'm currently working on extending this with DMVPN

  • @PR-cn5bb
    @PR-cn5bb 6 років тому +3

    Finally some quality tutorials, great work!

  • @slamtoo11
    @slamtoo11 4 роки тому

    Just saw this video after I had a question in CCNA about GRE.
    This is amazing. Thank you for putting this together.

    • @Neon-nv4oy
      @Neon-nv4oy 4 місяці тому

      May I ask what you're doing in life now with a bit over 4 years in the field ? (if you stuck to the field ofc) I just wanna get an idea

  • @noelgriffiths7561
    @noelgriffiths7561 4 роки тому +1

    I am currently learning CCNP Enterprise Encor and found this video series on 'GRE' along with the 'VXLan' and 'VRF' videos very informative with clear explanations. Thank you for posting these videos, will you be posting any others that will be helpful with the CCNP Enterprise course?

  • @amitkala6382
    @amitkala6382 2 роки тому +1

    The way you demonstrated is simply amazing.... Would you mind to share low level stuff on ikev1 &2..... Thanks again.

    • @NetworkDirection
      @NetworkDirection  2 роки тому

      Thank you!
      I might revisit IKE. I'll add it to my list, thanks again

  • @p4pryk
    @p4pryk 6 років тому +14

    There is a mistake with address on topology and set for tunnel src/dst addr. 20.20.20.20 and 10.20.20.20.
    Anyway, great series :) thx for that.

    • @NetworkDirection
      @NetworkDirection  6 років тому +6

      You're absolutely right! Sorry everyone, the topology says 20.20.20.20 when it should say 10.20.20.20
      Thanks for noticing this

    • @jnev9046
      @jnev9046 5 років тому

      @@NetworkDirection would this type of mis-configuration show a tunnel up/down or a reset/up? BTW, Great Explanation!

    • @NetworkDirection
      @NetworkDirection  5 років тому +1

      @@jnev9046 Do you mean if we put in the wrong destination IP?
      I think this would mark the tunnel as up, but it wouldn't work

    • @ithereos9554
      @ithereos9554 4 роки тому +1

      @@NetworkDirection But, if the router did have reachability to 20.20.20.20 (and 20.20.20.20 was the correct destination IP), the GRE tunnel will go up without issues no?

    • @ivanarteaga3282
      @ivanarteaga3282 11 місяців тому

      pin this comment! :P

  • @markusscott6696
    @markusscott6696 4 роки тому +3

    It is a nice explanation of packet encapsulation (starts from 6 min), but i dont understand where is the role of a tunnel - 192.168.1.0 network???

  • @steveshawcross
    @steveshawcross 10 місяців тому

    Good and simple explanation !!

  • @samsonv9332
    @samsonv9332 2 роки тому +1

    Awesome explanation, thanks!

  • @alexandercullum6632
    @alexandercullum6632 2 роки тому +1

    super helpful video, thank you!

  • @EpisonicProject
    @EpisonicProject 5 місяців тому

    Amazing video I understand gre now

  • @mahendrakumarsahu4395
    @mahendrakumarsahu4395 4 роки тому

    Awesome !!!
    I like very much the animated explanation ♥️
    Thank you Sir

  • @Null-Null1
    @Null-Null1 6 років тому +3

    Another great explaination!

    • @NetworkDirection
      @NetworkDirection  6 років тому +1

      Thanks Daniel! So happy that it makes sense.
      Looking forward to seeing GRE tunnels with IPSec?

    • @Null-Null1
      @Null-Null1 6 років тому +3

      @@NetworkDirection Definitely! Always enjoy your well presented and explained videos

  • @TheVillageShow
    @TheVillageShow 6 місяців тому

    Very beautiful. Thankyou so much 🎉🎉

  • @peterruppert7856
    @peterruppert7856 2 роки тому

    Thank you so much!!! Great video!!

  • @YeshwanthSimhadri
    @YeshwanthSimhadri 5 років тому +1

    very nice explanation - may be a LAB would have been an icing on the cake

  • @weaselfeet
    @weaselfeet 6 років тому +1

    This was fantastic, looking forward the the encryption component,

  • @TheMaro57
    @TheMaro57 Рік тому

    I have no idea what you're talking about but you're better than a college professor definitely...

  • @user-qo8js3qk5z
    @user-qo8js3qk5z 3 роки тому

    Excellent video thank you so much for the breakdown.

  • @Amsj1166
    @Amsj1166 5 років тому +1

    Wow very nicely explained

  • @pin-fatsh9553
    @pin-fatsh9553 5 років тому +1

    Thanks for this well-explained nuggets :)

  • @mdsameer2774
    @mdsameer2774 4 місяці тому

    very good. Keep going,

  • @jaronprovidence9484
    @jaronprovidence9484 5 років тому +1

    Awesome video, thanks!

  • @GamjaField
    @GamjaField 6 років тому +1

    Thank you. Great explanation as always​. Will you cover the IPSec tunnel in this series?

    • @NetworkDirection
      @NetworkDirection  6 років тому +1

      Absolutely! Give me two weeks, and you’ll have a video on adding IPSec to the GRE tunnel, including the basics of how IPSec works

    • @GamjaField
      @GamjaField 6 років тому +1

      Network Direction Awesome! :)

  • @yusefskaff47
    @yusefskaff47 4 роки тому

    Excellent explanation!! I appreciate that 👍🏼

  • @ahmedareem9599
    @ahmedareem9599 3 роки тому

    man, that's a fantastic video!

  • @tommclaughlin7179
    @tommclaughlin7179 4 роки тому

    Thank you for simplifying gre!

  • @allien5329
    @allien5329 5 років тому +2

    best explained !!!

  • @DillyDogSays
    @DillyDogSays 2 роки тому +1

    Does GRE tunnels work with Virtual Networks also? So two virtual networks could communicate on a SD-WAN via GRE Tunneling?

    • @NetworkDirection
      @NetworkDirection  2 роки тому

      SD-WAN uses a lot of technologies 'under the hood', including tunnels (possibly GRE), MPLS, VXLAN, and thinkg like these. Each provider implements it differently though

  • @babakvelamkon
    @babakvelamkon 6 років тому +1

    Thanks. Plz emphasis more on vpn vs gre application, similarity and differences

    • @NetworkDirection
      @NetworkDirection  6 років тому

      I'm not sure I understand correct...
      GRE is a type of VPN. It's different to the app that you install on your computer to connect into the office from home.
      GRE is different, as you're not connecting a single device to the network virtually. Instead, you're creating a virtual link between entire networks.
      Does that help?

    • @babakvelamkon
      @babakvelamkon 6 років тому +1

      Network Direction Thanks. The confusion I have is why to go for site-2-site Vpn and not gre/ipsec. Is there any reason that most people deploy the vpn and not secure gre?

    • @NetworkDirection
      @NetworkDirection  6 років тому +1

      Ah, I understand now.
      Not everything supports GRE. GRE is kind of a routing technology. So, you'll commonly find it on routers.
      An IPSec VPN was developed from the security point of view, so it is mor common on firewalls. ASA's for example, support IPSec VPN's, not GRE + IPSec.
      As to why vendors decide to support one technology but not another... I'm not sure.

    • @babakvelamkon
      @babakvelamkon 6 років тому +1

      Network Direction Thanks alot

    • @NetworkDirection
      @NetworkDirection  6 років тому

      You’re welcome

  • @sarvesh81s
    @sarvesh81s 4 роки тому

    Thanks for Very good Explanation , how did you put IP address in tunnel source command ?? it should be interface

    • @NetworkDirection
      @NetworkDirection  4 роки тому +1

      You can use either, but using the IP allows the router to choose the best interface based on the address.
      In some cases this will improve stability (covered in the following videos)

  • @MohanKumar-wp8kc
    @MohanKumar-wp8kc 2 роки тому

    good series

  • @NetworkDirection
    @NetworkDirection  6 років тому +2

    Read more here: networkdirection.net/GRE+Tunnels
    Try the lab here: networkdirection.net/labsandquizzes/labs/lab-gre-tunnels/

  • @narendrajayram1317
    @narendrajayram1317 5 років тому +1

    great explanation!

  • @muhammadsiddique5892
    @muhammadsiddique5892 5 років тому

    Great Explanation.. Thanks.

  • @Robertorossell
    @Robertorossell 4 роки тому

    Thanks great material

  • @AeroAngle
    @AeroAngle Рік тому

    enabling jumbo frames help with GRE and why or why not?

  • @mmobini1803
    @mmobini1803 Рік тому

    Thank you!

  • @Zbenesch
    @Zbenesch 5 років тому

    Nicely done!

  • @exmundi
    @exmundi 3 роки тому

    Those virtual interfaces build an ARP cache?
    If yes, how do they seem?

    • @NetworkDirection
      @NetworkDirection  3 роки тому

      The ARP cache will build for anything with L2 adjacency

  • @Mike-ci5io
    @Mike-ci5io 2 роки тому

    How does lowering mtu avoid fragmentation infact it will increase it so you want highest mtu interface can support

  • @jairusan
    @jairusan 3 роки тому

    I appreciate the effort and time spent to make this video, however, there are just too many mistakes in the content for this specific demonstration, which is dangerous and frustrating for those who really took the time to understand the configuration and even emulate the exercise. I think there are mistakes in the destination IP address: 20.20.20.20/24 > 10.20.20.20/24. In the explanation of how the packets travel through the OVERLAY VTI's or GRE tunnel, NOT UNDERLAY as you mentioned in the video, and also I am not sure if you meant 172.16.1.1 and 172.16.1.2 and forgot to specify the CIDR here...as well. Again, not trying to troll or anything but I think this video should be removed, corrected, and re-posted for the sake of all members subscribed. There are a lot of people commenting on things like, great work, awesome video, great explanation, and we know that they definitely didn't understand what they just watched. Thank you for all you do, as I am subscribed and love some of the other videos you have put together, but, unfortunately, after checking this GRE one very carefully, I will have to be very careful going forward when following the videos you post. Hope this feedback is helpful.

  • @daveycrockett9447
    @daveycrockett9447 2 роки тому

    only problem with this description - is you have a RFC 1911 on the left that will NOT route across the Internet. Would have been nice if the example was more realistic in such a way that it would work in a real world scenario.

  • @jahedbenbarka9008
    @jahedbenbarka9008 5 років тому

    Thank u man.....

  • @jordantaylor3788
    @jordantaylor3788 Рік тому

    Is this still true? I didn't think you could advertise OSPF over GRE as the interfaces would be flapping when trying to send ospf packets to the endpoint?

    • @NetworkDirection
      @NetworkDirection  Рік тому +1

      Hi Jordan
      Thanks for your comment! What you are describing is route recursion. This can happen if you do it wrong, but OSPF over GRE is just fine if you do it right. I believe the next video in this series discusses this further. 😃
      Have a great day!

  • @arunrkrishnan9833
    @arunrkrishnan9833 3 роки тому

    perfect

  • @digiground7613
    @digiground7613 3 роки тому

    nice...

  • @eksadiss
    @eksadiss 5 років тому +1

    5:28 you said 1436 when I think you meant to say 1476

  • @ahmed786tutu
    @ahmed786tutu 3 роки тому

    i think you missed the static route explanation thats needed here

    • @NetworkDirection
      @NetworkDirection  3 роки тому

      Do you mean explaining what static routes are, or how they're used for this application?

    • @ahmed786tutu
      @ahmed786tutu 3 роки тому

      @@NetworkDirection yeah i meant for this application, ie how do the two edges know how to get to each other and how do we force traffic over the tunnel. also how not to cause recursive routing issues. but the video was information nonetheless.

  • @leonelsimoes2616
    @leonelsimoes2616 2 роки тому +1

    Destination address should be 192.168.2.1 instead of 192.168.1.2

    • @NetworkDirection
      @NetworkDirection  2 роки тому

      Thank you! Unfortunately, I can't go back and change it

  • @rohanofelvenpower5566
    @rohanofelvenpower5566 4 роки тому

    aha so very very simple. Basically it adds what is called "Outer IP" header which has the ISPs routers IPs which are PUBLIC IPs so the routers over the Internet (/WAN) KNOW where they are. And there is also the small gre header that says what the original IP version is being used by the private hosts with private, non-routable IP addresses.
    So you stick public IPs on top of the packet and route it as normal. By the time it arrives at the destination and it is de-encapsulated the private host will see it's private ip (non-routable) that it knows. So easy it's a joke haha