ExamGecko
Question list
Search
Search

List of questions

Search

Question 103 - 201-450 discussion

Report
Export

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. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)

A.
route add default gw 192.168.0.1 eth0
Answers
A.
route add default gw 192.168.0.1 eth0
B.
ifconfig eth0 defaultroute 192.168.0.1
Answers
B.
ifconfig eth0 defaultroute 192.168.0.1
C.
ip route add default via 192.168.0.1 dev eth0
Answers
C.
ip route add default via 192.168.0.1 dev eth0
D.
echo defaultroute 192.168.0.1 >> /etc/resolv.conf
Answers
D.
echo defaultroute 192.168.0.1 >> /etc/resolv.conf
E.
route add defaultgw=192.168.0.1 if=eth0
Answers
E.
route add defaultgw=192.168.0.1 if=eth0
Suggested answer: A, C
asked 18/09/2024
Jim Swift
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first