Private IP's VS. Public IP's

NEW Cisco CCNA IPv4 Course! Introduction to Basic Router Configurations and IP's
8 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€96.05
List Price:  €134.47
You save:  €38.42
£78.28
List Price:  £109.60
You save:  £31.31
CA$143.28
List Price:  CA$200.59
You save:  CA$57.31
A$160.13
List Price:  A$224.20
You save:  A$64.06
S$135.03
List Price:  S$189.05
You save:  S$54.02
HK$777
List Price:  HK$1,087.84
You save:  HK$310.83
CHF 88.49
List Price:  CHF 123.89
You save:  CHF 35.40
NOK kr1,126.80
List Price:  NOK kr1,577.57
You save:  NOK kr450.76
DKK kr717.22
List Price:  DKK kr1,004.14
You save:  DKK kr286.92
NZ$176.87
List Price:  NZ$247.63
You save:  NZ$70.75
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,929.84
List Price:  ৳16,702.26
You save:  ৳4,772.41
₹8,538.94
List Price:  ₹11,954.85
You save:  ₹3,415.91
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,544.52
List Price:  ₦216,368.52
You save:  ₦61,823.99
₨27,792.76
List Price:  ₨38,910.97
You save:  ₨11,118.21
฿3,416.65
List Price:  ฿4,783.45
You save:  ฿1,366.80
₺3,519.17
List Price:  ₺4,926.99
You save:  ₺1,407.81
B$637.56
List Price:  B$892.61
You save:  B$255.05
R1,874.85
List Price:  R2,624.87
You save:  R750.01
Лв188
List Price:  Лв263.20
You save:  Лв75.20
₩145,711.39
List Price:  ₩204,001.77
You save:  ₩58,290.38
₪364.90
List Price:  ₪510.87
You save:  ₪145.97
₱5,865.41
List Price:  ₱8,211.81
You save:  ₱2,346.40
¥15,715.92
List Price:  ¥22,002.92
You save:  ¥6,286.99
MX$2,016.21
List Price:  MX$2,822.78
You save:  MX$806.56
QR363.08
List Price:  QR508.32
You save:  QR145.24
P1,386.50
List Price:  P1,941.15
You save:  P554.65
KSh12,902.70
List Price:  KSh18,064.30
You save:  KSh5,161.60
E£5,082.90
List Price:  E£7,116.27
You save:  E£2,033.36
ብር12,710.92
List Price:  ብር17,795.80
You save:  ብር5,084.87
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$98,919.10
List Price:  CLP$138,490.70
You save:  CLP$39,571.60
CN¥729.82
List Price:  CN¥1,021.78
You save:  CN¥291.96
RD$6,081.12
List Price:  RD$8,513.82
You save:  RD$2,432.69
DA13,508.78
List Price:  DA18,912.83
You save:  DA5,404.05
FJ$231.84
List Price:  FJ$324.58
You save:  FJ$92.74
Q768.97
List Price:  Q1,076.59
You save:  Q307.62
GY$20,886.35
List Price:  GY$29,241.72
You save:  GY$8,355.37
ISK kr13,953.60
List Price:  ISK kr19,535.60
You save:  ISK kr5,582
DH1,006.73
List Price:  DH1,409.47
You save:  DH402.73
L1,841.91
List Price:  L2,578.75
You save:  L736.83
ден5,908.74
List Price:  ден8,272.47
You save:  ден2,363.73
MOP$798.63
List Price:  MOP$1,118.11
You save:  MOP$319.48
N$1,856.28
List Price:  N$2,598.86
You save:  N$742.58
C$3,673.45
List Price:  C$5,142.98
You save:  C$1,469.52
रु13,596.38
List Price:  रु19,035.48
You save:  रु5,439.09
S/371.74
List Price:  S/520.45
You save:  S/148.71
K405.18
List Price:  K567.27
You save:  K162.09
SAR375.47
List Price:  SAR525.68
You save:  SAR150.20
ZK2,762.82
List Price:  ZK3,868.06
You save:  ZK1,105.23
L478.38
List Price:  L669.75
You save:  L191.37
Kč2,417.95
List Price:  Kč3,385.23
You save:  Kč967.27
Ft39,478.73
List Price:  Ft55,271.81
You save:  Ft15,793.07
SEK kr1,088.11
List Price:  SEK kr1,523.40
You save:  SEK kr435.29
ARS$102,698.50
List Price:  ARS$143,782.01
You save:  ARS$41,083.50
Bs689.84
List Price:  Bs965.80
You save:  Bs275.96
COP$441,236.66
List Price:  COP$617,748.98
You save:  COP$176,512.31
₡50,688.88
List Price:  ₡70,966.47
You save:  ₡20,277.58
L2,536.46
List Price:  L3,551.14
You save:  L1,014.68
₲778,577.57
List Price:  ₲1,090,039.75
You save:  ₲311,462.17
$U4,443.67
List Price:  $U6,221.32
You save:  $U1,777.64
zł409.39
List Price:  zł573.17
You save:  zł163.77
Already have an account? Log In

Transcript

Alrighty, welcome, welcome. Now we're going to do private versus public IPs. Yes, indeed, private IP addresses. They're not routable on the internet, so you don't put a private IP address on an interface that's plugged in to a public interface, because it ain't gonna work. Okay, that's why we use Nat to translate Yes, from private to public. Alright.

Therefore, internal use only not used, but you it is used or not used. You only Okay, internal use only. And they're the chunks of addresses are chosen from the A, B and C, the powers that be said, Hey, we're gonna take a chunk out of the a, like a chunk out of the B, take a chunk out of the C, we're going to use it for internal purposes only. So you guys can do whatever you want with that. Okay, that's a private IP address public addresses cost money. Okay, you have to purchase it.

And that gives you something to think about when you're talking about Nat. Because if you do static Nat, one to one mapping 1000 IP, I mean 1000 hosts need to get out to the internet only thousand IPS, money, dynamic Nat. Ah, easier setup, but I still need 1000 IPS. Forget all that I'm gonna do. I'm gonna do not overload pack, one IP address can handle 65,000 plus people, right? Cool.

That's the way to go. Right? Because this money, you got to purchase these public IP addresses from your providers. Right? You don't want to do that. You don't want to do that.

Okay, so that's what we have not try and minimize the cost. Okay, but not so much where your network goes. Okay, so let's go to lab and get this done. We'll go back. Welcome back. All right.

We're now in the private IP address range law lab. It's basically Just a notepad and I went ahead and put in the actual classes that you need to be aware of, and the range of this and default mass. Now you can see that class A, it's using from 10 001 to 10, two divided by two to four. So the entire 10 range is taken for internal addresses, they're not routable private IP addresses, not routable. As I said previously, they are not routable on the internet, okay. That's why we use that.

Okay, so, anything that starts with 10, again, the whole class A is 10. They took the whole 10 range and made it for class A, and obviously, these are the default math that we use. Okay. This one here is 172 16. Okay. 231 Interesting.

How do they do that? Okay. All right, and then 2425 but we'll get to subnetting but yeah, that because this could be either 16 or 12 actually, or 12 I'm not gonna put that there I'm gonna confuse you because this will be the answer you give in an examination, but the reality is they've asked me Hey, how did you come up with these numbers all First of all, I didn't come up with these numbers. Second of all, this is how they came up with it. All right, do a little research a little hunting and Cisco Academy books will tell you exactly the 16 to 31 how they came about it as really a site or tool that they use. Okay, I started to get that but we got to somebody will look at Okay, and then look at 192 168 for a class See, when I to 168 192 168 so I need there's 192 168 is private as internal, right?

And obviously they go from zero to 250 505-250-4255 Okay, All righty, this would be the broadcast, it has to be five to five, and then you use the default mask. And again, this is one that's also kind of, hey, how did they decide is 192 168? Because it was 192 169. That's public. Over here, if it's 172 15, or 172 30 is public, I mean, 32 is public. So here if it's 191, or if it's 169, then Okay, then it's public.

The number is 182 168. So, it looks like the line has been drawn right there. Right? And here, it looks like a line really. You're playing around somewhere in here. Okay, but we'll talk about that.

But this is what the private IP address range looks like. Okay, that's what it looks like there cider and dvn right, or dotted decimal numbering. There's something That's very basic, something that you commit to memory, you would ask for this, as is, as you see it right there on the screen. Once you get to somebody, I'll go deeper as far as the B and C, and they're not their actual, but how they came up with. Why did they draw the line there? All right, why did they choose that?

But all this is it public addresses get assigned to you by your providers, your providers, you purchase public addresses, you pay for it, right? We talked about it already. So public addresses are for you to be able to get out on the internet. Now, you may have firewalls or you know, that are far enough internet firewalls are out there already. Okay. You may have a lot of servers that are public servers, you know, like web servers, what have you.

So that when your public IP address, okay, a public IP address. So those are the differences, right? So anything that's not here is a public IP address. And there's not here is not a public IP address. And you need to get it all the way live in North America from error. Okay, from the registry, they give it to us, right?

And everybody in their particular section we're part of the world have their or Aaron, should we say that gives them their internet Association, right that gives them or their providers that give them their IP, public IP addressing scheme. But this they said, Hey, the powers that be said, we're going to take a chunk out of class A Class B and Class C, and we'll make it private, we'll make it internal. So they can do whatever they need to do internally. This is good to know because you not only for testing purposes, but we talked already about planning. Okay, you need to plan you need to know how much they hold, you need to know who you are their lines, right? So you don't run out of private IP addresses.

You may say, Come on last who's gonna run out of private IP addresses? Well, I can tell you why while teaching in the classroom in one of the many schools that I taught at a consultant that was one of my students came up to me said, Hey, one of my clients ran out of private IP address. Classy It was a class he ran Oh private IP addresses. Well, his planning wasn't very good Wasn't he didn't know that he was going to expand that far. Why are you going to sell so short is like you You know, you start up a company you buy a four port switch. That's it.

That's all you're gonna have. You know, your dentist office or you know, your you may grow. What's a big deal? Buy yourself a 24 port switch. So what you know, I mean, why are you going to six ports? I mean, come on.

Seriously. You're being frugal at this point. So get yourself a nice 24 per switch or if you're gonna be no you know, girl, don't incident turtle class be the bad thing. Once you learn how to summarize. All the I'll show you how to save on sending information to your core routers. Alright, but other than that, yeah, be careful.

You need to know this. You need to know there's only Very basic, and they're probably going to ask you this on the CCNA. But as an IT professional, yeah, you need to know this if you don't know this, wow. Okay, but yeah, know this alright, but that's it. That is your private IP address range. See you later.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.