SIMULATIONConfigure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.
Answer(s): A
iptables -Fservice iptables saveiptables -A INPUT -s 172.25.0.0/16 -j REJECTservice iptables saveservice iptables restart
SIMULATIONA YUM source has been provided in thehttp://instructor.example.com/pub/rhel6/dvdConfigure your system and can be used normally.
/etc/yum.repos.d/base.repo[base]name=basebaseurl=http://instructor.example.com/pub/rhel6/dvdgpgcheck=0yum list
SIMULATIONThere 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 RHEL6 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?
vi /etc/sysconfig/network GATEWAY=192.168.0.254ORvi /etc/sysconf/network-scripts/ifcfg-eth0 DEVICE=eth0BOOTPROTO=staticONBOOT=yesIPADDR=192.168.0.?NETMASK=255.255.255.0GATEWAY=192.168.0.254service network restartGateway 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.
SIMULATIONMake a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Use fdisk /dev/hda ->To create new partition.Type n-> For New partitionIt will ask for Logical or Primary Partitions. Press l for logical.It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.Type the Size: +100M ->You can Specify either Last cylinder of Size here.Press P to verify the partitions lists and remember the partitions name. Default System ID is 83 that means Linux Native.Type t to change the System ID of partition.Type Partition NumberType 82 that means Linux Swap.Press w to write on partitions table.Either Reboot or use partprobe command.mkswap /dev/hda? ->To create Swap File system on partition.swapon /dev/hda? ->To enable the Swap space from partition.free -m ->Verify Either Swap is enabled or not.vi /etc/fstab/dev/hda? swap swap defaults 0 0Reboot the System and verify that swap is automatically enabled or not.
SIMULATIONThere are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.
vi /etc/sysconfing/network NETWORKING=yes HOSTNAME=station?.example.com GATEWAY=192.168.0.254 service network restart2.vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=X.X.X.XNETMASK=X.X.X.XGATEWAY=192.168.0.254ifdown eth0ifup eth0
Post your Comments and Discuss RedHat EX200 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the EX200 content, but please register or login to continue.