Configure and Verify Network Connections Flashcards
Which commands will show you the network interfaces’s IP address information?
ifconfig
ip add
What are some commands that will query the DNS server on the localhost (127.0.0.1) for the IP address of google.com?
nslookup google.com 127.0.0.1
dig @127.0.0.1 google.com
host google.com 127.0.0.1
Which directive in the “hosts:” section of /etc/nsswitch.conf tells the system to check /etc/hosts for DNS resolution first?
files
Older Debian and Ubuntu use what configuration method?
Older Debian and Ubuntu use /etc/network/interfaces
Newer Debian and Ubuntu use what configuration method?
Newer Debian and Ubuntu versions use /etc/netplan/*
Any version of Debian or Ubuntu use what configuration method?
Any version of Debian or Ubuntu use the Network Manager method
In CentOS, where are the network configuration files stored?
In CentOS the network configuration files are stored in /etc/sysconfig/network-scripts
Mode 0 (balance-rr)
Mode 0 Needs switch support unless directly connected between two computers
Mode 1 (active backup), Mode 5 (balance-tlb), Mode 6 (balance-alb)
Mode 1,5,6 does not require switch support
Mode 2 (balance-xor), Mode 3 (broadcast), Mode 4 (802.3ad)
Mode 2,3,4 Requires switch support
Which file is created to set up a bond interface in CentOS?
To setup a bond interface in CentOS you have to access the file ifcfg-bond0