CompTIA Exam Questions

Which of the following commands will correct this issue?

Ping requests to a network gateway fail. It is determined that an interface’s subnet mask is incorrect. Which of the following commands will correct this issue?

A.
ifup eth0 subnet_mask=255.255.255.0

B.
ethtool eth0 subnet_mask=255.255.255.0

C.
if eth0 subnet 255.255.255.0 up

D.
ifconfig eth0 netmask 255.255.255.0