LPIC-1 Exam 102: Networking Fundamentals
5 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the purpose of files ending in .netdev in systemd-networkd?

  • To create virtual network devices, such as bridge or tun devices (correct)
  • To setup network addresses and routes
  • To set low-level configurations for network interfaces
  • To detect and configure network devices automatically
  • Where can modifications be placed to override the original files in /lib/systemd/network?

  • /lib/systemd/network
  • /etc/systemd/network (correct)
  • /lib/systemd/system
  • /etc/systemd/system
  • What is the purpose of the [Match] section in a .network file?

  • To detect and configure network devices automatically
  • To setup network addresses and routes
  • To define the network interface settings
  • To select the network interface to which the configuration file refers (correct)
  • How can multiple network interfaces be matched with a single configuration file?

    <p>By using a list of whitespace-separated names</p> Signup and view all the answers

    What is the purpose of files ending in .link in systemd-networkd?

    <p>To set low-level configurations for the corresponding network interface</p> Signup and view all the answers

    Study Notes

    Persistent Network Configuration

    • In a TCP/IP network, each node must configure its network adapter to match the network requirements to enable communication.
    • The system administrator must provide the basic configuration so the operating system can set up the appropriate network interface and identify itself and the network features at boot time.

    NetworkManager

    • Most Linux distributions use NetworkManager as a service daemon to configure and control the system's network connections.
    • NetworkManager's purpose is to make network configuration simple and automatic.
    • It arranges route changes, IP address fetching, and updates to the local list of DNS servers when using DHCP.
    • It prioritizes wired connections over wireless connections by default.
    • It tries to keep at least one connection active at all times, whenever possible.

    Network Configuration Files

    • /etc/hostname and /etc/hosts are used for basic TCP/IP host configuration.
    • /etc/nsswitch.conf and /etc/resolv.conf are also used for network configuration.
    • /etc/systemd/network files are used to override network settings.
    • Files ending in .netdev are used by systemd-networkd to create virtual network devices.
    • Files ending in .link set low-level configurations for network interfaces.
    • Files ending in .network set up network addresses and routes.

    systemd-networkd

    • systemd-networkd detects and configures network devices automatically as they appear.
    • It ignores devices already configured by other means.
    • There is little need to add configuration files in most situations.
    • Configuration files can be used to select specific network interfaces using the [Match] section.
    • Matching rules can be based on network interface names, MAC addresses, or shell-style globs.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Test your knowledge of networking fundamentals, including TCP/IP host configuration and NetworkManager configuration. Practice with this quiz to prepare for the LPIC-1 Exam 102.

    More Like This

    Use Quizgecko on...
    Browser
    Browser