LPI
201-450 · Question #302
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 correct answer is A. route add default gw 192.168.0.1 eth0 C. ip route add default via 192.168.0.1 dev eth0. You've hit your weekly limit · resets 5am (America/New_York)
206 Networking Configuration
Question
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.)
Options
- Aroute add default gw 192.168.0.1 eth0
- Bifconfig eth0 defaultroute 192.168.0.1
- Cip route add default via 192.168.0.1 dev eth0
- Decho defaultroute 192.168.0.1 >> /etc/resolv.conf
- Eroute add defaultgw=192.168.0.1 if=eth0
How the community answered
(28 responses)- A86% (24)
- B4% (1)
- D7% (2)
- E4% (1)
Explanation
You've hit your weekly limit · resets 5am (America/New_York)
Topics
#default gateway#route command#ip route#routing configuration
Community Discussion
No community discussion yet for this question.