Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: IP Services
Previous Next

DHCP Service and the Service Management Facility

The Service Management Facility (SMF) is described in Chapter 14, Managing Services (Overview), in System Administration Guide: Basic Administration. The SMF svcadm command can be used to enable and start the DHCP server, and disable and stop the DHCP server. However, you cannot use SMF commands to modify the DHCP service options that the DHCP tools allow you to set. In particular, service options that are stored in the /etc/dhcp/dhcpsvc.conf file cannot be set by using the SMF tools.

The following table maps DHCP commands to the equivalent SMF commands.

Table 15-1 SMF Commands For DHCP Server Tasks

Task

DHCP Command

SMF Command

Enable DHCP service

dhcpconfig -S -e

svcadm enable svc:/network/dhcp-server

Disable DHCP service

dhcpconfig -S -d

svcadm disable svc:/network/dhcp-server

Start DHCP service for current session only

None

svcadm enable -t svc:/network/dhcp-server

Stop DHCP service for current session

None

svcadm disable -t svc:/network/dhcp-server

Restart DHCP service

dhcpconfig -S -r

svcadm restart svc:/network/dhcp-server

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire