DHCP and Solaris 9 - hostname issue

patrik.koch_at_philips.com
Date: 09/22/03

  • Next message: Sun Admin: "Sendmail Timestamp Problem"
    To: sunmanagers@sunmanagers.org
    Date: Mon, 22 Sep 2003 12:31:04 +0200
    
    

    Dear Managers,

    I set up a new Sun Blade 2000 as a DHCP client. DHCP server is a Windows server .
    Everything works EXCEPT the hostname assignment. Parameters like IP address,
    submask, DNS domain and server, default router, ... are assigned, but not the hostname.
    Therefore the Blade gives itself the name "unknown".

    As far as I understood you fill in the name in the files /etc/default/dhcpagent and /etc/hostname.eri0
    (in the form "inet <desired_name>"). The request is sent to the DHCP server, the DHCP server
    initiates a dynamic DNS update BUT does not return the requested hostname!
    Therefore "/sbin/dhcpinfo Hostname" returns nothing and the scripts /etc/rcS.d/S30network.sh
    and /etc/rc2.d/S72inetsvc assign the hostname "unknown".

    Is there a way to force the DHCP client to use a special hostname without the necessity that the
    DHCP server returns the requested hostname as a DHCP option?

    I'll summarize.

    Bets regards,

    Patrik
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Sun Admin: "Sendmail Timestamp Problem"

    Relevant Pages

    • Re: hostname comes up as "unknown" with cheap-o cable modem router
      ... > DHCP server that is giving you a bogus hostname. ... Server 2003 DHCP Server presently. ... # Later, in inetsvc, we create a name "unknown" and create a entry ... Note that the name of this init script is vital -- you must put the ...
      (comp.unix.solaris)
    • Re: sun dhcp on multihomed machine
      ... > Dave Miner wrote: ... >> Using the fixed address as the primary interface is what we suggest ... If your DSL provider's DHCP server doesn't supply a hostname in the DHCP ...
      (comp.unix.solaris)
    • SUMMARY: Solaris 9 DHCP client hostname / DNS Update
      ... echo "Setting hostname to $HOSTNAME... ... The Solaris DHCP client will not directly send updates to a DNS server; ... DNS on its behalf. ... hostname from the DHCP server, and most DHCP servers won't provide it. ...
      (SunManagers)
    • SUMMARY: DHCP and Solaris 9 - hostname issue
      ... You have to modify the startup scripts because the Windows DHCP server ... I set up a new Sun Blade 2000 as a DHCP client. ... Everything works EXCEPT the hostname assignment. ... DHCP server returns the requested hostname as a DHCP option? ...
      (SunManagers)
    • Re: DHCP client on HP-UX 11i
      ... I'm guessing HP's DHCP client still doesn't pass the hostname to the ... > DHCP server so it can perform DNS updates. ...
      (comp.sys.hp.hpux)