Search Text         
Search Tips?
Search By   And   Or   Boolean   Exact Match   TA #
Search In   Whole Doc   Keywords Sort By  
Product   Sub Product  

View Technical Articles (sorted by Product) New/Updated in the last:    7 days      14 days      30 days             
TA # Date Created Date Updated Resolved Issue?   Printer Friendly Version of This TA   Print Article
  E-mail This TA   E-mail Article
111069 05/17/2000 01:22 PM 06/14/2007 10:18 AM
Yes No
How to configure a UnixWare7 or OpenServer6 server as a DHCP client.
Keywords
scohelp unixware unixware7 uw7 uware7 7 7.1.0 7.1.1 710 711 dhcp man pages aasd aasd.conf howto dhcpc dhcpc.conf dhcpd dhcpd.conf client server dynamic host configuration protocol daemon configuration file how to configure 7.1.2 712 ou ou8 openunix openunix8 800 8.0.0 7.1.3 7.1.4 713 714 osr osr6 openserver openserver6 6.0.0 600
Release
          SCO OpenServer Release 6.0.0 
          SCO UnixWare 7 Release 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4 
          SCO OpenUNIX Release 8.0.0 (7.1.2) 
Problem
          How do I configure my UnixWare7 or OpenServer6 server as a DHCP
          client?


Solution
          Configuring a system as a DHCP client allows it to obtain its basic
          TCP/IP configuration parameters (domain name, IP address, netmask,
          broadcast address, default router, and DNS parameters) from a DHCP
          server at boot time.  You must have a DHCP server configured prior
          to configuring a client.

          To configure your server as a DHCP client, you must do these two 
          things, which are detailed below:

          - Configure the TCP/IP on your Network Interface Card (NIC)
            to be a DHCP client.

          - Create a dhcpc.conf file.

          Doing these two things will alter the file /etc/inet/config to
          start dhcpc, the DHCP Client Daemon, on system startup.

          First you must configure TCP/IP.  When you tell the machine that
          it is a DHCP client, it ignores any domain name, IP address,
          netmask, and broadcast address you may have previously configured.

          To configure TCP/IP:

          1. Run "netcfg" as root.

          2. Click on "TCP/IP" under the network card you want
          to configure (you can only configure one per machine).

          3. Click on "Protocol -> Modify Protocol Configuration..."

          4. Then click on "Yes" for "DHCP client". You will notice
          that previously configured parameters are stippled out.

          After you perform the above steps, you must create or modify
          the file:

              /etc/inet/dhcpc.conf

          to let dhcpc, the DHCP daemon, know what options to use.  A very
          simple file is attached below. For more specifics on what options
          you need, consult the person administrating your DHCP server.
          For more information, see man dhcpc(1Mtcp) and man dhcpc.conf(4tcp).


##-------SAMPLE dhcpc.conf configuration file----------
# DHCP client configuration file
#
# fields separated by ':' are
#       <Keyword>:<Parameters>
#
# recognised keywords are:
#       debug(0-10, def 1), gratuitous(0|1, def 1), command_timeout(secs),
#       dynamic_dns(0|1, def 0)
#       request_address(ipaddr), param_req(list string)
#       select_timeout(secs), lease_time(secs),
#       user_id(string), vendor_id(string),
#       max_message_size(int)
#
# multiple param_req definitions per line are allowed.
#
# vendor:vendor_id:opt:type:keyword
# command:run:path:options
#
# commands are executed in order listed below
#
#
## Requested Options
param_req:subnet_mask domain_name broadcast_address dns_servers
param_req:time_offset routers hostname

## Sample Vendor options
## Your DHCP server administrator will supply you with these
vendor_id:sco_opts
vendor:sco_opts:1:STRING:DNS_SEARCH

## Commands

command:y:/etc/inet/dhcpc/opt:
command:y:/etc/inet/dhcpc/info:

## Dynamic DNS update, run dynamic command last
#dynamic_dns:1
#command:y:/etc/inet/dhcpc/dynamic:-t 3600


SEE ALSO:
          Manual pages: dhcpc(1Mtcp), dhcpc.conf(4tcp), dhcpd(1Mtcp),
          dhcpd.conf(4tcp)

          Technical Article 110134, "Configuring a Windows 95 PC as a DHCP client
          to UnixWare 7."

          The UnixWare 7 online documentation via the UnixWare Desktop or via
          scohelp or http://uw7doc.sco.com and search on "dhcp".

          Technical Article 111070, "How to use UnixWare 7 with DSL Internet access."
Related Articles
•  How to change the System Name, Domain Name, and IP address?
•  Where can I find a TCP/IP dump or software sniffer application?
Back to Search ResultsBack to Search Results