1Z0-822 · Question #3
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…
The correct answer is A. svccfg -s network/physical setprop config/defroute=172.31.10.1; B. svccfg -s routing/route setprop config/defroute=172.31.10.1. Oracle Solaris 11 Default Route Configuration Both A and B correctly leverage SMF (Service Management Facility), the Solaris 11 mechanism for persistent network configuration. Option A configures the default route via the network/physical service (which manages interface-level…
Question
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?
Options
- Asvccfg -s network/physical setprop config/defroute=172.31.10.1;
- Bsvccfg -s routing/route setprop config/defroute=172.31.10.1;
- CAdd the IP address to the /etc/defaultrouter file and run route add default 172.31.10.1.
- Dnetadm modify -p ncp DefaultFixed set-prop -p defroute=172.31.10.1
- Eipadm set-prop -p defaultrouter=172.31.10.1
How the community answered
(51 responses)- A75% (38)
- C6% (3)
- D16% (8)
- E4% (2)
Explanation
Oracle Solaris 11 Default Route Configuration
Both A and B correctly leverage SMF (Service Management Facility), the Solaris 11 mechanism for persistent network configuration. Option A configures the default route via the network/physical service (which manages interface-level network settings), while option B targets the routing/route service (dedicated to route management) - both are valid SMF-based paths to persist a default gateway across reboots on a DefaultFixed NCP system.
Why the distractors fail:
- C is the Solaris 10 legacy approach -
/etc/defaultrouteris deprecated in Solaris 11, androute add defaultonly configures a temporary, non-persistent route that disappears on reboot. - D uses
netadm, which manages Network Configuration Profiles (NCPs) as a whole, not individual route properties; the syntax is also incorrect for this purpose. - E uses
ipadm, which manages IP interface addresses and properties - it has nodefaultrouterproperty and is not responsible for routing configuration.
Memory tip: In Solaris 11, the rule is "files → services." Anything you'd have done in /etc/defaultrouter or similar files on Solaris 10 now belongs in SMF via svccfg. When you see a persistent network config question on Solaris 11, look for the svccfg option first.
Topics
Community Discussion
No community discussion yet for this question.