SIMULATIONConfigure your Host Name, IP Address, Gateway and DNS.Host name: dtop5.dn.ws.comIP Address: 172.28.10.5/4Gateway: 172.28.10.1DNS: 172.28.10.1
Answer(s): A
1. Configure Host Namevim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.12. Configure IP Address, Gateway and DNS Configure the network by Network Manager:Note: Please remember to choose two options:Connect automaticallyAvailable to all usersClick "Apply", save and exit, and restart your network services:# Service network restart3. Validate these profiles:a) Check gateway: # vim / etc / sysconfig / networkNETWORKING=yesHOSTNAME=dtop5.dn.ws.comGATEWAY=172.28.10.1b) Check Host Name: # vim /etc/hostsc) Check DNS: # vim /etc/resolv.conf# Generated by NetworkManagerSearch dn.ws.comNameserver 172.28.10.1d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0
SIMULATIONCreate a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
# fdisk /dev/sdap(check Partition table)n(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)Enter+2G t 8 I82Wpartx -a /dev/sdapartprobemkswap /dev/sda8Copy UUIDswapon -avim /etc/fstabUUID=XXXXX swap swap defaults 0 0(swapon -s)
SIMULATIONPlease open the ip_forward, and take effect permanently.
vim /etc/sysctl.conf net.ipv4.ip_forward = 1sysctl –w (takes effect immediately)If no “sysctl.conf” option, use these commands:sysctl –a |grep net.ipv4sysctl –P net.ipv4.ip_forward = 1sysctl -w
SIMULATIONOpen kmcrl value of 5 , and can verify in /proc/ cmdline
# vim /boot/grub/grub.confkernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet kmcrl=5Restart to take effect and verification:# cat /proc/cmdlinero root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap rd_NO_LUKS rd_NO_MD rd_NO_DMLANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5
Post your Comments and Discuss RedHat EX200 exam with other Community members:
chukwuemeka ubajaka Wrote on May 17, 2022 Can't i get redhat 8 version of the questions instead of the redhat 6 version, as the syntax of redhat 8 and 6 is not the same. UNITED STATES
Sandeep Wrote on March 19, 2021 Zabar Dast! So accurate and so real. Passed my exam lasat week. INDIA
Dan Wrote on December 16, 2019 How do i print the pdf download, its password protected. I want to print the file and study before the exam in couple days Anonymous
Carlo Shamany Wrote on July 17, 2019 good havent taken the test but feel confident. UNITED STATES
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the EX200 material!