Exam CV0-003 All QuestionsBrowse all questions from this exam
Question 34

A cloud administrator has deployed a new VM. The VM cannot access the Internet or the VMs on any other subnet. The administrator runs a network command and sees the following output:

The new VM can access another VM at 172.16.31.39. The administrator has verified the IP address is correct. Which of the following is the MOST likely cause of the connectivity issue?

    Correct Answer: D

    Given the subnet mask of 255.255.255.224 (/27), the subnet range for the VM's IP address (172.16.31.38) is 172.16.31.32 to 172.16.31.63. With this subnet, the default gateway should be within the range of usable addresses, which are from 172.16.31.33 to 172.16.31.62. The provided gateway, 172.16.31.254, is not within this range. Therefore, the correct problem is the wrong gateway. The VM can access another VM on the same network (172.16.31.39) because they are within the same subnet, but it cannot access the internet or other subnets due to the incorrect gateway configuration.

Discussion
i_birdOption: D

I came to learn, not unlearn..how can it not be D?

kuzummjakk

If the gateway is wrong, the traffic wouldn't leave the machine at all. Meaning it can't even talk to a machine on the same network like the question says. The gateway is the FIRST place the traffic hits.

SimplyDebonairOption: D

The determining factor is the subnet mask. Plugging the IPv4 address into a IPv4/Subnet calculator, you come out with 30 usable hosts. The ranges for those hosts are 172.16.31.33 - 172.16.31.62. When you plug in the default gateway’s IP, it also comes back with 30 usable hosts. However, the ranges for those hosts are 172.16.32.225 - 172.16.31.254, which is outside the range of the IPv4 address. Thus, the issue isn’t a duplicated IP, but the gateway is wrong.

kuzummjakk

technically the subnet mask can be wrong and traffic can still reach the gateway if the IP is correct, however if the gateway is wrong traffic won't leave the machine at all so talking to another machine on the same network aint happening like the question says. Duplicate IP still doesn't make sense though given the information in the question and how it can reach machines in its subnet just fine. Cloud vendors usually let you configure some sort of "route table" to control what traffic goes between what subnets and you're meant to configure the route table to send traffic that "falls through" as going to the "internet gateway" so by being the most related to "no internet access, but internal access", I think it's A.

All_ultrexOption: D

This has to be D, wrong gateway. The subnet is a /27 which allows for 30 usable hosts. The IP and gateway are not on the same subnet.

ironman_86Option: D

D is the correct one

DVD300Option: D

D. wrong gateway coz the gateway is in a separate subnet /27 goes in multiples of 32

kuzummjakkOption: A

If it can't reach the gateway, why can it reach that other machine? In the cloud, the network often has to be manually configured to allow access outside of the subnet to the internet so my bet's on A.

yyCherubimOption: D

Answer "B" is more of CompTIA Stupid! If you have a duplicate IP on the network, your not going to talk to anything.

ryanzouOption: D

D with no doubt

54a6b25Option: D

D. The wrong gateway Explanation: Given the subnet mask of 255.255.255.224, the subnet range for the VM's IP address (172.16.31.38) would be 172.16.31.32 to 172.16.31.63, with 172.16.31.33 as the first usable address and 172.16.31.62 as the broadcast address. The default gateway for this subnet should be within this range, but typically, it would be one of the first or last usable addresses in the range, like 172.16.31.33 or 172.16.31.62. The provided gateway, 172.16.31.254, does not fall within the 172.16.31.32/27 subnet range, which is why the VM cannot access the Internet or other subnets. To resolve the issue, the correct gateway should be set to an address within the VM's subnet range. For example, if the standard practice in the network is to use the first usable address as the gateway, the gateway should be set to 172.16.31.33. If the last usable address is used, it should be 172.16.31.62.

Alvin_LOption: D

It's deinitely wrong gateway, this subnet is /27, should only has 32 devices, 254 is way out of range

AllenTaylorOption: D

It is D. Why is B shown as the answer?

gijack88Option: D

The Answer is D. IPv4 address 172.16.31.38 with a subnet 255.255.255.224 has a network address of 172.16.31.32 and a broadcast of 172.16.31.63 this means the gateway can only fall between 172.16.31.33 - 172.16.31.62. The gateway listed of 172.16.31.254 is not in the same subnet, which means it cannot reach the gateway necessary to reach other networks.

sheilawuOption: D

Was on my test 7/2 , answer should be D

ZAK_11Option: D

The most likely cause of the connectivity issue is the wrong gateway. The solution is to correct the default gateway to the correct value, which should be within the same subnet as the VM's IPv4 address and subnet mask. In this case, the correct gateway address would be within the range of 172.16.31.33 - 172.16.31.62.

scott5010Option: D

BS question, default gateway has to be on the same subnet as the host, in this case it would be a /27 with 30 hosts.