A network client has an Ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. Which of the following commands can be used on the client to enable it to use the router as its default gateway?
A) route add default gw 192.168.0.1 eth0
B) ifconfig eth0 defaultroute 192.168.0.1
C) ip route add default via 192.168.0.1
D) echo defaultroute 192.168.0.1 >>/etc/resolv.conf
E) route add defaultgw=192.168.0.1 if=eth0
Correct Answer:
Verified
Q18: Which command is used to make an
Q19: Which command is used to install a
Q20: Fill in the blank. What keyword is
Q21: Fill in the blank. Which program lists
Q22: Which of the following properties should be
Q24: In the output of sar -b ,
Q25: Which of the following configuration files are
Q26: Which of the following files will be
Q27: What is the minimum number of disks
Q28: In order to gather performance data with
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents