Can someone point me to a step by step recipe for configuring Solaris 8
as a DHCP _client_?
Thanks!
Thanks!
# touch /etc/dhcp.${IFACE}Quote:> Can someone point me to a step by step recipe for configuring Solaris 8
> as a DHCP _client_?
Where ${IFACE} is your interface on which you'd like to configure DHCP.
The second line erases the content of /etc/hostname.${IFACE} . Only do
this if your dhcp server provides an hostname to the client. Otherwise,
the client will be named 'unknown'.
On http://docs.sun.com you can find more information on DHCP.
HTH,
Ralf
Keith,Quote:> Keith,
> > Can someone point me to a step by step recipe for configuring Solaris 8
> > as a DHCP _client_?
> # touch /etc/dhcp.${IFACE}
> # > /etc/hostname.${IFACE}
> Where ${IFACE} is your interface on which you'd like to configure DHCP.
> The second line erases the content of /etc/hostname.${IFACE} . Only do
> this if your dhcp server provides an hostname to the client. Otherwise,
> the client will be named 'unknown'.
> On http://docs.sun.com you can find more information on DHCP.
> HTH,
> Ralf
I just got thru setting up a few Solaris 8 DHCP clients at my job. In
my case, I configured my clients to supply the hostnames to the DHCP
server which is a Windoze 2000 server. We also use Dynamic DNS which
updates my hostname choice dynamically to our Windoze 2000 DNS
servers. here and it things seem to work great at this point. If you
want to configure DHCP clients to provide the hostname, you'll need to
do the following:
1. # touch /etc/dhcp.${IFACE}
2. Edit the /etc/hostname.${IFACE} file to have the following line if
you want to provide the hostname,
inet myhostname
3. Edit the /etc/nodename file and put in "myhostname".
4. Edit the /etc/init.d/network file and change the following line
"dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
to
"dhcp") hostname=`shcat /etc/nodename` ;;
5. Edit the /etc/init.d/inetsvc file and change the following line
hostname=`/sbin/dhcpinfo Hostname`
to
hostname=`/usr/bin/cat /etc/nodename`
6. Edit the /etc/default/dhcpagent file and uncomment out the line
REQUEST_HOSTNAME=yes
7. You also may need to edit the line in /etc/default/dhcpagent for
the particular DHCP options you wish to request from the DHCP server.
My line looks like the one below. You can consult the
/etc/dhcp/inittab file for the various options. They may vary
slightly depending on the kind of DHCP server you're "talking" too.
PARAM_REQUEST_LIST=1,3,6,12,15,43,51,54
You may need to perform a sys-unconfig first if your system is already
running with a static IP address. Hope this helps. Now, I'm trying
to figure out how to Jumpstart install Sun DHCP clients using a
Windoze 2000 DHCP server. If you know anyone that's done this
successfully, let me know. Thanks in advance and good luck.
Wayne
1. sol8 dhcp SERVER, M$ clients
I just started toying with the dhcp server built into solaris 8.
I thought it would be pretty straightfoward. But the M$ box doesnt seem to
like what the solaris box is doing with DNSserv and Router.
I've set them as entries for the 'macro' entry for the IP addresses I'm
serving. The M$ x86 laptops get their addresses okay. But they dont seem
to recognize 'default gateway' and DNS server entries.
groups.google.com didnt seem to offer any wisdom either.
Any hints out there?
From /var/dhcp:
[lines wrapped to keep fascist posting software happy, and some values
obscured for security]
SUNWfiles1_10_1_1_0
::::::::::::::
10.1.1.123|01001122334455|01|10.1.1.245|4294967295|8438901276762177544|
zaphod|laptop
SUNWfiles1_dhcptab
::::::::::::::
# SUNWfiles1_dhcptab
#
# Do NOT edit this file by hand -- use dhtadm(1M) or dhcpmgr(1M) instead
#
Locale|m|17641162690363654145|:UTCoffst=-28800:
zaphod|m|597289900580012037|:Include=Locale:Timeserv=10.1.1.245:
LeaseTim=259200:LeaseNeg:DNSserv=10.1.1.240:Broadcst=10.1.1.255:
Subnet=255.255.255.0:Router=10.1.1.240:
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
http://www.spamlaws.com/state/ca1.html
3. x86 Sol8 dhcp, ext 3com adsl modem, mant ethers....
4. fix conflicting pcnet32 definitions
5. RH 5.1 flawless ftp-dhcp install; dhcp config retained; dhcp fails @ boot
7. DHCP Linux Client at NT-DHCP Server
9. Windows NT DHCP clients and SunOS 4.x BOOTPD+DHCP patches
10. DHCP: How do I configure DHCP server dynamically?????
11. Sunray as DHCP client to NT DHCP server
12. dhcp on RedHat 5.1 and dhcp relay agent on NT 4.0
13. 3com 905b gets Ip address by using DHCP from NT DHCP server