Using ipconfig and ifconfig 000 017 in this

Info icon This preview shows pages 64–65. Sign up to view the full content.

Using ipconfig and ifconfig 0:00-0:17 In this demonstration, we're going to spend some time looking at several commands that you can useto verify the networking configuration of a work station. We're going to look at the IP config command on Windows and then we're going to look at the IF config command on Linux. Using the ipconfig Command on Windows 0:18-6:27 So let's begin with Windows. Now if I were to come down to my search field on this Windows 10 system and type the command that I want to run, ipconfig. Notice that the IP config command is listed in the search results and if I click on it, it runs an exits so fast that I can't actually see the output from the command. Making it fairly not useful. So that's what we call the wrong way to run the IP config command. The right way is to come down to your Windows icon, right click, and then click on command prompt and then at the command prompt type the ipconfig command. Because we're running it within the command prompt we can actually see the output from the command. Now I'm going to make this window just a little bit bigger. So we can see everything. Now notice that there are three different network adapters listed in the output of the IP config command. The first one is an Ethernet adapter and its name is Ethernet. We also have a tunnel adapter for isatap and we also have a tunnel adapter for Teredo. You might be asking, "Wait a minute. I only have one network interface in this system. How come three are showing up?" Well it's because these two are actually not real network interfaces. They're virtual network interfaces that are used for IPv6 to IPv4 compatibility. So, these are not real network interfaces and for now you can kind of ignore them. They'll make more sense when we talk about IPv6. For now, we want to focus on this hardware adapter that's installed in the system. There is a physical network adapter installed that is connected to an Ethernet networkand that's represented by the Ethernet adapter named Ethernet. Underneath this network adapterwe can view information about it. We can view its DNS suffix which is set to eastsim.com. We can see that it has a link local IPv6 address assigned to it. It also has an IPv4 address assigned to it, 10.0.0.25.It has a subnet mask of 255.255.0 and the default gateway is 10.0.0.1. Now this network interface is set up to use DHCP to get this IPv4 addressing information. When the system first comes online, it will send out a DHCP discover packet trying to locate a DHCP server somewhere on the network. The appropriate DHCP server will respond. The two will negotiate and an IP address will be assigned and it will be assigned for a certain period of time, called the DHCP lease.Within that DHCP lease we should have an IPv4 address, we should have a subnet mass, we should have the default gateway router address, and we should also have a DNS server address. Now you'll notice that some of this information is not actually displayed in the output of the IP config command.
Image of page 64

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 65
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • Computer network, Local area network, Network topology, Metropolitan area network

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern