WEBVTT

0:00:02.840000 --> 0:00:08.820000
 Hello and welcome to this video titled
 Identifying Your Own IP Information.

0:00:08.820000 --> 0:00:13.440000
 In this video I'm going to be showing
 you how to view your own IP address,

0:00:13.440000 --> 0:00:18.820000
 subnet mask, and what default gateway
 your device has been using.

0:00:18.820000 --> 0:00:21.220000
 I'm going to show you how to do it based
 on whether you're using Windows

0:00:21.220000 --> 0:00:25.400000
 operating system, Linux operating system,
 or the Mac operating system.

0:00:25.400000 --> 0:00:28.480000
 So that is my goal
 with this video.

0:00:28.480000 --> 0:00:34.160000
 Let's start with viewing IP
 information in Windows.

0:00:34.160000 --> 0:00:36.960000
 So first of all here I'm just going
 to show you, I'm going to show you,

0:00:36.960000 --> 0:00:39.880000
 I'm going to give you the steps textually
 and then I'm going to do a demonstration

0:00:39.880000 --> 0:00:44.420000
 of it. So there's always multiple
 ways to accomplish this.

0:00:44.420000 --> 0:00:49.740000
 One way is to open the DOS window in
 Windows, enter a particular command

0:00:49.740000 --> 0:00:52.000000
 called IP config.

0:00:52.000000 --> 0:00:55.760000
 Let's take a look and
 see what that does.

0:00:55.760000 --> 0:00:59.900000
 So here I have a Windows
 10 device.

0:00:59.900000 --> 0:01:06.580000
 So Windows 10, you can just click on
 the little Windows icon right there

0:01:06.580000 --> 0:01:12.700000
 and then you can just type in command
 and then I'll get you to your command

0:01:12.700000 --> 0:01:20.320000
 prompt. And then from there you just
 type one word altogether, no spaces

0:01:20.320000 --> 0:01:26.640000
 IP config. You can see
 that right there.

0:01:26.640000 --> 0:01:31.580000
 And then when you hit the enter key
 on your keyboard you will see your

0:01:31.580000 --> 0:01:41.740000
 IP information. So we can see here that
 this is the IP address of my adapter.

0:01:41.740000 --> 0:01:46.360000
 We can see the subnet mask that my adapter
 was given and we can see the

0:01:46.360000 --> 0:01:49.320000
 router, otherwise known as the default
 gateway that I'm going to send

0:01:49.320000 --> 0:01:54.080000
 my packets to if they ever have to
 go to destinations that are not on

0:01:54.080000 --> 0:01:58.340000
 my network. So that's one way.

0:01:58.340000 --> 0:02:04.440000
 Probably the best way because also
 with this exact same command if you

0:02:04.440000 --> 0:02:11.640000
 want to dig into it a little bit more,
 you can also type IP config, a

0:02:11.640000 --> 0:02:14.780000
 forward slash and the word all.

0:02:14.780000 --> 0:02:17.240000
 And now you get all kinds of
 nitty gritty information.

0:02:17.240000 --> 0:02:19.980000
 We're not going to go over all the
 details of this but not only do you

0:02:19.980000 --> 0:02:25.160000
 see your IP address, your mask and
 your default gateway, you can also

0:02:25.160000 --> 0:02:29.020000
 see other things like the IP address
 of the server that gave you your

0:02:29.020000 --> 0:02:34.120000
 IP address. You can see the DNS server
 you're pointing to that's going

0:02:34.120000 --> 0:02:38.920000
 to resolve your websites into IP addresses
 and a whole host of other things.

0:02:38.920000 --> 0:02:48.440000
 So once again that command to get there
 was IP config forward slash all.

0:02:48.440000 --> 0:02:53.660000
 But just for basic IP information
 just IP config by itself.

0:02:53.660000 --> 0:02:57.920000
 Or if you're a fan of using the GUI,
 you don't have to use the DOS prompt

0:02:57.920000 --> 0:03:01.380000
 at all. And that's gets
 us to this other thing.

0:03:01.380000 --> 0:03:07.460000
 We could go into our settings, open
 up network and internet, select our

0:03:07.460000 --> 0:03:11.540000
 network adapter in my case it's going
 to be ethernet, go to the network

0:03:11.540000 --> 0:03:16.700000
 and sharing center and then click
 on ethernet followed by details.

0:03:16.700000 --> 0:03:19.120000
 Now I know there's a lot of steps right
 there let's just go ahead and

0:03:19.120000 --> 0:03:21.180000
 go right through it.

0:03:21.180000 --> 0:03:26.380000
 So here in Windows 10 I click on the
 Windows icon, there's settings right

0:03:26.380000 --> 0:03:30.040000
 there towards the bottom left corner
 I'm going to click on that.

0:03:30.040000 --> 0:03:34.700000
 Now I'm going to click here
 for network and internet.

0:03:34.700000 --> 0:03:40.520000
 Now in my case I'm using my ethernet
 so I'm going to click on that.

0:03:40.520000 --> 0:03:48.840000
 Now from here I'm going to click
 on network and sharing center.

0:03:48.840000 --> 0:03:54.920000
 And then if you notice right here by
 where it says connections, ethernet

0:03:54.920000 --> 0:03:57.460000
 you can click on that.

0:03:57.460000 --> 0:04:07.580000
 It says I have IPV4 connectivity see
 if I didn't it would be like IPV6.

0:04:07.580000 --> 0:04:10.420000
 See how IPV6 says
 no network access.

0:04:10.420000 --> 0:04:14.500000
 If I didn't have an IP address I'd
 see the exact same thing under IPV4

0:04:14.500000 --> 0:04:19.220000
 connectivity. And now to actually see
 it I can just click on details.

0:04:19.220000 --> 0:04:22.800000
 And there we see the exact same stuff
 we saw with the IP config command

0:04:22.800000 --> 0:04:28.500000
 in DOS. We see my IP address, we see
 my subnet mask, my default gateway

0:04:28.500000 --> 0:04:31.000000
 and a variety of other things.

0:04:31.000000 --> 0:04:35.720000
 So those are two basic ways that you
 can obtain your IP information in

0:04:35.720000 --> 0:04:37.700000
 a Microsoft Windows environment.

0:04:37.700000 --> 0:04:47.660000
 Now if you're using Windows 7 or something
 else the steps are very similar.

0:04:47.660000 --> 0:04:51.760000
 Now what if you're using a
 Mac like I am right now?

0:04:51.760000 --> 0:04:52.700000
 How do you see it there?

0:04:52.700000 --> 0:04:55.040000
 Well there's once again several
 ways we can do it.

0:04:55.040000 --> 0:04:59.280000
 I'm going to show you the graphical
 way using the GUI in a Mac to view

0:04:59.280000 --> 0:05:00.740000
 your information.

0:05:00.740000 --> 0:05:06.400000
 So you're going to go to your system
 preferences, you're going to select

0:05:06.400000 --> 0:05:11.460000
 your network icon and then right there
 your IP address and subnet mask

0:05:11.460000 --> 0:05:14.200000
 are going to be displayed.

0:05:14.200000 --> 0:05:16.040000
 So let's go to that.

0:05:16.040000 --> 0:05:20.740000
 We don't need him anymore.

0:05:20.740000 --> 0:05:25.340000
 Okay so we're going to go to system
 preferences, the thing that looks

0:05:25.340000 --> 0:05:28.440000
 like a flywheel or
 a gear wheel there.

0:05:28.440000 --> 0:05:39.240000
 We're going to go to network.

0:05:39.240000 --> 0:05:42.260000
 And actually there's one
 step that I skipped.

0:05:42.260000 --> 0:05:43.680000
 So right here yeah where is it?

0:05:43.680000 --> 0:05:45.020000
 Where is the address?

0:05:45.020000 --> 0:05:45.960000
 And you can't see it.

0:05:45.960000 --> 0:05:57.560000
 So now we have to actually click on
 advanced and TCP IP and there it is.

0:05:57.560000 --> 0:05:59.040000
 That's what we're looking for.

0:05:59.040000 --> 0:06:03.840000
 So this gives us our IP address, subnet
 mask, and even our default gateway

0:06:03.840000 --> 0:06:06.980000
 that we're using.

0:06:06.980000 --> 0:06:12.240000
 So using the graphical approach on a Mac
 you'd start with system preferences

0:06:12.240000 --> 0:06:14.760000
 and work your way down from there.


0:06:14.760000 --> 0:06:24.820000
 All right what if we were on something
 that was running Linux?

0:06:24.820000 --> 0:06:26.920000
 How do we get the exact
 same information?

0:06:26.920000 --> 0:06:30.160000
 Well, unless we're going to open up
 the terminal or maybe you're already

0:06:30.160000 --> 0:06:31.900000
 in the command line.

0:06:31.900000 --> 0:06:37.020000
 And from there we're going to type
 a simple command, IFconfig and with

0:06:37.020000 --> 0:06:41.660000
 IFconfig we'll see our IP
 address and subnet mask.

0:06:41.660000 --> 0:06:45.940000
 So let's take a look and
 see what that looks like.

0:06:45.940000 --> 0:06:54.440000
 So here is my terminal.

0:06:54.440000 --> 0:06:57.300000
 I'll zoom in a little bit
 more so you can see that.

0:06:57.300000 --> 0:07:04.520000
 IFconfig. And you might have multiple
 adapters so you might have to scroll

0:07:04.520000 --> 0:07:07.680000
 through this to find the adapter
 that you're actually using.

0:07:07.680000 --> 0:07:10.460000
 Many times it's going to be EN0.

0:07:10.460000 --> 0:07:14.480000
 That's probably the first one you should
 look for and they'll say INET.

0:07:14.480000 --> 0:07:19.600000
 Notice there's INET6 that's for IP version
 6 and there's this INET which

0:07:19.600000 --> 0:07:23.160000
 is INET which is short
 for IP version 4.

0:07:23.160000 --> 0:07:28.920000
 And here you can see what my IP version
 4 address is and what my mask

0:07:28.920000 --> 0:07:34.540000
 is. Now unfortunately in Linux here the
 net mask is displayed as a hexadecimal

0:07:34.540000 --> 0:07:38.420000
 number. In this video I'm not
 going to go over hexadecimal.

0:07:38.420000 --> 0:07:41.540000
 If you're not familiar with hexadecimal
 I would recommend searching on

0:07:41.540000 --> 0:07:45.940000
 INE. We do have other videos that go
 into the details of how to count

0:07:45.940000 --> 0:07:50.360000
 and convert from hexadecimal into decimal
 but you just you do want to

0:07:50.360000 --> 0:07:51.960000
 know that it is there.

0:07:51.960000 --> 0:07:57.540000
 Now how do I find out what
 my default gateway is?

0:07:57.540000 --> 0:07:59.520000
 Because in this particular
 case I'm not seeing that.

0:07:59.520000 --> 0:08:04.320000
 I see my IP address, my
 mask and that is it.

0:08:04.320000 --> 0:08:08.380000
 So to get your default gateway there's
 another command we can use.

0:08:08.380000 --> 0:08:11.340000
 Of course there's multiple
 ways you can do it.

0:08:11.340000 --> 0:08:17.520000
 The command one way is
 the net stat minus Rn.

0:08:17.520000 --> 0:08:19.860000
 Let me zoom in on that.

0:08:19.860000 --> 0:08:21.840000
 Net stat minus Rn.

0:08:21.840000 --> 0:08:24.180000
 This is going to show you
 your routing table.

0:08:24.180000 --> 0:08:27.520000
 Your IP before and
 IPV6 routing table.

0:08:27.520000 --> 0:08:30.120000
 And if we scroll up towards the beginning
 of this output we don't really

0:08:30.120000 --> 0:08:32.360000
 care about IPV6 right now.

0:08:32.360000 --> 0:08:37.840000
 Net stat minus Rn right here.

0:08:37.840000 --> 0:08:41.220000
 Default. And here's my gateway.

0:08:41.220000 --> 0:08:45.020000
 So that is the IP address of my router
 that's in my network that I used

0:08:45.020000 --> 0:08:49.000000
 to send packets to remote
 destinations.

0:08:49.000000 --> 0:08:54.480000
 And just one more way just to give you
 another alternative in Linux that

0:08:54.480000 --> 0:08:59.780000
 you can see. As you can do
 the command IP config.

0:08:59.780000 --> 0:09:11.020000
 Hey wait a second Keith wasn't
 in your interface.

0:09:11.020000 --> 0:09:13.660000
 Oops. All right.

0:09:13.660000 --> 0:09:15.840000
 Zoom in on that.

0:09:15.840000 --> 0:09:21.040000
 So IP config get packet and then whatever
 the interface was so if we scroll

0:09:21.040000 --> 0:09:24.220000
 up here if I still have it.

0:09:24.220000 --> 0:09:28.640000
 Yeah Cen zero right there.

0:09:28.640000 --> 0:09:34.840000
 How I discovered so when I did when
 I did the IF config command and I

0:09:34.840000 --> 0:09:41.160000
 just looked through that I found that
 E n zero had my IPV4 information.

0:09:41.160000 --> 0:09:44.520000
 So now in this command down
 here if I type in E n zero.

0:09:44.520000 --> 0:09:47.300000
 Now I get a lot of good stuff.

0:09:47.300000 --> 0:09:56.060000
 IP config get packet E n zero and
 I can see here's my IP address.

0:09:56.060000 --> 0:10:01.400000
 Here's the server that gave
 me that IP address.

0:10:01.400000 --> 0:10:04.280000
 Here's my subnet mask.

0:10:04.280000 --> 0:10:06.840000
 Ah now I don't have to worry about
 viewing it in hexadecimal.

0:10:06.840000 --> 0:10:10.060000
 It actually displays as dotted
 decimal which is a lot easier.

0:10:10.060000 --> 0:10:12.800000
 Here's my default gateway.

0:10:12.800000 --> 0:10:22.040000
 So that was IP config get packet and
 then the name of your interface.

0:10:22.040000 --> 0:10:27.200000
 All right so that my friends concludes
 this video on how to get your IP

0:10:27.200000 --> 0:10:30.720000
 address using various different
 operating systems.

0:10:30.720000 --> 0:10:31.440000
 Thank you for watching.

