Network Namespaces Basics Explained in 15 Minutes

  ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 104,196

KodeKloud

KodeKloud

Π”Π΅Π½ΡŒ Ρ‚ΠΎΠΌΡƒ

πŸ†“Join our Slack Community for FREE: kode.wiki/JoinOurSlackCommunity
Get introduced to the basics of Network Namespaces in Linux.
Access full course here: kodekloud.com/p/certified-kub...
Network Namespaces are used by containerization technologies like Docker to isolate network between containers.
We’ll start with a simple host. As we know already containers are separated from the underlying host using namespaces. So what are namespaces?
When the container is created we create a network namespace for it that way it has no visibility to any network-related information on the host. Within its namespace the container can have its own virtual interfaces, routing and ARP tables. The container has an interface.
To create a new network namespace on a Linux host, run the ip nets add command. In this case we create two network namespaces read and blue. To list the network namespaces run the ip netns command.
To list the interfaces on my host, I run the ip link command. I see that my host has the loopback interface and the eth0 interface. Now, how do we view the same within the network namespace we created? How do we run the same command within the red or blue namespace? Pre-fix the command with the command ip netns exec followed by the namespace name which is red. Now the ip link command will be executed inside the red namespace. Another way to do it is to add the -n option to the original ip link command. Both of these are the same, the second one is simpler though. But remember this only works if you intend to run the ip command inside the namespace. As you can see it only lists the loopback interface. You cannot see the eth0 interface on the host. So with namespaces we have successfully prevented the container from seeing the hosts interface.
#NetworkNamespacesBasics #KodeKloud

ΠšΠžΠœΠ•ΠΠ’ΠΠ Π†: 209
@KodeKloud
@KodeKloud 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Learning Kubernetes is essential for any DevOps professional. Learn, practice, and get certified on Kubernetes: kodekloud.com/p/certified-kubernetes-administrator-with-practice-tests
@manishfoodtechs
@manishfoodtechs 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This took me 1 month to learn by self and you visualized in 15 minutes. Believe me.. you covered everything. Good Work
@Papun590
@Papun590 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
brother please if you understand make me understand it because ididint understand any thing
@nikhilpurwant5030
@nikhilpurwant5030 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Great Work KodeKloud! If the pings do not work - make sure you add ip addresses as 192.168.15.1/24 and 192.168.15.2/24 and for the bridge example make sure you also bring up the peer devices (veth-red-br and veth-blue-br) using following commands - sudo ip link set veth-red-br up and sudo ip link set veth-blue-br up before testing the pings.
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Hi Nikhil, thanks for checking out our tutorial and for sharing the information. Do subscribe to our channel to stay posted on upcoming tutorials. Cheers!
@christianposta
@christianposta Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Yeah, this helped me as well. The last thing that helped me was, the bridge traffic will traverse iptables by default… so either turn that off, or enable an β€œallow” policy for Forwarded traffic with β€œiptables -policy FORWARD ACCEPT”
@mintymintfresh
@mintymintfresh Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
this is what i was missing.
@helgestegemoen73
@helgestegemoen73 11 місяців Ρ‚ΠΎΠΌΡƒ
That helped me. Thanks :)
@agytjax
@agytjax 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Wow. Entire Namespace condensed to 15 min and explained well as well. This should be the go-to tutorial for networking with Namespaces
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
WelcomeπŸ™. All our videos are simple and easy to understand. Please subscribe to our channel & help us create more such videos.
@zahurulhaque6377
@zahurulhaque6377 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Awesome video, Love this guy helped me pass my kube certs. BTW on amazon linux 2, I had to use 192.168.15.1/24 and 192.168.15.2/24 for red and blue namespaced network, otherwise could not ping.
@michalkosinski4459
@michalkosinski4459 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Same for me in Fedora , in other case I got Network is unreachable and cannot even ping own iface . Br, Michal
@helgestegemoen73
@helgestegemoen73 11 місяців Ρ‚ΠΎΠΌΡƒ
Thanks. This worked for me on Ubuntu :)
@NoProblem76
@NoProblem76 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
oh wow i've been trying to learn this for years and u made it so clear.
@Kodreanu23
@Kodreanu23 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Fantastic video! So short, down to the point. Thank you! Subscribed.
@leamon9024
@leamon9024 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Awesome explanation! Thanks for all the hard work. Appreciate your effort.
@shrutidalvi9202
@shrutidalvi9202 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is the best explanation ever! Thank you so much.
@rarrawer
@rarrawer 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thank you for explaining this. I feel I have a much greater understanding of this topic as a result of this video.
@UlissesESA
@UlissesESA 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
That is completely perfect! Thank you vary much. It looks like that it's worth enough following this channel.
@TrungLe-lw4zm
@TrungLe-lw4zm 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is probably one of the best video that could explain this concept
@upsangelhk
@upsangelhk ΠœΡ–ΡΡΡ†ΡŒ Ρ‚ΠΎΠΌΡƒ
Great tutorial. The title can also be how to create a virtual Linux router. It s basically what a router do, besides the iptables rules then it completed.
@sandeepr5007
@sandeepr5007 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Awesome video with so much details compressed yet very much clear and precise explanation. Analogy was simply superb which I could not find in any videos and articles till now. Thank you :)
@sudhiris056
@sudhiris056 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Excellent explanations. Super liked it... Thank you so much for this.
@drakezen
@drakezen 5 Ρ€ΠΎΠΊΡ–Π² Ρ‚ΠΎΠΌΡƒ
Great explanation. Much appreciated!
@imanebt8617
@imanebt8617 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Please do more in depth courses like these (cgroups, overlay networks). I'm currently interested in what are pods concretely. From what I understood until now, it's just a bunch of containers (i.e a bunch of uts+pid+network+ipc) that belongs to the same network namespace.
@yoavklein123
@yoavklein123 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Hi thanks for the video ! When following along, I noticed that there are 2 important things not mentioned in this video in order for this to work: 1. We need to set up the interfaces that are mastered by the bridge network. 2. We need to enable ip forwarding for the machine, i.e.: sysctl -w net.ipv4.ip_forward=1
@pengdu7751
@pengdu7751 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
best 15 minutes I've spent today! thanks!
@shrish75
@shrish75 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
One of the best explanation in 15 mins
@zyymcu
@zyymcu 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Great work ! This video deserves more thumb up! Thank you very much.
@HXYZZZ
@HXYZZZ 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
wow. Great explanation. thanks for putting this together.
@HosseinHosseinvand
@HosseinHosseinvand 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Simple and Amazing. God bless you
@crutz3064
@crutz3064 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is actually explained so well
@oshoashram
@oshoashram 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks ,wonderful explanation !!
@fase29
@fase29 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
very well explained, great job!
@leelathati2280
@leelathati2280 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Great explanation!! Thanks.
@saiyjin98
@saiyjin98 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is by FAR the best description of network namespaces I've ever seen! Thank you for putting this together!
@sir_enuf
@sir_enuf Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
This visualisation is just amazing. Thanks
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@christymathew9035
@christymathew9035 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
God level teaching....Im literally speechless.Was struggling with openstack ping issues.this saved my life.
@spoown007
@spoown007 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Very clear technical explanation , you can understand how networking is working within container, and between them! Really excellent, please continue...
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks for stopping by. Hope you saw our other videos on DevOps and other important tools.πŸ‘
@samoh96
@samoh96 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
more than good level. great. thanks for sharing this smartly and clearly summarized video to public.
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Hello, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)
@ravindra6028
@ravindra6028 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
again this video is such a master piece. Never saw any great video like this. Thanks from bottom of heart. This is what education should be. Figuring out from man pages it too much stressful
@mrashad_com
@mrashad_com 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
WOW, in 15 mints you explained one of the most complicated subjects I didn't understand, simply by telling us the "why" I hope I can make 1000 like, thank you
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
We are glad you found our video helpful. Like and share our video with your peers and also do not forget to subscribe to our channel for not missing video updates. We will be coming up with more such videos. Cheers!
@user-gl1fv2tu3h
@user-gl1fv2tu3h 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Watching this video for the second time and it is as helpful as it was before, thank you so much 😁
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks😊 We make sure all the concepts are clearly explained. We have experts in our team who make even complex things look very easy. Please subscribe to our channel & help us create more such videos.
@ECX0x100h
@ECX0x100h 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is the best video on namespaces I've come across thus far.
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Comments like these motivate us to do more such videos. Thanks! Please subscribe to our channel for more such videos 😊
@ECX0x100h
@ECX0x100h 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
@@KodeKloud By the way, I'm trying to run multiple VPNs simultaneously each within their own network namespace, then route subnets to their respective VPNs from the main system. You could do a video on how to do this if you want.
@ujjwalrastogi9100
@ujjwalrastogi9100 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thnks for informative vedio, this clear lots of thing for me regarding namespaces
@tomknud
@tomknud 8 місяців Ρ‚ΠΎΠΌΡƒ
That's a pretty thorough rundown of the internal networking facilities of OS's. The only thing that might make it better is if you brought up the places in the Linux codebase where these things are effected.
@KodeKloud
@KodeKloud 8 місяців Ρ‚ΠΎΠΌΡƒ
Thank you so much : ) We are glad to be a part of your learning journey
@ClaudioPascual
@ClaudioPascual 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Excellent tutorial. I had to explicitly bring up the `veth-*-br` devices -I don't see that in your video.
@a143r
@a143r 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
excellent explanation, I. would watch this video 100 times, thanks
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Wow, thanks! Please subscribe to the channel and support us.
@KimsesizKedi
@KimsesizKedi Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
I can't skip without commenting. It was great! I enjoyed watching. For some reason mine didn't work but overall I learned A LOT.
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Glad you enjoyed it! Check out our Early Black Friday offer to get upto 50% off on our Premium Courses: you can use our early Black Friday offer to enroll for our courses: b.link/wko6c6
@milossimicsimo
@milossimicsimo 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is so damn good! Well explained and easy to follow.! Great source, thanks!
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks!😊😊😊
@jsaenzMusic
@jsaenzMusic Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
This was Outstanding! It helped me internalize the virtual networking I set up with my VM's and although I knew how to get things working, I now understand the fundamentals of why! Will be leveraging your services for sure!!!
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thank you for the appreciation. You can check our videos related to DevOps and subscribe to our channel to stay updated with all the latest tools.
@g.t.3482
@g.t.3482 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks for posting this.. Great job!! It gets very confusing without animation and color coded diagrams.
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Glad it was helpful!
@user-jn5jg4lm9k
@user-jn5jg4lm9k 19 Π΄Π½Ρ–Π² Ρ‚ΠΎΠΌΡƒ
Wonderful explanation. If you do the same for other material it worth it spending the time to learn it
@tedpeng1862
@tedpeng1862 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
this is really awesome explaination
@moldrienperez9052
@moldrienperez9052 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Great content! Very useful in this moment for me. Thank you very much!
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Glad it was helpful!
@iammrchetan
@iammrchetan 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is just awesome. Docker kept rolling in my mind for the entire video and helped me understand the implementation. Well, the first time, it went a little over my head because of less networking understanding. Watching it for many times to grasp everything. Thank you again, you're the best teacher!
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
WooHoo! We are so happy you love our videos. Please do keep checking back in. We put up new videos every week on all your favorite topics. Whenever you have the time, you must also check out website @kodekloud.com and tell us what you think. Have a good day!
@ofiry
@ofiry 5 місяців Ρ‚ΠΎΠΌΡƒ
Amazing video. you basically answered all my questions!
@KodeKloud
@KodeKloud 5 місяців Ρ‚ΠΎΠΌΡƒ
Thank you for the appreciation. You can check our videos related to DevOps and subscribe to our channel to stay updated with all the latest tools.
@sujjalsheth2576
@sujjalsheth2576 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Appreciated, very simple and effective...
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Glad it helped. Please subscribe to our channel for more such videos 😊
@zeeshanakhtar8081
@zeeshanakhtar8081 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Hi Mumshad, Thank soo much for video took me weeks to understand everything which you amazingly covered in just 15min. If possible also touch CI/CD pipeline (Jenkins) auto deployment networks within containers May Allah always bless you
@jbragg33
@jbragg33 3 місяці Ρ‚ΠΎΠΌΡƒ
Amazing explanation, very clear, thank you
@KodeKloud
@KodeKloud 2 місяці Ρ‚ΠΎΠΌΡƒ
Glad it was helpful!
@damirtheone
@damirtheone 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Well done! It seems like a too simple, too basic tutorial, but actually it covers, in an extremely simple way, so many important facts (I would say everything for the basic communication between namespaces/host/internal/external networks).
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Hello, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)
@chandrag2536
@chandrag2536 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Fantastic video...thank you.
@mortezanik1148
@mortezanik1148 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thank you for Awesome explanation!
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
You're very welcome!
@jigneshpatel5469
@jigneshpatel5469 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Bro. This is awesome. You helped me tremendously to understand this
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Glad it helped!
@AnantaAkash.Podder
@AnantaAkash.Podder Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
You are the Best Explainer Man... You truly make Difficult Topics understandable very easily...❀❀❀
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Hey, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)
@zaherer2008
@zaherer2008 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Teaching is a talent and you are amazingly talented. Best explanation ever
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Wow, thank you! 😊
@pankajchaurasia9105
@pankajchaurasia9105 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Awesome explanation. Simply superb video
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Hello, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)
@vaibhavmewada4508
@vaibhavmewada4508 ΠœΡ–ΡΡΡ†ΡŒ Ρ‚ΠΎΠΌΡƒ
Nice explanation
@kalimuthu6831
@kalimuthu6831 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Awesome video!!! Keep it up.
@edipocdf
@edipocdf 9 місяців Ρ‚ΠΎΠΌΡƒ
wow, really high level content, tks a lot for this.
@KodeKloud
@KodeKloud 9 місяців Ρ‚ΠΎΠΌΡƒ
Glad you enjoyed it!
@hsubyron2277
@hsubyron2277 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
So well explained!!
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Glad it was helpful!
@RegularEverydayNormalGuy
@RegularEverydayNormalGuy 11 місяців Ρ‚ΠΎΠΌΡƒ
That intro is very smooth
@KodeKloud
@KodeKloud 10 місяців Ρ‚ΠΎΠΌΡƒ
Thanks a ton! Your support makes all the difference πŸ’™
@amilcarchissola2262
@amilcarchissola2262 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Dammn Man, you are the Guy. thank you for this incredible lesson, I spent 1 week trying to understand these concepts, and now with your video, I understood everything in just 15 min.
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Hello, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)
@jjames7206
@jjames7206 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This is great great explanation!!
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
ThanksπŸ‘ Please subscribe and encourage us to provide more such quality content.
@diskmandata4
@diskmandata4 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
In order to ping host itself one might need to bring loopback iface UP. Also to ping link host specify netmask /24 explicitly when you add your IP address, otherwise you might get "Network is unreachable" error.
@StanislavBashkirtsev
@StanislavBashkirtsev 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
And if you already have this error and want to delete the incorrect IP address: ip -n red addr del 192.168.15.1/32 dev veth-red
@AimAmit
@AimAmit 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
you are life saver man. Thanks
@sir_enuf
@sir_enuf Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thank you this fixed it for me :D To be more exact, first, as Stani said, delete the address you added to the interface: ip -n red addr del 192.168.15.1/32 dev veth-red Then, rerun the command that was featured in the tutorial except that you explicitly add the /24 at the end of the IP: ip -n red addr add 192.168.15.1/24 dev veth-red
@aliakbarhemmati31
@aliakbarhemmati31 5 Ρ€ΠΎΠΊΡ–Π² Ρ‚ΠΎΠΌΡƒ
Another great content
@sovsemnetot
@sovsemnetot 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
perfect explanation
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Glad you liked it. Please subscribe to the channel and support us.
@tahar1234
@tahar1234 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Excellent, that all I can say, THANK YOU
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Glad you enjoyed it!
@chaoukisouissi7092
@chaoukisouissi7092 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
You are the best , bravo bravoπŸ™
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thanks a ton! Your support makes all the difference πŸ’™
@solracthegreat1002
@solracthegreat1002 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Many thanks for the great explanation, is it the same to link a Veth to a container than to a name space? Can you explain it using LXD please?
@gulyasbendeguz2033
@gulyasbendeguz2033 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Hey! May I ask what kind of program are you using for creating these videos? I want to learn the trick to use the terminal command and its output display within my presentations! Thanks in advance!
@vikas5951
@vikas5951 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Should we execute the commands on two different terminals ? should the bridge be created outside of both blue and red namespaces?
@silvertad3833
@silvertad3833 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
excellent job
@namitaigit
@namitaigit 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Amazing!
@kshitizjain9557
@kshitizjain9557 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
thanks for doing my coding assignment
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
You're welcome. Please subscribe to our channel and support us to do more such videos. Thanks 😊
@imanebt8617
@imanebt8617 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
I don't understand the 6th downvotes, this video shed the light on so many things that other articles talk about and describe without saying what it actually is. All the articles I read say the fruit is round and may be green or red, while this video tells me directly that it is an apple.
@Dipinthomas2003
@Dipinthomas2003 5 Ρ€ΠΎΠΊΡ–Π² Ρ‚ΠΎΠΌΡƒ
Hello Mumshad, Awesome video as always, thank you. Please let us know in few words how is network namespace different from using CNI like calico with namespace.
@Dipinthomas2003
@Dipinthomas2003 5 Ρ€ΠΎΠΊΡ–Π² Ρ‚ΠΎΠΌΡƒ
@@KodeKloud cool thank you for explanation.
@eryoung2172
@eryoung2172 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Wow, a helpful video!
@shalinikabilan7128
@shalinikabilan7128 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Exellent job
@neilthomas5026
@neilthomas5026 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Great content tbh πŸ‘πŸΎπŸ‘πŸΎπŸ‘πŸΎ
@reddinghiphop1
@reddinghiphop1 Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Fantastic Video
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thank you very much!
@coolcatson3
@coolcatson3 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
I needed to add /24 to the end of the ip's for this to work. ip -n red addr add 192.168.15.2/24 dev veth-red ip -n blue addr add 192.168.15.3/24 dev veth-blue
@victoriabressan4557
@victoriabressan4557 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
excelente!
@vellano.1637
@vellano.1637 5 Ρ€ΠΎΠΊΡ–Π² Ρ‚ΠΎΠΌΡƒ
very good ! like it.
@miggyshiggy
@miggyshiggy Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Great visuals
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Thanks a lot!
@jen_peter
@jen_peter 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Hi, It's an amazing summary! I was wondering if this method can be used to run separate programs in the separate namespaces and when I communicate with an outside API, will the API see separate IP addresses as well or will se the same since it's coming from the same Bridge and host? Thanks!
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
If you create a new network namespace and run a process in it, the process will have its own network stack and IP address. If you use a network namespace with a shared network stack, then the namespace and the host will share the same network stack and IP address.
@Angluar
@Angluar 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Very Nice Video! Thx XD
@evolagenda
@evolagenda 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
After ensuring the prefix was ip/netmask I also had to add an ip in the same range as the namespaces to the vswitch or "bridge" which was confusing since nothing is being routed. sudo ip addr add / dev You can also set this to n.n.n.0/
@kazifaisal-rj9js
@kazifaisal-rj9js 19 Π΄Π½Ρ–Π² Ρ‚ΠΎΠΌΡƒ
very good video
@saeedp92
@saeedp92 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
So great
@navkang4
@navkang4 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
hats off !
@zenancai4656
@zenancai4656 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Amazing video
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks! Please subscribe to the channel and support us.
@yxs8495
@yxs8495 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Like @Honey Bee below I had to add full CIDR address. Also make sure all network interfaces are up e.g. sudo ip link set veth-blue-br up etc. This is not shown in the video
@bozhanboyadzhiev9889
@bozhanboyadzhiev9889 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Please update your video with proper commands for creating second interface and bridging two namespaces as well , Thanks!
@KodeKloud
@KodeKloud Π Ρ–ΠΊ Ρ‚ΠΎΠΌΡƒ
Hey Bozhan, thank you for watching our video and for the honest feedback. We will definitely look into this. Do subscribe, like and share to stay connected with us. Cheers :)
@gaatutube
@gaatutube 4 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Great video ... but the speed of this particular video (in comparison to your other videos) was TOO FAST for me. Had to pause and replay at many places.
@alexandersmirnov4274
@alexandersmirnov4274 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
you are the best!!!
@KodeKloud
@KodeKloud 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Glad πŸ™‚. Please subscribe and encourage us to provide more such quality content.
@AronW4
@AronW4 2 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Like * 1000000000 brilliant lesson
@mouhammaddiakhate3546
@mouhammaddiakhate3546 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
This man is a genious.
@KodeKloud
@KodeKloud 3 Ρ€ΠΎΠΊΠΈ Ρ‚ΠΎΠΌΡƒ
Thanks!😊😊😊 Please subscribe to our channel for more such amazing videos.
What's in a Name? - Linux Namespaces
21:13
DJ Ware
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 16 тис.
Docker Networking Tutorial (Bridge - None - Host - IPvlan - Macvlan - Overlay)
20:30
Anton Putra
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 11 тис.
😨Новая Π’ΠΎΠΉΠ½Π° Π² GTA 5 Online #shorts
00:40
King Dm
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 1,7 ΠΌΠ»Π½
Docker Advanced Networking - The Secret to Optimizing Your Container Logging
9:20
KodeKloud
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 124 тис.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
Fireship
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 643 тис.
Linux Bridges, IP Tables, and CNI Plug-Ins - A Container Networking Deepdive
1:02:23
Cisco DevNet
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 26 тис.
Network Protocols - ARP, FTP, SMTP, HTTP, SSL, TLS, HTTPS, DNS, DHCP - Networking Fundamentals - L6
12:27
Practical Networking
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 1,8 ΠΌΠ»Π½
Kubernetes Namespaces
18:26
Pavan Elthepu
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 8 тис.
What is a Container?
18:24
VMware Cloud Native Apps
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 662 тис.
How Docker Works - Intro to Namespaces
12:56
LiveOverflow
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 161 тис.
Linux Internals: Networking
46:15
DJ Ware
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 28 тис.
Containers unplugged: Linux namespaces - Michael Kerrisk
53:39
NDC Conferences
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 19 тис.
ΠšΠΎΠ½Ρ‚Π΅ΠΉΠ½Π΅Ρ€Π½Π°Ρ виртуализация Π² Linux
1:49:47
Computer Science Center
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 251 тис.
😨Новая Π’ΠΎΠΉΠ½Π° Π² GTA 5 Online #shorts
00:40
King Dm
ΠŸΠ΅Ρ€Π΅Π³Π»ΡΠ΄Ρ–Π² 1,7 ΠΌΠ»Π½