nerdexam
Red_Hat

RH302 · Question #14

There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL 5 Installed System is going to use as a Router. All required configuration is…

Answers: 1. vi /etc/sysconfig/network GATEWAY=192.168.0.254 OR vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.0.? NETMASK=255.255.255.0 GATEWAY=192.168.0.254 2. service network restart Gateway defines the way to exit the…

Basic Networking

Question

There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL 5 Installed System is going to use as a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server. How will successfully ping to 192.168.1.0/24 Network's Host?

Explanation

Answers:

  1. vi /etc/sysconfig/network GATEWAY=192.168.0.254 OR vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.0.? NETMASK=255.255.255.0 GATEWAY=192.168.0.254
  2. service network restart Gateway defines the way to exit the packets. According to question System working as a router for two networks have IP Address 192.168.0.254 and 192.168.1.254.

Topics

#static routing#route command#IP routing#default gateway

Community Discussion

No community discussion yet for this question.

Full RH302 Practice