Manage basic networking Flashcards

1
Q

Configured hostname to host.example.com

A

hostnamectl set-hostname host.example.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

View the status of the system’s fully qualified host

name

A

hostnamectl status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In what file is the static host name specified in?

A

/etc/hostname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Test DNS server connectivity for classroom.example.com

A

host classroom.example.com
or
host 172.25.254.254

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Configure network service to start at boot time.

A

systemctl enable network.service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to create a new NIC called eno2 with IPv4 192.168.0.5/24 and gateway 192.168.0.1

A

nmcli con add con-name eno2 type ethernet ifname eno2 ipv4.address 192.168.0.5/24 ipv4.gateway 192.168.0.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly