Question: i need the right code for (route add -net NET_IP netmask NETMASK gw GATEWAYIP) 3) The IP address of the target machine is 192.168.122.38 and
i need the right code for (route add -net NET_IP netmask NETMASK gw GATEWAYIP)
3) The IP address of the target machine is 192.168.122.38 and uses the same netmask. If you attempt to ping it, at this point, you'll receive a "network is unreachable error. root@VABeach:~# ping -c 1 192.168.122.38 connect: Network is unreachable Using the information you've gathered so far, you should be able to create a route command so that you can reach the target system. Add a route to your machine, so that you can reach the target IP. The syntax for it is: route add -net NET_IP netmask NETMASK gw GATEWAY_IP where: - NET_IP" is the network IP range for the target. (Hint: it will end in ".0", vice.38".) - NETMASK is in the "dotted quad' format (e.g.,"255.255.255.0). - "GATEWAY_IP is the IP address of the router, through which the target can be accessed. (This is the IP that you detected in Step #2.) Enter the routing statement as the answer to the second question in RTB Lab 02
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
