From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Debug problems associated with the network configuration

Debug problems associated with the network configuration - Linux Tutorial

From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Start my 1-month free trial

Debug problems associated with the network configuration

- [Instructor] It's very common to have to troubleshoot network problems. We may configure the network according to the information we have, and if it doesn't work, we need to figure out why. You'll want both of your VMs up and running for this exercise. Remember that we only need about five things to have a working network. An IP address, a network mask, a default gateway, a nameserver if you want name resolution, and of course low-level device configuration. The first thing you might want to do is make sure that your ethernet card is talking to your network. Bad drivers or cables could mean you're in a degraded state. Let's use ethtool for this. My network interface is ENP0S3, so I type in ethtool space ENP0S3 and hit enter. Here we see our speed is good, and that we're running at full duplex. If you don't see this, you'll need to troubleshoot it further. For the IP address, we can either set it manually or…

Contents