QuestionQ121

VerifiedNetworking

Which of the following outcomes can result from using the ifconfig command?

Choose three
Explanation

ifconfig is a legacy Linux/Unix utility for configuring and displaying network interface parameters. Running it can activate or deactivate a network interface (e.g., ifconfig eth0 up or ifconfig eth0 down), assign or modify an interface's IP address (e.g., ifconfig eth0 192.168.1.10 netmask 255.255.255.0), and because routes are associated with interface state and addressing, adding, removing, or reconfiguring an interface through ifconfig can cause corresponding entries in the kernel routing table to be added or removed. It does not modify DNS resolver settings, which are controlled via /etc/resolv.conf or related resolver configuration tools, and it does not change the system's hostname, which is managed via the hostname command or /etc/hostname.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!