RedHat RH202 Question Answer
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to 192.168.0.254.
Answer and Explanation:
In Network problem think to check:
IP Configuration: use ifconfig command either IP is assigned to interface or not?
Default Gateway is set or not?
Hostname is set or not?
Routing problem is there?
Device Driver Module is loaded or not?
Device is activated or not?
Check In this way:
use ifconfig command and identify which IP is assigned or not.
cat /etc/sysconfig/networkWhat, What is written here. Actually here are these parameters.
NETWORKING=yes or no
GATEWAY=x.x.x.x
HOSTNAME=?
NISDOMAIN=?
Correct the file
Use netconfig command
Either Select Automatically from DHCP or assign the static IP
Use service network restart or start command
Now try to ping it will work.