Which two actions must be taken to enable IP forwarding on all interfaces yet disable on a specific
interface?
A.
routeadm –r
B.
ipadm set–addrprop
C.
ipadm set–ifprop
D.
routeam –e
E.
dladm set–router
Explanation:
The routeadm command is used to administer system-wide configuration for IP
forwarding and routing. IP forwarding is the passing of IP packets from one network to another; IP
routing is the use of a routing protocol to determine routes.
-e option…
Enable the specified option. The effect is to prepare the associated services (svc:/network/ipv4-forwarding:default in the case of ipv4-forwarding) for enabling. By means of the routing-svcs
variable, the routing daemons are specified to be enabled on subsequent boot or when routeadm -u is run.
-d option…
Disable the specified option. The effect is to prepare the associated services (svc:/network/ipv4-forwarding:default in the case of ipv4-forwarding) for enabling. By means of the routing-svcs
variable, the routing daemons are specified to be disabled on subsequent boot or when routeadm
-u is run.
Reference:System Administration Commands,routeadm
C, D