How GRE Tunnels Work | VPN Tunnels Part 1

  Рет қаралды 101,413

Network Direction

Network Direction

Күн бұрын

Пікірлер: 107
@namratatiwari1588
@namratatiwari1588 4 жыл бұрын
Best video on GRE ! Surfed over 5-6 videos before landing to this.
@oliver1121
@oliver1121 6 жыл бұрын
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 жыл бұрын
That is uncanny! I have been thinking about basic MPLS as a series. Won’t be next, but hopefully soon
@GamjaField
@GamjaField 6 жыл бұрын
LOL same 😂
@NetworkDirection
@NetworkDirection 6 жыл бұрын
Nice!
@varunkashyap5644
@varunkashyap5644 4 жыл бұрын
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 жыл бұрын
It's so good to hear that these videos are helping you
@DileepKumarMB
@DileepKumarMB Жыл бұрын
Overlay network using GRE Tunnel- nicely explained, Thanks
@teamstandyteamstandy9830
@teamstandyteamstandy9830 4 жыл бұрын
Very simple, high level overview of what a GRE tunnel is/does. Well done. Thank you!
@NetworkDirection
@NetworkDirection 4 жыл бұрын
You're welcome!
@TheLithGH
@TheLithGH 5 жыл бұрын
Thanks for creating and sharing with us!! Perfect explanation for us that are new to GRE!!! Cheers!
@Alex-gf4iu
@Alex-gf4iu 4 ай бұрын
What a great video. Really useful the commands were at the bottom and you explained the difference between source and destination
@PR-cn5bb
@PR-cn5bb 6 жыл бұрын
Finally some quality tutorials, great work!
@NetworkDirection
@NetworkDirection 6 жыл бұрын
I appreciate the feedback Pawel, thanks!
@Jderama100
@Jderama100 6 жыл бұрын
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
@amitkala6382
@amitkala6382 2 жыл бұрын
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
@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 6 ай бұрын
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
@markusscott6696
@markusscott6696 4 жыл бұрын
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???
@NetworkDirection
@NetworkDirection 6 жыл бұрын
Read more here: networkdirection.net/GRE+Tunnels Try the lab here: networkdirection.net/labsandquizzes/labs/lab-gre-tunnels/
@samsonv9332
@samsonv9332 2 жыл бұрын
Awesome explanation, thanks!
@NetworkDirection
@NetworkDirection 2 жыл бұрын
Glad you enjoyed it!
@p4pryk
@p4pryk 6 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@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 Жыл бұрын
pin this comment! :P
@peterruppert7856
@peterruppert7856 2 жыл бұрын
Thank you so much!!! Great video!!
@NetworkDirection
@NetworkDirection 2 жыл бұрын
You're welcome!
@TheMaro57
@TheMaro57 Жыл бұрын
I have no idea what you're talking about but you're better than a college professor definitely...
@alexandercullum6632
@alexandercullum6632 2 жыл бұрын
super helpful video, thank you!
@NetworkDirection
@NetworkDirection 2 жыл бұрын
Good to hear, thanks!
@steveshawcross
@steveshawcross Жыл бұрын
Good and simple explanation !!
@noelgriffiths7561
@noelgriffiths7561 4 жыл бұрын
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?
@EpisonicProject
@EpisonicProject 7 ай бұрын
Amazing video I understand gre now
@Null-Null1
@Null-Null1 6 жыл бұрын
Another great explaination!
@NetworkDirection
@NetworkDirection 6 жыл бұрын
Thanks Daniel! So happy that it makes sense. Looking forward to seeing GRE tunnels with IPSec?
@Null-Null1
@Null-Null1 6 жыл бұрын
@@NetworkDirection Definitely! Always enjoy your well presented and explained videos
@Amsj1166
@Amsj1166 5 жыл бұрын
Wow very nicely explained
@YeshwanthSimhadri
@YeshwanthSimhadri 6 жыл бұрын
very nice explanation - may be a LAB would have been an icing on the cake
@NetworkDirection
@NetworkDirection 6 жыл бұрын
Thanks, that's a good suggestion. I'm working on a couple of GRE labs now
@NetworkDirection
@NetworkDirection 6 жыл бұрын
Here's the lab: networkdirection.net/labsandquizzes/labs/lab-gre-tunnels/
@weaselfeet
@weaselfeet 6 жыл бұрын
This was fantastic, looking forward the the encryption component,
@NetworkDirection
@NetworkDirection 6 жыл бұрын
I aim to please 😁
@mdsameer2774
@mdsameer2774 5 ай бұрын
very good. Keep going,
@ahmedareem9599
@ahmedareem9599 3 жыл бұрын
man, that's a fantastic video!
@NetworkDirection
@NetworkDirection 3 жыл бұрын
Thanks!
@TheVillageShow
@TheVillageShow 8 ай бұрын
Very beautiful. Thankyou so much 🎉🎉
@jaronprovidence9484
@jaronprovidence9484 5 жыл бұрын
Awesome video, thanks!
@user-qo8js3qk5z
@user-qo8js3qk5z 3 жыл бұрын
Excellent video thank you so much for the breakdown.
@NetworkDirection
@NetworkDirection 2 жыл бұрын
Glad to help!
@mahendrakumarsahu4395
@mahendrakumarsahu4395 4 жыл бұрын
Awesome !!! I like very much the animated explanation ♥️ Thank you Sir
@MohanKumar-wp8kc
@MohanKumar-wp8kc 3 жыл бұрын
good series
@NetworkDirection
@NetworkDirection 3 жыл бұрын
Thank you!
@tommclaughlin7179
@tommclaughlin7179 4 жыл бұрын
Thank you for simplifying gre!
@NetworkDirection
@NetworkDirection 2 жыл бұрын
My pleasure!
@yusefskaff47
@yusefskaff47 4 жыл бұрын
Excellent explanation!! I appreciate that 👍🏼
@NetworkDirection
@NetworkDirection 4 жыл бұрын
Glad it was helpful!
@DillyDogSays
@DillyDogSays 2 жыл бұрын
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
@pin-fatsh9553
@pin-fatsh9553 6 жыл бұрын
Thanks for this well-explained nuggets :)
@NetworkDirection
@NetworkDirection 6 жыл бұрын
You're very welcome!
@AeroAngle
@AeroAngle Жыл бұрын
enabling jumbo frames help with GRE and why or why not?
@allien5329
@allien5329 5 жыл бұрын
best explained !!!
@NetworkDirection
@NetworkDirection 2 жыл бұрын
Thank you!
@Mike-ci5io
@Mike-ci5io 2 жыл бұрын
How does lowering mtu avoid fragmentation infact it will increase it so you want highest mtu interface can support
@narendrajayram1317
@narendrajayram1317 5 жыл бұрын
great explanation!
@NetworkDirection
@NetworkDirection 5 жыл бұрын
Thanks!
@raadhoque
@raadhoque Ай бұрын
very good😇
@babakvelamkon
@babakvelamkon 6 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
Network Direction Thanks alot
@NetworkDirection
@NetworkDirection 6 жыл бұрын
You’re welcome
@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
@muhammadsiddique5892
@muhammadsiddique5892 5 жыл бұрын
Great Explanation.. Thanks.
@Zbenesch
@Zbenesch 5 жыл бұрын
Nicely done!
@Robertorossell
@Robertorossell 4 жыл бұрын
Thanks great material
@mmobini1803
@mmobini1803 Жыл бұрын
Thank you!
@GamjaField
@GamjaField 6 жыл бұрын
Thank you. Great explanation as always​. Will you cover the IPSec tunnel in this series?
@NetworkDirection
@NetworkDirection 6 жыл бұрын
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 жыл бұрын
Network Direction Awesome! :)
@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 жыл бұрын
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)
@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 Жыл бұрын
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!
@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.
@NetworkDirection
@NetworkDirection 2 жыл бұрын
Do you mean RFC1918?
@jairusan
@jairusan 4 жыл бұрын
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.
@jahedbenbarka9008
@jahedbenbarka9008 5 жыл бұрын
Thank u man.....
@eksadiss
@eksadiss 5 жыл бұрын
5:28 you said 1436 when I think you meant to say 1476
@digiground7613
@digiground7613 3 жыл бұрын
nice...
@NetworkDirection
@NetworkDirection 3 жыл бұрын
Thanks!
@arunrkrishnan9833
@arunrkrishnan9833 3 жыл бұрын
perfect
@NetworkDirection
@NetworkDirection 2 жыл бұрын
Thank you!
@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 жыл бұрын
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
GRE Encryption with IPSec | VPN Tunnels Part 2
9:20
Network Direction
Рет қаралды 34 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 21 МЛН
Packet Traveling - How Packets Move Through a Network
14:39
Practical Networking
Рет қаралды 844 М.
DMVPN Explained | DMVPN Tunnels Part 1
10:17
Network Direction
Рет қаралды 49 М.
IP Sec VPN Fundamentals
14:55
LearnCantrill
Рет қаралды 190 М.
RFC 2784 Generic Routing Encapsulation (GRE)
14:21
Bruce Hartpence - Learning Networks
Рет қаралды 16 М.
GRE Tunnel Theory and Configuration
6:08
Kevin Wallace Training, LLC
Рет қаралды 145 М.
Can you explain what a "Network Tunnel" does❓  |  Time to Level Up now.
8:37
Keith Barker - The OG of IT
Рет қаралды 52 М.
How VRFs Work (VRF Lite) | VRFs Part 1
11:26
Network Direction
Рет қаралды 183 М.
IPSec Site to Site VPN tunnels
18:44
Keith Barker - The OG of IT
Рет қаралды 497 М.