nerdexam
Red_Hat

RH202 · Question #7

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 al

1. vi /etc/sysconfig/network GATEWAY=192.168.0.254 OR vi /etc/sysconf/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

Requirements Engineering in the Project Lifecycle

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 make successfully ping to 192.168.1.0/24 Network's Host?

Explanation

  1. vi /etc/sysconfig/network GATEWAY=192.168.0.254 OR vi /etc/sysconf/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

Topics

#static routing#multi-network#gateway configuration#Linux networking

Community Discussion

No community discussion yet for this question.

Full RH202 Practice