#system-config-network
Unselect DHCP using space, and enter below details:
given in exam instructions
Hostname:
IP :
Subnet Mask :
Gateway :
DNS/Name Server :
Set all above as per exam guidelines
#service network restart
#chkconfig network on
#ifconfig -a
#ifconfig eth0
#ifup eth0
#ping <gateway> -->check if its pingable, if yes. it has got IP
Above may not work, so make it persistent using below:
#vim /etc/sysconfig/network-scripts/ifcfg-eth0
<ONBOOT=yes>
Save and quit.
Put the hostname in following file
#vim /etc/sysconfig/network
HOSTNAME=station9.domain.example.com
No comments:
Post a Comment