OF all the thousands subnetting tutorials here on youtube, i can pretty say that you are maybe the only few guys, that can explain it clearly ,brilliantly, wthout giving me any confusion, you are simply the best..! it has been 10 years since you uploaded this, but, sir, Thank you for all the effort. stay safe,god bless you
The best explanation i've ever seen. Some lectures just beat around the bush without a concrete resolution. Thank you Sir for this perfect explanation.!!!!
To be Honest, I'm Moroccan and My English is too basic and this is one of the best sub-netting videos hat i have even seen. Thank you soo much and I created this account just to say thank you for the explanation
Very well presented and easy to understand. We all have a lot to learn from you! Thank you. :) I've seen this video in the past already, but forgot about the problem and solution to it. Now, after having studied for the CCNA, I came back to check if I could solve it (without remembering your solution from when I first saw your video), and I can proudly say I've managed to solve it very quickly. This feels good, thank you for that as well, Dan! All the best to you! :) Regards, Attila
Dude. I swear nobody can explain this where it makes sense.... and then I see this. Thank you! So much easier than I thought. Smh. I’m taking my N+ now lol.
Solved it pretty quickly. My gut instinct told me it was the IP addresses. After looking at the CIDR & Mask, had the network id's solved in about 10 seconds in my head. Hopefully this is good enough for the test tomorrow!
In the beginning, everything in IPv4 was designed around classes which was a bad idea because it was not an efficient use of the IPv4 addresses which were running out. So CIDR basically enabled the use of whatever subnet mask you needed regardless of the number. So 174.22.x.x would have been classfully a slash 16 subnet mask but now it really didnt matter because the routing protocol would include the subnet mask in the header and recognize whatever subnet mask you needed like slash 24.
Thank you so much for your tutorials about subnetting. Love the simple way you teach! I wish you were my teacher. I like your website too. So informative.
Dan I like your clear and concise video. I really like the fact that their's no BullSh!t computer effects or annoying fancy diagrams that is very distracting. Just the simple white board, arm, and ink!
so it's better to change the ip address instead of changing the subnet mask to /25 so you don't have to reconfigure the entire network? or both options would be correct?
Wow, this was a really good explanation. especially finding out the /27 from binary "count the ones" omg Idk why I never thought of that, I was counting backwards LOL!
@vszabad In IPv4 routing's early formation people were limited to "classful routing." Today with classless inter domain routing (CIDR) you are not limited to the classful schemes.
On most network, as long as the DHCP server is configured to hand out the gateway IP address and DNS server addresses also... then it should be no problem for a host to get to the internet.
Does it matter what IP address you assign to your router/gateway? Would you assign the network address to your gateway or would you assign the first useable IP address to the gateway? Does the gateway just have to fall within the subnet range?
my friend took the exam - and he said all he did was gave the router a BGP with neighbor IP with (remote-as) and the network worked and he passed the exam with it. so now im confused. because what if the exam wants you to keep the everything the same but still make the 2 networks talk to each other.?
In IPv4 the network address is reserved and never assigned to a host, even a router. The router is typically assigned the first usable address, but can be assigned any usable address within the subnet range.
For clarification you could also 'solve' the problem by changing the subnet mask to /25 but it's better to change the device's IP so you don't have to reconfigure your entire network. :)
Wow, amazing explaination... you should be teaching at or something like that because I am not good at this and I understood everything. Thank you sooo much!!!!!!!!
Does the cidr determine the classification of the subnet mask or does it depend on the question being asked? I thought 173 in the IP address determines the subnet class. Please help thank you
one thing i dont undersrand. the ip starts with 173. so i thought this should be a class B address which has a subnet mask of 255.255.0.0 not 255.255.255.0 . pls help
hey im a first year student and i am struggling a lot with this part. how do i find the network,broadcast,host,last host first host etc addresses? i don't know how to get any of theese. if this makes sense? need answer ASAP please
I am new to networking and I have a bit of confusion here that 173.32.2.62 as 173 falls in class B network(128-191) with subnet mask (255.255.0.0) than why you did subnetting with class C network which is (192-223) with subnet mask (255.255.255.0).Kindly anyone answer my question so that it will clear my confusion.. thanks
Kids Fun Tv Correct the first 16 bits are on by default which equals the 255.255.0.0. Class b mask u are reffering too. But its calls for /27 which means we need 11 more bits on to equal up to 255.255.255.224. I'm just getting it too correct me if I'm wrong. Peace
Jaime Escobar this is why I jumped to the comments.. I thought the same thing. I am just learning but weird how he didn’t explain the classes and the binary behind why it could be a class b or c to newbies
Bcz when you borrow 11 bit . Then it will come in two octate therefore in class B 8 come in one octate and 3 bits come in second octate such as -:-:8:3 -:-:255:224 /27 . OK
I thought that the router was supposed to connect severeal different networks together.. Why is it a problem that the IP addresses do not belong to the same network? Sorry for the stupid question, but I really do not get it
Also I modified books way of subnetting I.Pv6. They did mask say /64 divided by 4 to get number of characters. I just did mask /60 60/16 this then gives result like 3.75. Because each group is 4 characters this would mean that in this address the network is 239A:FCDA:16D::. The result is in 3rd group 3/4 of way in or 3rd of the 4 digits. 239A:FCDA:16DE:5693:ABCD:DCBA:FEA1:CAFE I think this way is a bit quicker, simpler to remember than book. I even verified this on book problems all correct.
The magic number is 0. Remember, a /24 is 255.255.255.0; which means your range is x.x.x.0 -> x.x.x.255; Network ID is 0, Broadcast is 255.. This is only true IF you have the 0 network enabled (which it is by default).
Yeah, but that could potentially be wasting IP addresses. If a network only needs 28 hosts a /27 is a much more efficient use of ip addresses compared to increments of 128. That's my two cents :)
+Lissette -- Well, first I'd verify the gateway's IP and subnet mask is correct. If they're valid, then everything connected to that gateway needs to be in the gateway's network range and use the gateway's subnet mask.
I know that the comment is 1 yr old but I just wanted to add my $0.02.. Classful networks (A,B,C) with predefined network masks is an old concept. The IP range barriers imposed by a selection of only 3 predefined masks didn't allow an efficient allocation of IP addresses. This is where the subnet masks came into play. The A,B,C barriers were gone and now the 173. doesn't mean that the subnet mask has to be 255.255.0.0. You can overlay any subnet mask. This is how I understand it.
Like your videos. I used to do it the way you dis with mask. now I kind of mix my way with book. only 9 valid masks. 0,192,224,240,248,252,254,255. Then think binary or look at it and list those masks off until you hit binary 0. 11111111.11111111.11110000 would be 255.255.248.0. Also counting backward helps on things like serial link addressing E.G 252 mask just go 255-1-2-4= 252 therefor 8-3=6 for 6 binary 1s.
This is the subnet video that made it all clear to me. This video is my epiphany moment for subnetting. Thank you
OF all the thousands subnetting tutorials here on youtube, i can pretty say that you are maybe the only few guys, that can explain it clearly ,brilliantly, wthout giving me any confusion, you are simply the best..! it has been 10 years since you uploaded this, but, sir, Thank you for all the effort. stay safe,god bless you
The best explanation i've ever seen. Some lectures just beat around the bush without a concrete resolution. Thank you Sir for this perfect explanation.!!!!
To be Honest, I'm Moroccan and My English is too basic and this is one of the best sub-netting videos hat i have even seen. Thank you soo much and I created this account just to say thank you for the explanation
like me I am from Jordan and I really love the way of explaination
me too , am from Yemen
Mashallah brother
Dan's videos are downright underrated.
You're awesome this is from 2023 an you explained this to me like no other person thank you so much professor
The Best video I have seen after many confusing videos. Thank you, Dan. There is nothing worst than being confused.
Very well presented and easy to understand. We all have a lot to learn from you! Thank you. :) I've seen this video in the past already, but forgot about the problem and solution to it. Now, after having studied for the CCNA, I came back to check if I could solve it (without remembering your solution from when I first saw your video), and I can proudly say I've managed to solve it very quickly. This feels good, thank you for that as well, Dan! All the best to you! :) Regards, Attila
Simple, concise and easy to understand. Thank you for posting this tutorial.
The first explanation of Subnetting that actually made sense. Thank you!
Explains everything so clear and easy. Amazed.
Thank you Dan! Taking my Network + exam tomorrow, my Security + exam in April and on to my CCNA.
Dude. I swear nobody can explain this where it makes sense.... and then I see this. Thank you! So much easier than I thought. Smh. I’m taking my N+ now lol.
@SyncPK Cheers. Good for you, the Network+ is tough because it is such a broad range of subjects.
The best explanation ever.
Good job Dan. You're the best.
Solved it pretty quickly. My gut instinct told me it was the IP addresses. After looking at the CIDR & Mask, had the network id's solved in about 10 seconds in my head. Hopefully this is good enough for the test tomorrow!
In the beginning, everything in IPv4 was designed around classes which was a bad idea because it was not an efficient use of the IPv4 addresses which were running out. So CIDR basically enabled the use of whatever subnet mask you needed regardless of the number. So 174.22.x.x would have been classfully a slash 16 subnet mask but now it really didnt matter because the routing protocol would include the subnet mask in the header and recognize whatever subnet mask you needed like slash 24.
this dude is the best at teaching, making this easy as pie my guy.
Mate, Thank you for taking the time to do these videos i am doing my CCNA at the moment and this has helped a great deal. Really appreciate it.
I feel this is the only video actually helpful to me, thanks!
knew the problem 30 seconds in, stayed to see the explanation and make sure I was correct. The gateway is in subnet 2, pc's ip is in subnet 3.
That was good. One thing: I would explain to people unfamiliar with it, what the "magic number" means, -that it's block size.
THANK YOU SO MUCH, such an easy explanation to follow is what every student needs
Thank you so much for your tutorials about subnetting. Love the simple way you teach! I wish you were my teacher. I like your website too. So informative.
Dan I like your clear and concise video. I really like the fact that their's no BullSh!t computer effects or annoying fancy diagrams that is very distracting. Just the simple white board, arm, and ink!
so it's better to change the ip address instead of changing the subnet mask to /25 so you don't have to reconfigure the entire network?
or both options would be correct?
Yes
It depends on the situation where you are.
Wow, this was a really good explanation. especially finding out the /27 from binary "count the ones" omg Idk why I never thought of that, I was counting backwards LOL!
Thanks, this is much better information on how to do subnetting and solving those test problems. Awesome!
Easy to follow! Well explained! I see your vids being my night before the exam cram! Cheers!
Very detailed. Thank you very much, wow I learned a lot from a single video than a loong assed lecture. Thank you
@vszabad In IPv4 routing's early formation people were limited to "classful routing." Today with classless inter domain routing (CIDR) you are not limited to the classful schemes.
crystal clear explaination. but why use static IP addresses when DHCP is there to solve almost all problems with IP addressing?
Classless interdomain routing (CIDR) uses classless addressing which means the subnet masks are not classful
On most network, as long as the DHCP server is configured to hand out the gateway IP address and DNS server addresses also... then it should be no problem for a host to get to the internet.
you made it so easy. thanks man. Im downloading all your videos on my phone now
Does it matter what IP address you assign to your router/gateway? Would you assign the network address to your gateway or would you assign the first useable IP address to the gateway? Does the gateway just have to fall within the subnet range?
So the only way to get this PC onto the internet without changing the IP addresses is to use a SM of 255.255.255.128(/25)?
Thank you Dan, very easy to understand now compare to all these books that make it so complicated. thanks again.
Awesome video sir, waiting for some more videos on problem solving techniques
Awesome ! Iam understanding subnetting for the first time. Thx alot
my friend took the exam - and he said all he did was gave the router a BGP with neighbor IP with (remote-as) and the network worked and he passed the exam with it.
so now im confused. because what if the exam wants you to keep the everything the same but still make the 2 networks talk to each other.?
Dude. You're killin' it! I'm stoked!
Lol. Those were the days. I am updateing my subnetting videos this year. Hopefully the production quality will go up some too!
In IPv4 the network address is reserved and never assigned to a host, even a router. The router is typically assigned the first usable address, but can be assigned any usable address within the subnet range.
Thanks a lot dans. I bought labs from shopnewused site, they are very very useful after learning from this guy.
Excellent work Dan. I love your videos. Keep up the great work.
Really thanks man !! managed to simplify all the process LOL...looks like my school teacher complicates life -.- ...thanks again ey really good job :)
Brilliant explanation dan..it cleared my doubts on subnetting. Thank you
Reminds me of N+ class, except this time around I understand almost everything. 2010, but still just as good. Thanks for the vid!
For clarification you could also 'solve' the problem by changing the subnet mask to /25 but it's better to change the device's IP so you don't have to reconfigure your entire network. :)
Best video for subnetting.
Sir,you make subnetting easy...! thank you.
@danscourses is it safe to say, network+ and A+ certifications were nice to have in the 90's, but now a days....... better to just go for ccna
Wow, amazing explaination... you should be teaching at or something like that because I am not good at this and I understood everything.
Thank you sooo much!!!!!!!!
Does the cidr determine the classification of the subnet mask or does it depend on the question being asked? I thought 173 in the IP address determines the subnet class. Please help thank you
I love it..All videos that I watched this one make me clear.. Thank you
is this method going to work with subnet mask
Very Nice! Im in cisco networking class. Thats help me alot. Thanks
Great work Dan.. Very easy to follow.
This is Magic channel .. and dan you are magician
Hello Dan. Wouldn't it be easier to change the subnet mask of the computer since both the router and computer are already on the same network?
I literally had just asked the same question.
I love the background noise of the running servers :D
I was just thinking that. Lol
Amazed, that was an amazing explanation!
one thing i dont undersrand. the ip starts with 173. so i thought this should be a class B address which has a subnet mask of 255.255.0.0 not 255.255.255.0 . pls help
network IP number is the same of gateway ip number?
Sir, do we need to configure a different router for each network?
Thanks in advance.
Excellent work Dan
nice explanation... i understood very well now..
Amazingly Illustrated..! Thanks a lot!!
hey im a first year student and i am struggling a lot with this part. how do i find the network,broadcast,host,last host first host etc addresses? i don't know how to get any of theese. if this makes sense? need answer ASAP please
But sm is class c and shouldn't it be starting with 192 in the first block of the ip address?
that was so easy and clear. thank you very much
I am new to networking and I have a bit of confusion here that 173.32.2.62 as 173 falls in class B network(128-191) with subnet mask (255.255.0.0) than why you did subnetting with class C network which is (192-223) with subnet mask (255.255.255.0).Kindly anyone answer my question so that it will clear my confusion.. thanks
Kids Fun Tv
Correct the first 16 bits are on by default which equals the 255.255.0.0. Class b mask u are reffering too. But its calls for /27 which means we need 11 more bits on to equal up to 255.255.255.224.
I'm just getting it too correct me if I'm wrong.
Peace
Jaime Escobar this is why I jumped to the comments.. I thought the same thing. I am just learning but weird how he didn’t explain the classes and the binary behind why it could be a class b or c to newbies
Bcz when you borrow 11 bit . Then it will come in two octate therefore in class B 8 come in one octate and 3 bits come in second octate such as
-:-:8:3
-:-:255:224 /27 . OK
I thought that the router was supposed to connect severeal different networks together.. Why is it a problem that the IP addresses do not belong to the same network? Sorry for the stupid question, but I really do not get it
Very very googd explanation. Thanks for all your videos!!!
Also I modified books way of subnetting I.Pv6. They did mask say /64 divided by 4 to get number of characters. I just did mask /60 60/16 this then gives result like 3.75. Because each group is 4 characters this would mean that in this address the network is 239A:FCDA:16D::. The result is in 3rd group 3/4 of way in or 3rd of the 4 digits.
239A:FCDA:16DE:5693:ABCD:DCBA:FEA1:CAFE
I think this way is a bit quicker, simpler to remember than book. I even verified this on book problems all correct.
You know that magic number thing, why does it work like that, or do I just memorise?
If the router had dhcp enabled wouldn't the router resolve the correct ip address?
Awesome. Clean presentation. Thanks!
in other words: you can use the class b network address as long as the subnet mask indicates what network / subnet / ip range it is.
what about /24? magic number will be 0 right?
Ansaruddin Asyraf Ahmad magic number will be 1
The magic number is 0. Remember, a /24 is 255.255.255.0; which means your range is x.x.x.0 -> x.x.x.255; Network ID is 0, Broadcast is 255.. This is only true IF you have the 0 network enabled (which it is by default).
256
Wouldn't of changing the subnet to 128 have also fixed the problem?
Yeah, but that could potentially be wasting IP addresses. If a network only needs 28 hosts a /27 is a much more efficient use of ip addresses compared to increments of 128. That's my two cents :)
Your videos are amazing, thanks a ton!
If the subnet mask doesn't match with the /27? What would be wrong the "/27" or " subnet Mask?
+Lissette -- Well, first I'd verify the gateway's IP and subnet mask is correct. If they're valid, then everything connected to that gateway needs to be in the gateway's network range and use the gateway's subnet mask.
Thanks mate!! U made it easy to understand
yes. its a nice tutorial. tnks sir dans
Dan your a badman gangster.
Love from Pakistan and england
Very Good Illustration!!
Thank you so much these videos are very helpful!!!
Dan you are a G!
Excellent presentation. Thank you good sir.
Thanks youre a life saver
Wow. This helped me so much.
just made my life a lot easier
DAN IS THE MAN!
Why don't we assign PC with any IP address from 173.32.2.33-61 / 27 to solve this problem??
Great job explaining
Make it into class a network as /25 will become in same nw ping will works am i correct master..
now this is concise instruction! Yeah mon!
I needed that!
I know that the comment is 1 yr old but I just wanted to add my $0.02..
Classful networks (A,B,C) with predefined network masks is an old concept. The IP range barriers imposed by a selection of only 3 predefined masks didn't allow an efficient allocation of IP addresses. This is where the subnet masks came into play. The A,B,C barriers were gone and now the 173. doesn't mean that the subnet mask has to be 255.255.0.0. You can overlay any subnet mask. This is how I understand it.
And you are correct, sir.
Like your videos. I used to do it the way you dis with mask. now I kind of mix my way with book. only 9 valid masks. 0,192,224,240,248,252,254,255. Then think binary or look at it and list those masks off until you hit binary 0. 11111111.11111111.11110000 would be 255.255.248.0. Also counting backward helps on things like serial link addressing E.G 252 mask just go 255-1-2-4= 252 therefor 8-3=6 for 6 binary 1s.