man a year ago I started watching your vids because we were just starting a module on Internet and stuff (TCP/IP, OSI, etc) and I was confused on a lot of stuff about NAT and MAC addresses and now 2 months away from my uni entrance exams, I come back to revisit this topic for revision and I find out you're posting all these new vids on networks and stuff, hallelujah 😼
I recently hosted a Minecraft server and I have a problem which is that it uses the private ip so only players connected to the same network can join I want to switch it to be hosting the server on my public IP address so anyone from anywhere can join the server. Can you guys help me with that?
Also If we run out of public IPs wouldnt we have to add another private IP for IP location so Ur town has an IP then that IP has ur IP identity which goes to you and then that IP goes to ur device?
Totally agree with the opinion, especially for such a completely fresh one in networking as I am, the materials explained here are just brilliant, wish you prosperous development👍
Whoever you are behind this channel. I really salute for your efforts and knowledge you put creating these to the point tutorials. You always make it so simple and exactly to the point what most people stuck with at and searching for. Thanks a lot
This is the very first time that I will leave a UA-cam comment. Without a doubt, I have never subscribed to a better channel than this one. Each videos provide an accurate and easily understood explanation. I sincerely appreciate all of your hard work. Keep up the great work sir!
Probably CTO at best. Basically the CEO of the company but handles more on the Technology-side of operations. CTO’s are not on the same level as CEOs btw, fyi.
A few points. Some ISPs hand out private addresses, which mean customers are already behind NAT and so cannot connect to their own network from elsewhere. NAT also breaks some protocols. Also, address classes are obsolete, replaced with classless addresses, where a base address and subnet mask are specified. BTW, according to Vint Cerf, the guy who invented this, 32 bit addresses were only intended to be used for proof of concept, with the final version having a much larger address space. Unfortunately, IPv4 escaped, leaving the world trying to get by with only 32 bits addresses.
Primary problem of IPv4 in the begining were classes* - and therefor wasting of resources. Unfortunatelly there is the same situation with IPv6 today - every single device should recieve /64 address block (for what?). So it's still unnecessary wasting of resources. Classes are obsolete for almost 30 years, but it was very bad start.
@@remetremet In the beginning there were no classes. The classes were created to make more networks, of varying sizes, available. Originally, it was just 256 of what became class A networks. Later, address classes were deprecated in favour of classless addresses with a subnet mask. Look up Classless Inter-Domain Routing for more info.
@@remetremet One other thing about that "waste of resources". While the idea was it would be impossible to run out, another benefit is security. With the address space so sparsely populated, it's virtually impossible to scan for targets to attack. That/64 block has as many addresses as the entire IPv4 address range squared! To give an idea of how big the IPv6 address space is, there are enough addresses to give every person on earth over 4000 /48s. A /48 contains 65536 /64s. And this is with only 1/8 of the address space assigned to global addresses.
This is an extremely helpful video. I work in IT and regularly get questions from clients about their employees'/family members' internet activities. I do the best I can in explaining public/private IP addresses in layman's terms and will supplement my tutorials with this video in the future.
Hi Guys, do you have any idea how informative this video really is? I love the directness of the video. No Crap music playing and talking nonsense before you explain the contents. Thank you super kindly. This video is far better than what you think. You’ve helped me out so much. Basically…exams are coming up. (Fundamentals) have a great day. 🙏🏻
I have really learnt a lot from your videos, and will be so happy to join your channel to support. Your animations are awesome, made the learning experience awesome.
A couple things: Most Linux computers these days use "ip a" to get their ip address instead of "ifconfig". The old command can be installed, but is not always there by default. Also, at some point you may want to do a video on specific IP addresses used for multicast, loopback, and broadcast if you haven't done so already.
It might be beneficial to explain CGN's next since this is fast becoming the norm for ISP's because of IPv4 shortage. And so your ISP assigned IP would not be public.
I mentioned that in an earlier reply. Of course the answer to this nonsense is to move to IPv6. I have a /56 prefix from my ISP, which provides 2^72 public addresses. On IPv6 a network would normally be /64, which provides 18.4 billion, billion addresses. A /56 provides 256 /64s.
@@James_Knott Totally agree. Old habits I guess. I've also heard some express fear of not being behind NAT on IPv6 as there's a sense of security in that.
@@James_Knott I have IPv6 too (from one of two ISPs), but dual-stack is a must for at least next ten years. Not mentioning that about half of devices in my LAN are IPv4 only (even 2021 bought devices). So pure IPv6 is still far future :-(
@@remetremet Well, some transition method is needed. My ISP also provides dual stack, but on the cell network they use 464XLAT, which converts IPv4 to IPv6 when needed. This means they can have an IPv6 only network, but I don't know if they're there yet. ISPs could also use it. Some ISPs use CGNAT for IPv4 in addition to IPv6.
I am taking the cisco courses and thanks to you it all becomes clear and easy to connect the dots, most of all no waste of time but right at the point.
You teaching are very clear, understanding. I learned basic things from my class teacher , and after that i watching you vdo to understand clearly. Thanks you so much sir
It has been said before and I will say it again: this website is like gold! Both the clarity of explanations and visual animation details presented are unmatched. Outstanding Website.
3:50 there are wrong subnet masks for private class B and C, there should be 12 bits (255.240.0.0) for private class B and 16 bits (255.255.0.0) for private class C. IP address ranges are correct.
Ok, question I've always had, if my internal IP address is invisible to the outside internet, how does the information I am requesting return to the right device, and vice versa? If the address only says 123 Parker Drive, how do we know the package goes to me, and not say, my roommate, etc. I'm not asking how this could theoretically be done, because I can imagine a solution. I want to know how it's actually done.
the tcp packet contains your devices mac address, and is thus used to return to your device. the network knows which mac address you have based on an arp scan
Your router has a table saying "Computer with MAC address X is currently assigned IP address Y". As you pass your gateway to the internet (in a home network the gateway is commonly integrated to the router), you are assigned a unique public IP address (unless you are on a NAT network). The router then knows to deliver information designated for IP address Y, to the computer with MAC address X. The router know your MAC address and private IP assocation by doing an ARP request. For example, if your router is 192.168.1.1, and the router wants to know who 192.168.1.2 is, the router will send a request over all ports asking "hey, who has IP address 192.168.1.2? 192.168.1.1 would like to know". If the device is directly connected to the router, it would simply answer "192.168.1.2 is at MAC abc".
@@PowerCertAnimatedVideos actually you are the one that deserves the appreciation. I am trying to get my comp tia A+ and network certification and your channel has helped me understand the topics better. I love the fact your videos are short and concise.
At 3:29 you display a graphic showing the hosts and the router, but I am a bit confused as the hosts do not have the same subnet address as the router this is a bit confusing for me because I thought that computers needed to have the same subnet address as the router in order to comincate with it? Is this rule different for public and private IP addresses?
I was actually going to explain this in the video..but I didn't want to confuse people. Routers/modems have 2 network adapters. One network adapter will have a private IP address just like the internal devices...same subnet...etc. The other network adapter will have the public IP.
IP address - identifier of a computer on a network to know where to send and receive communication from. Every device has to have one Public IP - used for routing traffic across the internet - different networks - assigned by the ISP at a cost - unique and not repeatable, no duplicates anywhere - unsecure as they're traceable on the internet where they're registered Private IP - developed in order to address a shortage of public IP addresses - cannot access/transmit to the internet as they're not registered on the internet, without a NAT gateway - repeateble in different LANs/other private networks and assigned by the DHCP without cost and save up the limited public IPs and cost being repeatable - secure and untraceable outside of the private network
Why does my pc's public ip address differ to my phone's public ip when connected via my mobile hotspot? Doesn't my phone act as a router and is assigned one public ip address for all the hosts connected to it?
The public IP address is the IP that your internet provider assigns your router. The default gateway is essentially your router's internal IP address. You have to keep in mind that routers have 2 interfaces: WAN and LAN. They both have their own IP and MAC addresses. As mentioned, the WAN port has the public IP address. The LAN port has the default IP address configured on the router; its also known as the default gateway IP.
This is absolutely the best explanation on the differences between private and public ip adresses videos. Job well done sir! Are the public IP adresses also classified and what numbers do they begin with?
If the mobile operator uses IPv6, you will have a unique IPv6 address. Some providers use CG-NAT. I don't fully understand how it works, but it allows the provider to share a few public IPv4 addresses with many cellphones.
I always admire how you always giving so much time for your tutorial, I'm not sure if this under your scope, but I'm hoping to hear tutorial on one of the popular system internal tools the "Process explorer"
I don't understand how a private ip can identify a device say I use my phone with a private ip to access the internet. the private ip gets turned into a public ip by NAT on the router, right? so then I get a response from a website or something, back to my router ... now how does my router know, which host in the local network this packet is addressed for?
Most home routers use something called PAT (port address translation) or if you're into Cisco stuff, NAT overload. This is kind of an extension of NAT. When your device sends an IP packet out to the internet, your router will add a port number to the packet and keep track of it. When a the server sends your phone the webpage or whatever you're requesting online, the router knows which private IP address it goes to.
Awesome video! However, if the Internet wants to sent a packet to a particular device (hidden private IP) in a home, but all devices in that home have the same public IP, how does the router know to which device it should send that packet?
There's something called PAT (port address translation) which is more or less an extension of NAT (network address translation). When your phone, for instance, sends a packet to UA-cam, the router receives this packet and will forward to UA-cam's servers. However, the router will add a port number to the packet so that when the web server sends a response, the router knows which port it came from and will send it to the correct device inside of your network.
This video left me with one important question: If private IP addresses have to be translated to public IP address & public IP addresses are unique... why does the private IP address save public IP addresses? Wont the router need to assign it a unique public one anyway? If it assigned the same public one how does the router know who the incoming traffic is for
The router doesn't "assign" public IP addresses. Your internet provider assigns your router a public IPv4 address (and also likely IPv6 addresses). Routers use something called NAT - Network Address Translation. Technically, they use an extension of NAT called PAT - Port Address Translation. Whenever your computer sends a request to a website, it arrives at the router. The router creates a port in which it sends that request. It does this for any network request coming from your internal network. When the server responds, the router knows which port it is meant for and sends it to the correct port.
When I play GTA 5 online there is a notification that says your nat is strict and my friends disconnect from my session most of the time. How can I fix this issue, is it safe if I enable my router UPnP.
If you want to be more safe, don't use UPnP and instead port forward the ports GTA Online requires. Rockstar has a support page that shows you which ports are needed. UPnP is easy and convenient, but a potential security problem if you have rouge software or devices on your network.
I recently hosted a Minecraft server and I have a problem which is that it uses the private ip so only players connected to the same network can join I want to switch it to be hosting the server on my public IP address so anyone from anywhere can join the server. Can you guys help me with that?
You would need to setup up port forwarding on your router. Mojang should have a support page with a list of ports required for port forwarding. Once you do this, players outside of your network should be able to connect to your MC server via your public IP address.
Thanks for the wonderful explanation. I have been watching your videos for concepts of networking and they are really amazing especially with the animation.
Hello sir, could you please make a video on how a company and its multiple branches located in different countries can be on the same network. Also when these companies use RFC1918 Private IP addresses range and when the IP Packet travels from one branch to the other branch located in a different country of the same company with the help of multiple ISPs, public internet and private networks.
Sir can you please tell me in our office or company which one we are using sir public or private And in college which ip address we are using sir??? Tomorrow i have an interview i have to prepare sir
What happens if private ip address of one device is same as public ip address of another one? How the conversion from private to public occurs? Is there any difference in Addressing format of private and public ip addresses?
That's not possible. Public and private addresses are different and they can't be 'mixed'. Your phone, for instance, gets a private IP address fro m the DHCP server (usually router in home networks). The router has a public IP address that it can share with all devices inside of your network.
Is it possible for my Modem to have a Private IP Address from my ISP?? I mean... Does my ISP can act as a: NAT? because I need to use hamachi for most of my needs outside my home... I am betting I have not a public IP address, and my ISP is acting like a NAT... If so, do you know any VPN service that can provide me with a Public IP address? In this case, I can't be attacked directly by a DDOS?... does a DDOS attack to the ISP affect various users if this is the case? Thanks
Suppose on my private network there are three computers A(192.168.0.1), B(192.168.0.2), C(192.168.0.3). For example computers A and C connect to the same website, what determines to which machine A or C is sent a response to request ? (after all, they have the same public IP)
your router will remember which mac addresses sent a request, even if it's for the exact information, so that when the information is incoming, it's forwarded to the correct machine
There's no need to do anything. Your PC already has a private IP address. If your PC is plugged into your router, it should have a private IP address. That's how practically all normal home networks are setup.
Get the VPN that I use. nordvpn.com/powercert
(affiliate) Get 64% off a 2-year plan + 4 months free.
man a year ago I started watching your vids because we were just starting a module on Internet and stuff (TCP/IP, OSI, etc) and I was confused on a lot of stuff about NAT and MAC addresses
and now 2 months away from my uni entrance exams, I come back to revisit this topic for revision and I find out you're posting all these new vids on networks and stuff, hallelujah 😼
I recently hosted a Minecraft server and I have a problem which is that it uses the private ip so only players connected to the same network can join
I want to switch it to be hosting the server on my public IP address so anyone from anywhere can join the server.
Can you guys help me with that?
How does VPNS work
Also If we run out of public IPs wouldnt we have to add another private IP for IP location so Ur town has an IP then that IP has ur IP identity which goes to you and then that IP goes to ur device?
😮
This dude is the best! All of his videos are clear, concise, and so easy to understand. I passed my A+ due to a large portion of his videos.
Totally agree with the opinion, especially for such a completely fresh one in networking as I am, the materials explained here are just brilliant, wish you prosperous development👍
Absolutely 👍
I will be taking my A+ soon, any advice?
Try ipcola, residential IP proxy, 100% new, 99% pure
Whoever you are behind this channel. I really salute for your efforts and knowledge you put creating these to the point tutorials.
You always make it so simple and exactly to the point what most people stuck with at and searching for.
Thanks a lot
So nice of you
@@PowerCertAnimatedVideos I second this VEHEMENTLY. This channel really has something unique to it. Thank you very much for your service!
i echo with you
True.
Try ipcola, residential IP proxy, 100% new, 99% pure
This is the very first time that I will leave a UA-cam comment. Without a doubt, I have never subscribed to a better channel than this one. Each videos provide an accurate and easily understood explanation. I sincerely appreciate all of your hard work. Keep up the great work sir!
if you were my teacher i would probably be CEO of Yahoo
Probably CTO at best. Basically the CEO of the company but handles more on the Technology-side of operations. CTO’s are not on the same level as CEOs btw, fyi.
Keep dreaming.
@@purplevanilla the good thing is dreams are free
@@alexeat-sand9938 air is also free so what's ur point
😂@@purplevanilla
From someone that had little to no knowledge regarding the topic, this has been rather educating. Thank you!
A few points. Some ISPs hand out private addresses, which mean customers are already behind NAT and so cannot connect to their own network from elsewhere. NAT also breaks some protocols. Also, address classes are obsolete, replaced with classless addresses, where a base address and subnet mask are specified.
BTW, according to Vint Cerf, the guy who invented this, 32 bit addresses were only intended to be used for proof of concept, with the final version having a much larger address space. Unfortunately, IPv4 escaped, leaving the world trying to get by with only 32 bits addresses.
Primary problem of IPv4 in the begining were classes* - and therefor wasting of resources. Unfortunatelly there is the same situation with IPv6 today - every single device should recieve /64 address block (for what?). So it's still unnecessary wasting of resources.
Classes are obsolete for almost 30 years, but it was very bad start.
@@remetremet In the beginning there were no classes. The classes were created to make more networks, of varying sizes, available. Originally, it was just 256 of what became class A networks. Later, address classes were deprecated in favour of classless addresses with a subnet mask. Look up Classless Inter-Domain Routing for more info.
i wish i can understand ~~~~~
@@remetremet One other thing about that "waste of resources". While the idea was it would be impossible to run out, another benefit is security. With the address space so sparsely populated, it's virtually impossible to scan for targets to attack. That/64 block has as many addresses as the entire IPv4 address range squared! To give an idea of how big the IPv6 address space is, there are enough addresses to give every person on earth over 4000 /48s. A /48 contains 65536 /64s. And this is with only 1/8 of the address space assigned to global addresses.
@@dannylck1 What is it you don't understand?
Finally a simple video that explains this in simple words. I've been looking for this for 10 years.
Try ipcola, residential IP proxy, 100% new, 99% pure
@@IPCOLA- shut up brand
This is an extremely helpful video. I work in IT and regularly get questions from clients about their employees'/family members' internet activities. I do the best I can in explaining public/private IP addresses in layman's terms and will supplement my tutorials with this video in the future.
Glad it was helpful!
PROBABLY ONE OF THE TOP RATED CHANNEL AS OF MY OPINION❤THANKS FOR YOUR EFFORT REALLY APPRECIATED
I have looked for many explanations on IP addressing. This is by far the best!
Try ipcola, residential IP proxy, 100% new, 99% pure
Hi Guys, do you have any idea how informative this video really is? I love the directness of the video. No Crap music playing and talking nonsense before you explain the contents. Thank you super kindly. This video is far better than what you think. You’ve helped me out so much. Basically…exams are coming up. (Fundamentals) have a great day. 🙏🏻
Try ipcola, residential IP proxy, 100% new, 99% pure
from one trekkie to another, thank you for existing.
I have really learnt a lot from your videos, and will be so happy to join your channel to support. Your animations are awesome, made the learning experience awesome.
You've become my #1 Teacher on Networking...
Thank you very much for making this video accessible...
Happy to help
Thanks for your invaluable service to humanity. Even a 5th grader can understand and apply your teaching.You rock!
Try ipcola, residential IP proxy, 100% new, 99% pure
Aren't the subnet masks incorrect? Class B should have 255.240.0.0 and Class C should have 255.255.0.0 ?
this is saving my life rn working as a generalist in tech support.
Seeing you have a video about a topic I can't understand always really make my day.
The best channel ever. So accurate and simple to understand. Crystal clear explanations
Thanks for the amazing explanation
Thanks Anmol :)
You can replace a lot of university professors here in South Africa!!
Love and respect from South Africa
A couple things:
Most Linux computers these days use "ip a" to get their ip address instead of "ifconfig". The old command can be installed, but is not always there by default. Also, at some point you may want to do a video on specific IP addresses used for multicast, loopback, and broadcast if you haven't done so already.
ip addr show - the full command
Command prompt for OS
I would love this type of video by this UA-camr
It might be beneficial to explain CGN's next since this is fast becoming the norm for ISP's because of IPv4 shortage. And so your ISP assigned IP would not be public.
I mentioned that in an earlier reply. Of course the answer to this nonsense is to move to IPv6. I have a /56 prefix from my ISP, which provides 2^72 public addresses. On IPv6 a network would normally be /64, which provides 18.4 billion, billion addresses. A /56 provides 256 /64s.
@@James_Knott Totally agree. Old habits I guess. I've also heard some express fear of not being behind NAT on IPv6 as there's a sense of security in that.
@@James_Knott I have IPv6 too (from one of two ISPs), but dual-stack is a must for at least next ten years. Not mentioning that about half of devices in my LAN are IPv4 only (even 2021 bought devices). So pure IPv6 is still far future :-(
@@remetremet Well, some transition method is needed. My ISP also provides dual stack, but on the cell network they use 464XLAT, which converts IPv4 to IPv6 when needed. This means they can have an IPv6 only network, but I don't know if they're there yet. ISPs could also use it. Some ISPs use CGNAT for IPv4 in addition to IPv6.
IP config on command prompt OS
I am taking the cisco courses and thanks to you it all becomes clear and easy to connect the dots, most of all no waste of time but right at the point.
Try ipcola, residential IP proxy, 100% new, 99% pure~
So nice to not hear annoying repetitive background music.
You teaching are very clear, understanding. I learned basic things from my class teacher , and after that i watching you vdo to understand clearly.
Thanks you so much sir
dude, imagine if the thumbnail actually shows a real ip of someone 💀💀
and good explanations, keep it up
Hats Off. One of the best channel available on youtube for understanding technology. God Bless U Sir.
THIS IS GOOD INFORMATION FOR THE GENERAL PUBLIC TO KNOW AND INVESTIGATE THE ILLEGAL USE OF THESE ADDRESSES.
It has been said before and I will say it again: this website is like gold! Both the clarity of explanations and visual animation details presented are unmatched. Outstanding Website.
Try ipcola, residential IP proxy, 100% new, 99% pure
3:50 there are wrong subnet masks for private class B and C, there should be 12 bits (255.240.0.0) for private class B and 16 bits (255.255.0.0) for private class C. IP address ranges are correct.
32 bits and 64 bits
Yes
Can you make video about Bridge mode and connect to another router with it...?
or Make video about IPv6 Stateful and stateless..
good idea
@@PowerCertAnimatedVideos And also make a video about new WPA3 or Other wireless standard security.. about Their prons and cons?....
I have heard a lot of people explain this subject, but none go over what the 3 diff classes of private IPs are used for
Ok, question I've always had, if my internal IP address is invisible to the outside internet, how does the information I am requesting return to the right device, and vice versa?
If the address only says 123 Parker Drive, how do we know the package goes to me, and not say, my roommate, etc.
I'm not asking how this could theoretically be done, because I can imagine a solution. I want to know how it's actually done.
the tcp packet contains your devices mac address, and is thus used to return to your device. the network knows which mac address you have based on an arp scan
Your router has a table saying "Computer with MAC address X is currently assigned IP address Y". As you pass your gateway to the internet (in a home network the gateway is commonly integrated to the router), you are assigned a unique public IP address (unless you are on a NAT network). The router then knows to deliver information designated for IP address Y, to the computer with MAC address X.
The router know your MAC address and private IP assocation by doing an ARP request. For example, if your router is 192.168.1.1, and the router wants to know who 192.168.1.2 is, the router will send a request over all ports asking "hey, who has IP address 192.168.1.2? 192.168.1.1 would like to know". If the device is directly connected to the router, it would simply answer "192.168.1.2 is at MAC abc".
@@swagpants not true
nowt tchreu 🤓
@@yyyuyu-je9mo then how ?
Your great. You explain each and every concept undersatable to anyone. Please continue your dedication. Looking forward to see more from you...
Try ipcola, residential IP proxy, 100% new, 99% pure~
Whoever makes these videos, Thanks so much, God bless the entire team
Try ipcola, residential IP proxy, 100% new, 99% pure~
hello bro, I have to admit that to me your videos are personally the best in terms of explanation. Keep up the good work 😊
exellant information. you solve my biggest myth behind the ip address... thnak you
Thanks!
Finally, when a vpn advertising in the right channel
I shocked to see this channel first time it's on the best channel for me 😊😊😊
You have the best to the point videos out there based on specific IT topics. Thank You.
I appreciate that!
@@PowerCertAnimatedVideos actually you are the one that deserves the appreciation. I am trying to get my comp tia A+ and network certification and your channel has helped me understand the topics better. I love the fact your videos are short and concise.
Try ipcola, residential IP proxy, 100% new, 99% pure~
This channel is a gem💎
Try ipcola, residential IP proxy, 100% new, 99% pure~
Thank you for this video
.I would request you to put the complete osi model
Very simple some humans do need this knowledge to undestand the differences 🎉
Thank you so so much for posting this. Im learning sec + and this helps so much. please continue all that you are doing.
At 3:29 you display a graphic showing the hosts and the router, but I am a bit confused as the hosts do not have the same subnet address as the router this is a bit confusing for me because I thought that computers needed to have the same subnet address as the router in order to comincate with it? Is this rule different for public and private IP addresses?
I was actually going to explain this in the video..but I didn't want to confuse people. Routers/modems have 2 network adapters. One network adapter will have a private IP address just like the internal devices...same subnet...etc. The other network adapter will have the public IP.
Thanks a ton for explaining this so clearly with such great yet simple animations.
IP address - identifier of a computer on a network to know where to send and receive communication from. Every device has to have one
Public IP
- used for routing traffic across the internet - different networks
- assigned by the ISP at a cost
- unique and not repeatable, no duplicates anywhere
- unsecure as they're traceable on the internet where they're registered
Private IP
- developed in order to address a shortage of public IP addresses
- cannot access/transmit to the internet as they're not registered on the internet, without a NAT gateway
- repeateble in different LANs/other private networks and assigned by the DHCP without cost and save up the limited public IPs and cost being repeatable
- secure and untraceable outside of the private network
This channel provide best courses with clear explanation. Thank you!
The best education content on youtube
This guy is golden and a saint for tryna to learn. These explanations are simple and easy
Try ipcola, residential IP proxy, 100% new, 99% pure
Try ipcola, residential IP proxy, 100% new, 99% pure~
Please explain about power supply and optical disc drive
Why does my pc's public ip address differ to my phone's public ip when connected via my mobile hotspot?
Doesn't my phone act as a router and is assigned one public ip address for all the hosts connected to it?
Would love to have some verifications on the difference between a public IP and a default gateway
The public IP address is the IP that your internet provider assigns your router. The default gateway is essentially your router's internal IP address. You have to keep in mind that routers have 2 interfaces: WAN and LAN. They both have their own IP and MAC addresses. As mentioned, the WAN port has the public IP address. The LAN port has the default IP address configured on the router; its also known as the default gateway IP.
This is absolutely the best explanation on the differences between private and public ip adresses videos. Job well done sir! Are the public IP adresses also classified and what numbers do they begin with?
Try ipcola, residential IP proxy, 100% new, 99% pure~
For those people that have problems with games because of strict NAT type, ask your ISP for a public IP. Did the job for me.
What about virtual Mac/IP addresses?
Ok what about sim card?I mean does every sim card has a different public IP address?
If the mobile operator uses IPv6, you will have a unique IPv6 address. Some providers use CG-NAT. I don't fully understand how it works, but it allows the provider to share a few public IPv4 addresses with many cellphones.
Wow now I know what NAT is used for thx bro
This is by far the best explanation of things in the IT world! I thank you from the bottom of my heart for this great channel. Keep it up!
Try ipcola, residential IP proxy, 100% new, 99% pure
Thank you so much for the video, the first one helped to understand the real different of public and private
I always admire how you always giving so much time for your tutorial, I'm not sure if this under your scope, but I'm hoping to hear tutorial on one of the popular system internal tools the "Process explorer"
You can go through on my Digital Library
Try ipcola, residential IP proxy, 100% new, 99% pure~
Hi Sir please make a video regarding hybrid port thank you
I don't understand how a private ip can identify a device
say I use my phone with a private ip to access the internet. the private ip gets turned into a public ip by NAT on the router, right? so then I get a response from a website or something, back to my router ... now how does my router know, which host in the local network this packet is addressed for?
Most home routers use something called PAT (port address translation) or if you're into Cisco stuff, NAT overload. This is kind of an extension of NAT. When your device sends an IP packet out to the internet, your router will add a port number to the packet and keep track of it. When a the server sends your phone the webpage or whatever you're requesting online, the router knows which private IP address it goes to.
@@JJFlores197 Thank you for your reply. Good to know.
Awesome video! However, if the Internet wants to sent a packet to a particular device (hidden private IP) in a home, but all devices in that home have the same public IP, how does the router know to which device it should send that packet?
There's something called PAT (port address translation) which is more or less an extension of NAT (network address translation). When your phone, for instance, sends a packet to UA-cam, the router receives this packet and will forward to UA-cam's servers. However, the router will add a port number to the packet so that when the web server sends a response, the router knows which port it came from and will send it to the correct device inside of your network.
@@JJFlores197 Wow, thank you so much!!! Much appreciated
Sir you cleared all my doubts in just 7 min.. thank you sir
Fantastic as always! I think it would be great if You would make a video about ports (port forwarding was really helpful, but the basics are missing)
Try ipcola, residential IP proxy, 100% new, 99% pure~
Thanks for your invaluable service to humanity
This video left me with one important question: If private IP addresses have to be translated to public IP address & public IP addresses are unique... why does the private IP address save public IP addresses? Wont the router need to assign it a unique public one anyway? If it assigned the same public one how does the router know who the incoming traffic is for
The router doesn't "assign" public IP addresses. Your internet provider assigns your router a public IPv4 address (and also likely IPv6 addresses).
Routers use something called NAT - Network Address Translation. Technically, they use an extension of NAT called PAT - Port Address Translation. Whenever your computer sends a request to a website, it arrives at the router. The router creates a port in which it sends that request. It does this for any network request coming from your internal network. When the server responds, the router knows which port it is meant for and sends it to the correct port.
Where can I get a networking course that you creat.
The best I have listened to because I am having a problem with a public ip.
But public ip are faster because router don't have to transfer private ip to public ip or no? when we talk about internet access for home.
No. IP addresses have nothing to do with the speed of your connection. It is simply a number assigned to a network device to identify it. That's it.
0:49 yes but not always true as there is something called GCNAT/NAT444/LSN.
When I play GTA 5 online there is a notification that says your nat is strict and my friends disconnect from my session most of the time. How can I fix this issue, is it safe if I enable my router UPnP.
If you want to be more safe, don't use UPnP and instead port forward the ports GTA Online requires. Rockstar has a support page that shows you which ports are needed. UPnP is easy and convenient, but a potential security problem if you have rouge software or devices on your network.
Hey, Awesome. Very simply explained the most confusing topic. Looking forward to seeing more such videos on more such topics.
Try ipcola, residential IP proxy, 100% new, 99% pure~
I recently hosted a Minecraft server and I have a problem which is that it uses the private ip so only players connected to the same network can join
I want to switch it to be hosting the server on my public IP address so anyone from anywhere can join the server.
Can you guys help me with that?
You would need to setup up port forwarding on your router. Mojang should have a support page with a list of ports required for port forwarding. Once you do this, players outside of your network should be able to connect to your MC server via your public IP address.
Bonjour monsieur svp comment mettre un serveur DHCP en place sur Windows
Thanks for the wonderful explanation. I have been watching your videos for concepts of networking and they are really amazing especially with the animation.
Try ipcola, residential IP proxy, 100% new, 99% pure~
Godsake, I Thought that you updated it and would mention IPV6 or something !!
I already made a video on IPv4 vs IPv6
@@PowerCertAnimatedVideos oh that's great but why you Reposted this?
This video made helped me comple the puzzle of wifi, thanks a lot!
Hello sir, could you please make a video on how a company and its multiple branches located in different countries can be on the same network.
Also when these companies use RFC1918 Private IP addresses range and when the IP Packet travels from one branch to the other branch located in a different country of the same company with the help of multiple ISPs, public internet and private networks.
Can you do a video on the OSI Model and the TCP/IP Address? You're videos are super duper helpful. Thank you so much for making them!!
Try ipcola, residential IP proxy, 100% new, 99% pure~
How about smartphone?
What kind of IP address does the smartphone belongs to?
I mean when i am using internet with a sim card on the street
@@laintldv9714 That would be your provider's IP address.
This is the BEST explanation. Finally I understand the concept. Tq.
simplifies the process. great video!
7:00 What is this ship of, for aliens ?
It's the Enterprise
@@PowerCertAnimatedVideos Company, ah ok.
Sir can you please tell me in our office or company which one we are using sir public or private
And in college which ip address we are using sir???
Tomorrow i have an interview i have to prepare sir
The computers in your office are using private IPs.....then those private IPs get converted over to your public IP so you can access the internet.
What happens if private ip address of one device is same as public ip address of another one?
How the conversion from private to public occurs?
Is there any difference in Addressing format of private and public ip addresses?
That's not possible. Public and private addresses are different and they can't be 'mixed'. Your phone, for instance, gets a private IP address fro m the DHCP server (usually router in home networks). The router has a public IP address that it can share with all devices inside of your network.
Sorry bro! But the subnet mask you told about the private ip address range is incorrect
wonder if you offer CCNA online course~~~
Could you please make a video on CDN?
Please I need a video on how to use VPN sir.
Plenty of videos on how to connect to a VPN service. Additionally, most services will have guides and tutorials on how to connect their service.
Could you please do the 5-layer protocol explanation to make all those knowledge connect to each other? thanks
Thank you brother for wonderful explanation.
Any idea how to access devices behind 2 home routers?
You would probably need to setup port forwarding on both routers.
Is it possible for my Modem to have a Private IP Address from my ISP?? I mean... Does my ISP can act as a: NAT? because I need to use hamachi for most of my needs outside my home... I am betting I have not a public IP address, and my ISP is acting like a NAT...
If so, do you know any VPN service that can provide me with a Public IP address?
In this case, I can't be attacked directly by a DDOS?... does a DDOS attack to the ISP affect various users if this is the case?
Thanks
Suppose on my private network there are three computers A(192.168.0.1), B(192.168.0.2), C(192.168.0.3). For example computers A and C connect to the same website, what determines to which machine A or C is sent a response to request ? (after all, they have the same public IP)
combination of MAC Address, Private IP, and ports
your router will remember which mac addresses sent a request, even if it's for the exact information, so that when the information is incoming, it's forwarded to the correct machine
So it’d be best to set my gaming pc to a private IP address rather than a public one?
There's no need to do anything. Your PC already has a private IP address. If your PC is plugged into your router, it should have a private IP address. That's how practically all normal home networks are setup.