Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
How to configure a Solaris system as a DHCP serverIntro
This document provides a simple guide to configuring a Solaris system as a DHCP server using the software supplied with the operating system. The command line interface isused thoughout, no reference made to the Sun's GUI tool 'dhcpmgr'. This procedure was performed on a Solaris 9 system, though it is likely also applicable to Solaris 7 & 8.The dhcp server setup here serves a single network, makes no effort to register names inany naming service, and does not enable BOOTP.
Packages
You should have the 3 basic DHCP packages installed;
# pkginfo | grep DHCPsystem SUNWdhcsb Binary File Format Data Module for BOOTP/DHCP Servicessystem SUNWdhcsr BOOTP/DHCP Server Services, (Root)system SUNWdhcsu BOOTP/DHCP Server Services, (Usr)
Procedure
1.Create basic DHCP configuration and dhcptab files2.Create a macro for the local networ3.Create the local network table4.Add some entries to the network table5.Start the DHCP server 
1. Basic DHCP Configuration
Use dhcpconfig to setup dhcpsvc.conf and dhcptab, here we simply define the type of datastore (SUNWfiles = text files) and the location of datafiles;
# dhcpconfig -D -r SUNWfiles -p /var/dhcp
2. Create a macro for the local network 
Here we create a macro for our local network ( the one we will serve IP addresses for) indhcptab
# dhtadm -A -m 192.9.200.0 -d':Broadcst=192.9.200.255:Subnet=255.255.255.0:MTU=1500:'
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more