Red_Hat
RH302 · Question #18
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to 192.168.0.254.
Answers: In Network problem thinks to check: 1. IP Configuration: use ifconfig command either IP is assigned to interface or not? 2. Default Gateway is set or not? 3. Hostname is set or not? 4. Routing problem is there? 5. Device Driver Module is loaded or not? 6. Device is activ
Network configuration
Question
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to 192.168.0.254.
Explanation
Answers: In Network problem thinks 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/network What, What is written here. Actually here are these parameters. NETWORKING=yes or no GATEWAY=x.x.x.x HOSTNAME=? NISDOMAIN=?
- Correct the file
- Use vi /etc/sysconfig/network-scirpts/ifcfg-eth0 and check the proper options DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=x.x.x.x NETMAKS=x.x.x.x GATEWAY=x.x.x.x
Topics
#ping#network connectivity#IP configuration#default gateway
Community Discussion
No community discussion yet for this question.