Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5.1.
Which of the following commands should the administrator run?
Correct Answer: D. ip route add 10.0.213.5/32 via 10.0.5.1 dev eth0
This command uses the modern ip tool to add a static route for the host 10.0.213.5/32, routing packets through the gateway 10.0.5.1 via the eth0 interface. It's the correct and recommended method for managing routes on modern Linux systems. The /32 mask ensures the route is specific to a single host.
Why other options are incorrect:
Discover a range of courses designed to provide you with the knowledge and skills needed to excel in your chosen field.
You don’t need one month to study and pass your test.
With Prepsaret, it takes you a few days to grasp all the concepts needed to pass your exams