You are configuring a system on your network that was installed using LiveCD. You configured applied a static
IP address to the system. You now need to configure a default router. Assume that name services are file
based and the router’s IP address is 172.31.10.1.
Which two methods should you use to configure a default route on this Oracle Solaris 11 system?
A.
svccfg –s network/physical setprop config/defroute=172.31.10.1;svcadm refresh network/physical; svcadm
restart network/physical
B.
svccfg –s routing/route setprop config/defroute=172.31.10.1;svcadm refresh routing/route; svcadm restart
routing/route
C.
Add the IP address to the /etc/defaultrouter file and run route add default 172.31.10.1.
D.
netadm modify –p ncp DefaultFixed set-prop –p defroute=172.31.10.1
E.
ipadm set-prop –p defaultrouter=172.31.10.1
Explanation:
* AI Server Software Requirements include:
Default router
Ensure that your AI server has a default route set by using the netstat command to show network status. If your
AI server does not have a default route set, you can set a static default route by populating the /etc/
defaultrouter file with the IP address of a static default route for your server’s network.
* For any currently active NCP (fixed or reactive), use the route command with the -p option to persistently add
a route:
# route -p add default ip-address
Because this command applies the specified route to the currently active NCP, the default route is removed and
potentially replaced, if the active NCP changes.
Incorrect:
Not A, Not B: The svccfg command manipulates data in the service configuration repository. svccfg can be
invoked interactively, with an individual subcommand, or by specifying a command file that contains a series of
subcommands.