[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My DHCP Discover do not have Option12 Host Name set ?



On Wednesday 20 Apr 2005 10:13, Jean-Louis Crouzet wrote:
> Hi all,
>
> any one could shed some light here thanks in advance. I'm trying to
> understand why my SMC Barricade DHCP Client Log never see my Debian's
> Machine name but XP ones...
>
> Using customized Kernel 2.6.8-15 machine on a LAN behind a SMC Barricade
> 74004WBRA , during startup I compared the DHCP sequences content and
> find out that Option 12: Host Name = "Always set up with XP" but not
> with Debian!
>
> I think that I might have a DHCP issue as I compared the two DHCP
> sequences (one with XP from scratch and one with Debian under same
> conditions, scratch meant Power ON and Boot)
>
> On XP side just for DHCP the first attempt is the Request with Option
> 12: Host Name = "Already set up with XP". See details hereafter
> extracted from Ethereal Capture
>
> Bootstrap Protocol
>      Message type: Boot Request (1)
>      Hardware type: Ethernet
>      Hardware address length: 6
>      Hops: 0
>      Transaction ID: 0x04cba1a1
>      Seconds elapsed: 0
>      Bootp flags: 0x0000 (Unicast)
>          0... .... .... .... = Broadcast flag: Unicast
>          .000 0000 0000 0000 = Reserved flags: 0x0000
>      Client IP address: 0.0.0.0 (0.0.0.0)
>      Your (client) IP address: 0.0.0.0 (0.0.0.0)
>      Next server IP address: 0.0.0.0 (0.0.0.0)
>      Relay agent IP address: 0.0.0.0 (0.0.0.0)
>      Client MAC address: 00:50:70:a4:0c:8a (Chaintec_a4:0c:8a)
>      Server host name not given
>      Boot file name not given
>      Magic cookie: (OK)
>      Option 53: DHCP Message Type = DHCP Discover
>      Option 116: DHCP Auto-Configuration (1 bytes)
>      Option 61: Client identifier
>          Hardware type: Ethernet
>          Client MAC address: 00:50:70:a4:0c:8a (Chaintec_a4:0c:8a)
>      Option 12: Host Name = "Melodie_Nelson"
>      Option 60: Vendor class identifier = "MSFT 5.0"
>      Option 55: Parameter Request List
>          1 = Subnet Mask
>          15 = Domain Name
>          3 = Router
>          6 = Domain Name Server
>          44 = NetBIOS over TCP/IP Name Server
>          46 = NetBIOS over TCP/IP Node Type
>          47 = NetBIOS over TCP/IP Scope
>          31 = Perform Router Discover
>          33 = Static Route
>          Unknown Option Code: 249
>          43 = Vendor-Specific Information
>      End Option
>      Padding
>
> While with Debian this option 12 is empty, see herafter:
>
> Bootstrap Protocol
>      Message type: Boot Request (1)
>      Hardware type: Ethernet
>      Hardware address length: 6
>      Hops: 0
>      Transaction ID: 0xc86e1461
>      Seconds elapsed: 0
>      Bootp flags: 0x0000 (Unicast)
>          0... .... .... .... = Broadcast flag: Unicast
>          .000 0000 0000 0000 = Reserved flags: 0x0000
>      Client IP address: 0.0.0.0 (0.0.0.0)
>      Your (client) IP address: 0.0.0.0 (0.0.0.0)
>      Next server IP address: 0.0.0.0 (0.0.0.0)
>      Relay agent IP address: 0.0.0.0 (0.0.0.0)
>      Client MAC address: 00:80:c7:11:94:e3 (Xircom_11:94:e3)
>      Server host name not given
>      Boot file name not given
>      Magic cookie: (OK)
>      Option 53: DHCP Message Type = DHCP Discover
>      Option 55: Parameter Request List
>          1 = Subnet Mask
>          28 = Broadcast Address
>          2 = Time Offset
>          3 = Router
>          15 = Domain Name
>          6 = Domain Name Server
>          12 = Host Name
>
> So within my SMC Barricade DHCP Client Log I never see my Debian's
> Machine name...
>
> Any advise?
>
> JL

(Oops - forgot to reply to mailing list!)
Hi there.

Have you set your host name in /etc/dhclient.conf ?

Uncomment the "send host-name" line (the first real line) and set your host 
name there.

The reason it is not sent is because more secure DHCP servers specify your 
host name based on your machine's hardware network address (otherwise known 
as your MAC address).

Regards,
TreeBoy



Reply to: