exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 41 discussion

Actual exam question from RedHat's EX200
Question #: 41
Topic #: 1
[All EX200 Questions]

SIMULATION -
Configure your Host Name, IP Address, Gateway and DNS.

Host name: dtop5.dn.ws.com -

IP Address: 172.28.10.5/4 -

Gateway: 172.28.10.1 -

DNS: 172.28.10.1 -

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
1. Configure Host Name
vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1
2. Configure IP Address, Gateway and DNS
Configure the network by Network Manager:

Note: Please remember to choose two options:

Connect automatically -

Available to all users -
Click "Apply", save and exit, and restart your network services:
# Service network restart
3. Validate these profiles:
a) Check gateway: # vim / etc / sysconfig / network

NETWORKING=yes -

HOSTNAME=dtop5.dn.ws.com -

GATEWAY=172.28.10.1 -
b) Check Host Name: # vim /etc/hosts
c) Check DNS: # vim /etc/resolv.conf
# Generated by NetworkManager

Search dn.ws.com -

Nameserver 172.28.10.1 -
d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
afloret
8 months, 3 weeks ago
# hostnamectl hostname dtop5.dn.ws.com # nmcli con add con-name net1 type ethernet ifname eth0 \ ipv4.addresses 172.28.10.5/24 ipv4.dns 172.28.10.1 \ ipv4.gateway 172.28.10.1 ipv4.method manual # nmcli con up net1 OR Modify --> /etc/NetworkManager/system-connections/"IFNAME".nmconnection
upvoted 1 times
MisterR0B0T
3 months, 2 weeks ago
if you modify the file you need to nmcli con reload nmcli con up "IFNAME""
upvoted 1 times
...
...
MichaelChapoco
1 year ago
nmcli con add con-name "Exam" ifname enx1x type ethernet ipv4.addresses 172.28.10.5/24 ipv4.gateway 172.28.10.1 ipv4.dns 172.28.10.1 ipv4.method manual connection.autoconnect yes
upvoted 2 times
MichaelChapoco
1 year ago
hostnamectl set-hostname dtop5.dn.ws.com hostnamectl (verify) ip addr show (verify)
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...