Thank you micheal for your help. I was thinking to set boot proto 'static' or 'non'. I recently took RHCSA. I couldn't download and install packages as my repository url was not enabled. Intially i set up the network according to the i.p,dns ans gw address given in the exam. Since that didn't workout, I manually changed boot proto to 'dhcp' in network scripts configuration file and was able to enable the repository. In this case i manually assigned the i.p and set boot proto to dhcp. Just asking you this question because in the future for any other red hat exams, should we assign boot proto 'dhcp' in order for the repositoty url to work or do we need to set boot proto 'static' and assign I.P given?