With modern linux distributions we used whats

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

View Full Document Right Arrow Icon
case. With modern Linux distributions we used what's calledpredictable network naming. Instead of just naming the first interface in the system ETH0, what the Linux operating system does is look at the type of network interface, is it a wireless interface? Is it a wired interface? It looks at how that interface is installed in the system. Is it installed in a PCI slot? Is it integrated in the motherboard? Is it connected with a USB connector? And then it will use that information to dynamically generate an appropriate name for that interface. In this case the name that came up was ENS32. Now as we said before this network name represents a hardware interface in the system, we know that because it tells us that it's an Ethernet interface right here. This is a wired Ethernet interface that's connected to an Ethernet switch. Here's the MAC address of the interface right here. Here's the IP address that's currently been assigned to this interface, 10.0.0.250. Here's the broadcast address for my local network segment. Here's the subnet mask that's been assigned to this interface. Now just like with the Windows system, this Linux system has IPv6 configured on it as well and so a link/local IPv6 address has been automatically assigned to this interface, I know that it's a link/local address because it tells me over here that the scope is link. Down here we learn that the interface is up, meaning that it's able to transmit and receive frames on the Ethernet network. Down here it tells us how many packets this interface has received. Here's the total number. It tells us any errors or drops that were encountered as it was receiving packets as well. It didn't have errors but 39 packets were dropped. We can also see statistics about transmitted packets, you can see that we have the number transmitted and similar statistics displayed for transmits as well such as errors and drops. Here's the number of collisions that this network interface has detected on the network and this is a switched Ethernet network so we shouldn't be seeing any collisions at all and that is the case. And down here we see the number of bytes that have been received by this network interface and the number of bytes that have been transmitted by this network interface. So as you can see the ifconfig command displays a lot of information much like the ipconfig command did on Windows. However there are a couple of parameters that aren't displayed in the output of ifconfig, for example we don't know what the IP address of the default gateway is nor do we know what the host name of this system is. To find out the host name of the system we type the host name command at the command prompt and we see that the host name of this system is proxy.Which you'll notice is also included in the command prompt itself. If we want to see what the
Image of page 65

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

View Full Document Right Arrow Icon
default gateway router address is for this system we type "route" and the IP routing table is displayed and we see that the default gateway has an IP address of 10.0.0.1.
Image of page 66
Image of page 67
This is the end of the preview. Sign up to access the rest of the document.

{[ 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