[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738619#comment-13738619
 ] 

Bharat Kumar commented on CLOUDSTACK-4132:
------------------------------------------

I tried to do some sanity checks after setting the dhcp-client-update flag in 
the dnsmasq.config files. following are the observations.

i used dhcpdump uttility to gather this.

without the  flag dhcp-client-update

 TIME: 2013-08-13 17:58:05.918
    IP: 0.0.0.0 (6:cd:b2:0:0:2) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 8de7bb4b
  SECS: 2816
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 06:cd:b2:00:00:02:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  61 (  7) Client-identifier         01:06:cd:b2:00:00:02
OPTION:  50 (  4) Request IP address        10.147.33.4
OPTION:  54 (  4) Server identifier         10.147.33.6
OPTION:  12 ( 15) Host name                 WIN-MO8J8SHVOJI
OPTION:  81 ( 18) Client FQDN               0-0-0 WIN-MO8J8SHVOJI
OPTION:  60 (  8) Vendor class identifier   MSFT 5.0
OPTION:  55 ( 12) Parameter Request List      1 (Subnet mask)
                                             15 (Domainname)
                                              3 (Routers)
                                              6 (DNS server)
                                             44 (NetBIOS name server)
                                             46 (NetBIOS node type)
                                             47 (NetBIOS scope)
                                             31 (Perform router discovery)
                                             33 (Static route)
                                            121 (Classless Static Route)
                                            249 (MSFT - Classless route)
                                             43 (Vendor specific info)



---------------------------------------------------------------------------

TIME: 2013-08-13 17:58:05.918
    IP: 10.147.33.6 (6:20:be:0:0:4) > 10.147.33.4 (6:cd:b2:0:0:2)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 8de7bb4b
  SECS: 2816
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 10.147.33.4
SIADDR: 10.147.33.6
GIADDR: 0.0.0.0
CHADDR: 06:cd:b2:00:00:02:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         10.147.33.6
OPTION:  51 (  4) IP address leasetime      -1 ()
OPTION:   1 (  4) Subnet mask               255.255.255.128
OPTION:  28 (  4) Broadcast address         10.147.33.127
OPTION:  81 ( 24) Client FQDN               3-255-255 vm1.cs1cloud.internal
OPTION:   6 (  8) DNS server                10.147.33.6,10.103.128.16
OPTION:   3 (  4) Routers                   10.147.33.1
OPTION:  15 ( 17) Domainname                cs1cloud.internal
OPTION:  43 (  7) Vendor specific info      020400000001ff   .......
OPTION:  60 (  8) Vendor class identifier   MSFT 5.0
*******************************************************************************************

with dhcp-client-update flag added


TIME: 2013-08-13 18:08:35.336
    IP: 0.0.0.0 (6:cd:b2:0:0:2) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: b49a02fa
  SECS: 1024
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 06:cd:b2:00:00:02:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  61 (  7) Client-identifier         01:06:cd:b2:00:00:02
OPTION:  50 (  4) Request IP address        10.147.33.4
OPTION:  54 (  4) Server identifier         10.147.33.6
OPTION:  12 ( 15) Host name                 WIN-MO8J8SHVOJI
OPTION:  81 ( 18) Client FQDN               0-0-0 WIN-MO8J8SHVOJI
OPTION:  60 (  8) Vendor class identifier   MSFT 5.0
OPTION:  55 ( 12) Parameter Request List      1 (Subnet mask)
                                             15 (Domainname)
                                              3 (Routers)
                                              6 (DNS server)
                                             44 (NetBIOS name server)
                                             46 (NetBIOS node type)
                                             47 (NetBIOS scope)
                                             31 (Perform router discovery)
                                             33 (Static route)
                                            121 (Classless Static Route)
                                            249 (MSFT - Classless route)
                                             43 (Vendor specific info)



---------------------------------------------------------------------------

  TIME: 2013-08-13 18:08:35.336
    IP: 10.147.33.6 (6:20:be:0:0:4) > 10.147.33.4 (6:cd:b2:0:0:2)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: b49a02fa
  SECS: 1024
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 10.147.33.4
SIADDR: 10.147.33.6
GIADDR: 0.0.0.0
CHADDR: 06:cd:b2:00:00:02:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         10.147.33.6
OPTION:  51 (  4) IP address leasetime      -1 ()
OPTION:   1 (  4) Subnet mask               255.255.255.128
OPTION:  28 (  4) Broadcast address         10.147.33.127
OPTION:   6 (  8) DNS server                10.147.33.6,10.103.128.16
OPTION:   3 (  4) Routers                   10.147.33.1
OPTION:  15 ( 17) Domainname                cs1cloud.internal
OPTION:  43 (  7) Vendor specific info      020400000001ff   .......
OPTION:  60 (  8) Vendor class identifier   MSFT 5.0

                
> current dnsmasq config does not allow guest virtual machines(clients) to 
> update its hostnames with a  DNS server
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4132
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4132
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Virtual Router
>    Affects Versions: 4.2.0
>            Reporter: Ram Ganesh
>            Assignee: Bharat Kumar
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Current dnsmasq.conf does not have "dhcp-client-update" flag enabled thereby 
> preventing say Windows clients to update AD servers with its hostname. We 
> should enhance the config file to support this. More information about this 
> parameter can be found here - 
> http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to