Host name: station.domain40.example.com /etc/sysconfig/network hostname=abc.com hostname abc.com IP Address:172.24.40.40/24 Gateway172.24.40.1 DNS:172.24.40.1

CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1

CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1

Answer: A

Explanation:
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40
GATEWAY=172.24.40.1
DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
/etc/sysconfig/network
(Configure Host Name)



Leave a Reply 6

Your email address will not be published. Required fields are marked *


steven kunjachan

steven kunjachan

vi /etc/sysconfig/network
hostname=station.domain40.example.com

vi /etc/sysconfig/network-scripts/ifcfg-eth0
IP

smith

smith

RHEL 7:
nmtui and you can do all by choosing it however you want it.

Steven Kunjachan

Steven Kunjachan

ntui is an excellent alternative, thank you.

Steven Kunjachan

Steven Kunjachan

nmtui*

retard

retard

NETMASK=255.255.255.O

shouldn’t this be on there too?

na

na

/24 insinuates a netmask of 255.255.255.0