<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "dhcp-users-request@lists.isc.org" <dhcp-users-request@lists.isc.org><br><b><span style="font-weight: bold;">To:</span></b> dhcp-users@lists.isc.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, 22 December, 2009 8:47:09<br><b><span style="font-weight: bold;">Subject:</span></b> dhcp-users Digest, Vol 14, Issue 23<br></font><br>Send dhcp-users mailing list submissions to<br>    <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><br>To
 subscribe or unsubscribe via the World Wide Web, visit<br>    <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>or, via email, send a message with subject or body 'help' to<br>    <a ymailto="mailto:dhcp-users-request@lists.isc.org" href="mailto:dhcp-users-request@lists.isc.org">dhcp-users-request@lists.isc.org</a><br><br>You can reach the person managing the list at<br>    <a ymailto="mailto:dhcp-users-owner@lists.isc.org" href="mailto:dhcp-users-owner@lists.isc.org">dhcp-users-owner@lists.isc.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of dhcp-users digest..."<br><br><br>Today's Topics:<br><br>   1. problem with omapi (??)<br>   2. Re: problem with omapi (Glenn Satchell)<br>   3. Re: problem with omapi  (??)<br>   4. Re:
 Vendor-class-identifier Option 60 woes (Matt Causey)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 22 Dec 2009 10:15:45 +0800 (CST)<br>From: ??   <<a ymailto="mailto:brilliant_er@yahoo.cn" href="mailto:brilliant_er@yahoo.cn">brilliant_er@yahoo.cn</a>><br>Subject: problem with omapi<br>To: <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>Message-ID: <<a ymailto="mailto:279999.71087.qm@web92207.mail.cnh.yahoo.com" href="mailto:279999.71087.qm@web92207.mail.cnh.yahoo.com">279999.71087.qm@web92207.mail.cnh.yahoo.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi,<br>??? When I linked the dhcpd successful by using omapi, but I got the error end time of lease.Why?Thanks for you help.<br>Regards,<br>John<br><br><br><br>      ___________________________________________________________
 <br>  ????????????????? <br><a href="http://card.mail.cn.yahoo.com/" target="_blank">http://card.mail.cn.yahoo.com/</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="https://lists.isc.org/pipermail/dhcp-users/attachments/20091222/9d8e1005/attachment-0001.html" target="_blank">https://lists.isc.org/pipermail/dhcp-users/attachments/20091222/9d8e1005/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 22 Dec 2009 13:31:45 +1100 (EST)<br>From: Glenn Satchell <<a ymailto="mailto:Glenn.Satchell@uniq.com.au" href="mailto:Glenn.Satchell@uniq.com.au">Glenn.Satchell@uniq.com.au</a>><br>Subject: Re: problem with omapi<br>To: <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>Message-ID: <<a ymailto="mailto:200912220231.nBM2VjfK007956@mail.uniq.com.au"
 href="mailto:200912220231.nBM2VjfK007956@mail.uniq.com.au">200912220231.nBM2VjfK007956@mail.uniq.com.au</a>><br>Content-Type: TEXT/plain; charset=ISO-8859-1<br><br><br>>Date: Tue, 22 Dec 2009 10:15:45 +0800 (CST)<br>>From: ??????   <<a ymailto="mailto:brilliant_er@yahoo.cn" href="mailto:brilliant_er@yahoo.cn">brilliant_er@yahoo.cn</a>><br>>Subject: problem with omapi<br>>To: <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>>X-BeenThere: <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>><br>> Hi,<br>> When I linked the dhcpd successful by using omapi, but I got the error<br>> end time of lease.Why?Thanks for you help.<br>> Regards,<br>> John<br>> <br><br><br>Hi John<br><br>There is no answer to this question because there is not enough<br>information. So please provide
 more, including answers to all of these<br>questions:<br><br>What version of dhcpd are you using? dhcpd --version<br><br>What platform and kernel version for the server, eg linux redhat,<br>ubuntu, solaris, freebsd, hp-ux, etc?<br><br>How did you link dhcpd to use omapi? What configuration entries did you<br>use, and what commands did you run?<br><br>What is the exact error message, and the steps leading up to it? Please<br>cut and paste directly to the email.<br><br>What did you expect the result to be? What are you trying to make happen?<br><br>Include your dhcpd.conf file, as the settings there are important for<br>working out what is going on.<br><br>regards,<br>-glenn<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Tue, 22 Dec 2009 14:58:22 +0800 (CST)<br>From: ??   <<a ymailto="mailto:brilliant_er@yahoo.cn" href="mailto:brilliant_er@yahoo.cn">brilliant_er@yahoo.cn</a>><br>Subject: Re: problem with omapi <br>To:
 <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>Message-ID: <<a ymailto="mailto:15436.28352.qm@web92207.mail.cnh.yahoo.com" href="mailto:15436.28352.qm@web92207.mail.cnh.yahoo.com">15436.28352.qm@web92207.mail.cnh.yahoo.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi,<br>My version of dhcpd is 4.0.2b3.The OS is fedora-10 and environment of programming is <br>NetBeans-6.5.1. I use the following code to link dhcpd:<br><br>?#include <stdarg.h><br> #include <sys/time.h><br> #include <sys/socket.h><br> #include <stdio.h><br> #include <netinet/in.h><br><br> #include <isc-dhcp/result.h><br> #include <dhcpctl/dhcpctl.h><br><br>int main (int argc, char **argv) {  <br>    dhcpctl_data_string ipaddrstring = NULL;<br>    dhcpctl_data_string value = NULL;<br>    dhcpctl_handle connection =
 NULL;<br>    dhcpctl_handle lease = NULL;<br>    isc_result_t waitstatus;<br>    struct in_addr convaddr;<br>    time_t thetime;     <br>    <br>  dhcpctl_initialize ();  <br><br>  /* get connection with server */<br>  status = dhcpctl_connect (&connection, "211.87.239.28",7911, 0);<br> <br>  /* create a lease object */<br>  status = dhcpctl_new_object (&lease, connection,"lease");<br> <br>  memset (&ipaddrstring, 0, sizeof ipaddrstring);<br>  <br>  inet_pton(AF_INET, "211.87.239.238",&convaddr);<br><br>  /* allocates a new dhcpctl_data_string object*/<br>  status = omapi_data_string_new (&ipaddrstring,4, MDL);<br><br>  memcpy(ipaddrstring->value, &convaddr.s_addr, 4);<br><br>  status = dhcpctl_set_value (lease, ipaddrstring,"ip-address");<br> <br>  status = dhcpctl_open_object (lease, connection,
 0);<br> <br>  /* wait for response from server */<br>  status = dhcpctl_wait_for_completion (lease,&waitstatus);<br>   <br>  if (waitstatus != ISC_R_SUCCESS) {<br>    /* server not authoritative */   <br>    printf ( "Not successful ! \n");    <br>    //exit (0);<br>    }<br><br>  // deallocates a data string created by omapi_data_string_new()<br> status = dhcpctl_data_string_dereference(&ipaddrstring,MDL);<br><br> // extracts a value of an attribute from the handle<br> status = dhcpctl_get_value (&value, lease, "ends");<br> <br> memcpy(&thetime, value->value, value->len);<br><br> dhcpctl_data_string_dereference(&value, MDL);<br><br> fprintf (stdout, "ending time is %s",ctime(&thetime));<br>}<br><br>In the dhcpd.leases file,the IP 211.87.239.238 detail info is following:<br>lease 211.87.239.238 {<br>  starts 2 2009/12/08 07:23:44;<br> 
 ends 3 2009/12/09 07:23:44;<br>  tstp 3 2009/12/09 07:23:44;<br>  cltt 2 2009/12/08 07:23:44;<br>  binding state free;<br>  hardware ethernet 00:01:6c:cb:93:e6;<br>}<br><br>Finally, when I run the code,but I get the error end time of lease:<br>?ending time is Wed Feb 12 23:26:35 1902<br><br>Thanks for you help!<br>Best Regards,<br>John<br><br><br><br><br><br><br>      ___________________________________________________________ <br>  ????????????????? <br><a href="http://card.mail.cn.yahoo.com/" target="_blank">http://card.mail.cn.yahoo.com/</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="https://lists.isc.org/pipermail/dhcp-users/attachments/20091222/526ee48e/attachment-0001.html" target="_blank">https://lists.isc.org/pipermail/dhcp-users/attachments/20091222/526ee48e/attachment-0001.html</a>><br><br>------------------------------<br><br>Message:
 4<br>Date: Tue, 22 Dec 2009 00:46:50 -0800<br>From: Matt Causey <<a ymailto="mailto:matt.causey@gmail.com" href="mailto:matt.causey@gmail.com">matt.causey@gmail.com</a>><br>Subject: Re: Vendor-class-identifier Option 60 woes<br>To: Users of ISC DHCP <<a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br>Message-ID:<br>    <<a ymailto="mailto:ac71f2bb0912220046y1877d38dt32a5fde7679c61b2@mail.gmail.com" href="mailto:ac71f2bb0912220046y1877d38dt32a5fde7679c61b2@mail.gmail.com">ac71f2bb0912220046y1877d38dt32a5fde7679c61b2@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>On Mon, Dec 21, 2009 at 2:03 AM, Graham Bishop <<a ymailto="mailto:grim_b@yahoo.com" href="mailto:grim_b@yahoo.com">grim_b@yahoo.com</a>> wrote:<br>> Hi,<br>><br>> I have been struggling to find an understandable guide to getting a switch<br>> to pick up
 some vendor options via dhcpd.<br>><br>> I have captured the output of the entire dhcp discover, offer, request and<br>> ACK process and tried to manipulate samples of peoples configurations to<br>> make it work, but as of yet no luck.<br>><br>> Please can I ask that a more experienced dhcpd.conf writer take a look and<br>> let me know how to pass "option 186? = tftp / ftp address" in response to<br>> the vendor-class-identifier request from the client?<br>><br>> Output:<br>><br>> tcpdump:<br>><br>> 00:58:05.817153 IP (tos 0x10, ttl 16, id 6, offset 0, flags [none], proto<br>> UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]<br>> BOOTP/DHCP, Request from 00:15:70:d9:85:06, length 300, xid 0x6b55630, secs<br>> 36, Flags [none] (0x0000)<br>> ????????? Client-Ethernet-Address 00:15:70:d9:85:06<br>> ????????? Vendor-rfc1048 Extensions<br>> ??????????? Magic Cookie
 0x63825363<br>> ??????????? DHCP-Message Option 53, length 1: Discover<br>> ??????????? Parameter-Request Option 55, length 7:<br>> ????????????? Subnet-Mask, BR, Time-Zone, Default-Gateway<br>> ????????????? Domain-Name, Domain-Name-Server, Hostname<br>> ??????????? Vendor-Class Option 60, length 29:<br>> "SymbolWS.RFS6000-4.1.0.0-042R"<br>> ??????????? END Option 255, length 0<br>> ??????????? PAD Option 0, length 0, occurs 16<br>> 00:58:06.000208 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto<br>> UDP (17), length 328) 10.0.0.1.bootps > 10.0.0.245.bootpc: [udp sum ok]<br>> BOOTP/DHCP, Reply, length 300, xid 0x6b55630, secs 36, Flags [none] (0x0000)<br>> ????????? Your-IP 10.0.0.245<br>> ????????? Server-IP 10.0.0.1<br>> ????????? Client-Ethernet-Address 00:15:70:d9:85:06<br>> ????????? Vendor-rfc1048 Extensions<br>> ??????????? Magic Cookie 0x63825363<br>> ??????????? DHCP-Message
 Option 53, length 1: Offer<br>> ??????????? Server-ID Option 54, length 4: 10.0.0.1<br>> ??????????? Lease-Time Option 51, length 4: 21600<br>> ??????????? Subnet-Mask Option 1, length 4: 255.255.0.0<br>> ??????????? Default-Gateway Option 3, length 4: 10.0.0.1<br>> ??????????? Domain-Name-Server Option 6, length 4: 10.0.0.1<br>> ??????????? END Option 255, length 0<br>> ??????????? PAD Option 0, length 0, occurs 26<br>> 00:58:06.000983 IP (tos 0x10, ttl 16, id 7, offset 0, flags [none], proto<br>> UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]<br>> BOOTP/DHCP, Request from 00:15:70:d9:85:06, length 300, xid 0x6b55630, secs<br>> 36, Flags [none] (0x0000)<br>> ????????? Client-Ethernet-Address 00:15:70:d9:85:06<br>> ????????? Vendor-rfc1048 Extensions<br>> ??????????? Magic Cookie 0x63825363<br>> ??????????? DHCP-Message Option 53, length 1: Request<br>> ??????????? Server-ID
 Option 54, length 4: 10.0.0.1<br>> ??????????? Requested-IP Option 50, length 4: 10.0.0.245<br>> ??????????? Parameter-Request Option 55, length 7:<br>> ????????????? Subnet-Mask, BR, Time-Zone, Default-Gateway<br>> ????????????? Domain-Name, Domain-Name-Server, Hostname<br>> ??????????? Vendor-Class Option 60, length 29:<br>> "SymbolWS.RFS6000-4.1.0.0-042R"<br>> ??????????? END Option 255, length 0<br>> ??????????? PAD Option 0, length 0, occurs 4<br>> 00:58:06.006451 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto<br>> UDP (17), length 328) 10.0.0.1.bootps > 10.0.0.245.bootpc: [udp sum ok]<br>> BOOTP/DHCP, Reply, length 300, xid 0x6b55630, secs 36, Flags [none] (0x0000)<br>> ????????? Your-IP 10.0.0.245<br>> ????????? Server-IP 10.0.0.1<br>> ????????? Client-Ethernet-Address 00:15:70:d9:85:06<br>> ????????? Vendor-rfc1048 Extensions<br>> ??????????? Magic Cookie 0x63825363<br>>
 ??????????? DHCP-Message Option 53, length 1: ACK<br>> ??????????? Server-ID Option 54, length 4: 10.0.0.1<br>> ??????????? Lease-Time Option 51, length 4: 21600<br>> ??????????? Subnet-Mask Option 1, length 4: 255.255.0.0<br>> ??????????? Default-Gateway Option 3, length 4: 10.0.0.1<br>> ??????????? Domain-Name-Server Option 6, length 4: 10.0.0.1<br>> ??????????? END Option 255, length 0<br>> ??????????? PAD Option 0, length 0, occurs 26<br>><br>> The client repeats the "Vendor-Class Option 60, length 29:<br>> "SymbolWS.RFS6000-4.1.0.0-042R", but I cannot match this to a class to pass<br>> back the required option 186?<br>><br>> I have the following at the moment:<br>><br>> ddns-update-style interim;<br>> ignore client-updates;<br>><br>> option space PXE;<br>> option PXE.ftp-ip??? code 186 = string;<br>><br>> class "Syms" {<br>> ????? log(debug, substring(option vendor-class-identifier,
 0, 4));<br>> ????? match if substring (option vendor-class-identifier, 0, 4) =<br>> 53:79:6d:62;<br>> ??? ??? ??? ??? ??? ??? ? }<br>> subnet 10.0.0.0 netmask 255.255.0.0 {<br>> ????? range dynamic-bootp?????????? 10.0.0.245 10.0.0.247;<br>> ????? option routers??????????????? 10.0.0.1;<br>> ????? option subnet-mask??????????? 255.255.0.0;<br>> ????? option nis-domain???????????? "linux.site";<br>> ????? option domain-name-servers??? 10.0.0.1;<br>> ????? default-lease-time??????????? 21600;<br>> ????? max-lease-time??????????????? 43200;<br>> ????? next-server?????????????????? 10.0.0.1;<br>> ????? option tftp-server-name "10.0.0.1";<br>><br>> pool {<br>> ??????? allow members of "Syms";<br>> ??????? option PXE.ftp-ip "t<a href="ftp://10.0.0.1" target="_blank">ftp://10.0.0.1</a>";<br>> ??????? vendor-option-space PXE;<br>> ??????? range 10.0.0.248 10.0.0.253;<br>> }<br>> }<br>><br>> A
 basic topology of the network may help?<br>> It is one server running dhcpd (fedora 10) with one switch (the client)<br>> plugged in at a time.? This dhcpd.conf will be used to upgrade firmware /<br>> configs etc.<br>><br>> The release notes of the switch suggest that it needs this vendor-class and<br>> that there are other options it will take other than 186.<br>> I have tried using various combinations of the hex that is returned in a<br>> packet sniffer and found that SymbolWS.RFS6000-4.1.0.0-042R in hex<br>> 53796d626f6c57532e524653363030302d342e312e302e302d30343252 so began trying<br>> to play with vendor-encapsulation options.<br>><br>> Frame 1 (342 bytes on wire, 342 bytes captured)<br>> ??? Arrival Time: Dec 18, 2009 09:42:15.636302000<br>> ??? [Time delta from previous captured frame: 0.000000000 seconds]<br>> ??? [Time delta from previous displayed frame: 0.000000000 seconds]<br>> ??? [Time since
 reference or first frame: 0.000000000 seconds]<br>> ??? Frame Number: 1<br>> ??? Frame Length: 342 bytes<br>> ??? Capture Length: 342 bytes<br>> ??? [Frame is marked: False]<br>> ??? [Protocols in frame: eth:ip:udp:bootp]<br>> ??? [Coloring Rule Name: UDP]<br>> ??? [Coloring Rule String: udp]<br>> Ethernet II, Src: SymbolTe_d9:85:06 (00:15:70:d9:85:06), Dst: Broadcast<br>> (ff:ff:ff:ff:ff:ff)<br>> ??? Destination: Broadcast (ff:ff:ff:ff:ff:ff)<br>> ??????? Address: Broadcast (ff:ff:ff:ff:ff:ff)<br>> ??????? .... ...1 .... .... .... .... = IG bit: Group address<br>> (multicast/broadcast)<br>> ??????? .... ..1. .... .... .... .... = LG bit: Locally administered address<br>> (this is NOT the factory default)<br>> ??? Source: SymbolTe_d9:85:06 (00:15:70:d9:85:06)<br>> ??????? Address: SymbolTe_d9:85:06 (00:15:70:d9:85:06)<br>> ??????? .... ...0 .... .... .... .... = IG bit: Individual address
 (unicast)<br>> ??????? .... ..0. .... .... .... .... = LG bit: Globally unique address<br>> (factory default)<br>> ??? Type: IP (0x0800)<br>> Internet Protocol, Src: 0.0.0.0 (0.0.0.0), Dst: 255.255.255.255<br>> (255.255.255.255)<br>> ??? Version: 4<br>> ??? Header length: 20 bytes<br>> ??? Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00)<br>> ??????? 0001 00.. = Differentiated Services Codepoint: Unknown (0x04)<br>> ??????? .... ..0. = ECN-Capable Transport (ECT): 0<br>> ??????? .... ...0 = ECN-CE: 0<br>> ??? Total Length: 328<br>> ??? Identification: 0x0006 (6)<br>> ??? Flags: 0x00<br>> ??????? 0.. = Reserved bit: Not Set<br>> ??????? .0. = Don't fragment: Not Set<br>> ??????? ..0 = More fragments: Not Set<br>> ??? Fragment offset: 0<br>> ??? Time to live: 16<br>> ??? Protocol: UDP (0x11)<br>> ??? Header checksum: 0xa990 [correct]<br>> ??????? [Good: True]<br>>
 ??????? [Bad : False]<br>> ??? Source: 0.0.0.0 (0.0.0.0)<br>> ??? Destination: 255.255.255.255 (255.255.255.255)<br>> User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)<br>> ??? Source port: bootpc (68)<br>> ??? Destination port: bootps (67)<br>> ??? Length: 308<br>> ??? Checksum: 0x6024 [validation disabled]<br>> ??????? [Good Checksum: False]<br>> ??????? [Bad Checksum: False]<br>> Bootstrap Protocol<br>> ??? Message type: Boot Request (1)<br>> ??? Hardware type: Ethernet<br>> ??? Hardware address length: 6<br>> ??? Hops: 0<br>> ??? Transaction ID: 0x07d173cb<br>> ??? Seconds elapsed: 39<br>> ??? Bootp flags: 0x0000 (Unicast)<br>> ??????? 0... .... .... .... = Broadcast flag: Unicast<br>> ??????? .000 0000 0000 0000 = Reserved flags: 0x0000<br>> ??? Client IP address: 0.0.0.0 (0.0.0.0)<br>> ??? Your (client) IP address: 0.0.0.0 (0.0.0.0)<br>> ??? Next server IP
 address: 0.0.0.0 (0.0.0.0)<br>> ??? Relay agent IP address: 0.0.0.0 (0.0.0.0)<br>> ??? Client MAC address: SymbolTe_d9:85:06 (00:15:70:d9:85:06)<br>> ??? Client hardware address padding: 00000000000000000000<br>> ??? Server host name not given<br>> ??? Boot file name not given<br>> ??? Magic cookie: (OK)<br>> ??? Option: (t=53,l=1) DHCP Message Type = DHCP Discover<br>> ??????? Option: (53) DHCP Message Type<br>> ??????? Length: 1<br>> ??????? Value: 01<br>> ??? Option: (t=55,l=7) Parameter Request List<br>> ??????? Option: (55) Parameter Request List<br>> ??????? Length: 7<br>> ??????? Value: 011C02030F060C<br>> ??????? 1 = Subnet Mask<br>> ??????? 28 = Broadcast Address<br>> ??????? 2 = Time Offset<br>> ??????? 3 = Router<br>> ??????? 15 = Domain Name<br>> ??????? 6 = Domain Name Server<br>> ??????? 12 = Host Name<br>> ??? Option: (t=60,l=29) Vendor class identifier =<br>>
 "SymbolWS.RFS6000-4.1.0.0-042R"<br>> ??????? Option: (60) Vendor class identifier<br>> ??????? Length: 29<br>> ??????? Value: 53796D626F6C57532E524653363030302D342E312E302E30...<br>> ??? End Option<br>> ??? Padding<br>><br>><br>><br>> I'm afraid I am a little lost now with not knowing what is needed and what<br>> is stopping it working etc.<br>><br>> Any help, gratefully received and apologies for the lengthy mail.<br>><br>> Graham.<br>><br>><br>><br>> _______________________________________________<br>> dhcp-users mailing list<br>> <a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>><br><br><br><br>It was a bit fiddly, but we got ours working with this:<br><br><br>###<br># Motorola config
 options<br>option motoap-config-server-address code 186 = string ;<br>option motoap-firmware-file-name code 187 = string ;<br>option motoap-config-file-name code 188 = string ;<br>option motoap-switch-address code 189 = string ;<br>option motoap-discovery-mode code 192 = string ;<br> class "Moto-AP-5131" {<br>        match if substring (option vendor-class-identifier,0,18) =<br>"MotorolaAP.51xx-V2";<br>        option motoap-config-server-address "";<br>        option motoap-config-file-name "/moto/ap5131cfg.txt";<br>        option motoap-switch-address "";<br>        option motoap-discovery-mode "1";<br>}<br># END Motorola config options<br>###<br><br>HTH<br><br>--<br>Matt<br><br>Hi Matt,<br><br>Thank you for your reply.  (Yahoo spam got it though :( )<br>I have tried the following as I am trying to configure RFS6000 switches and not APs, but the
 result is not good :(<br><br>My config now looks like this:<br><br>ddns-update-style interim;<br>ignore client-updates;<br><br>option motoap-config-server-address code 186 = string ;<br>option motoap-firmware-file-name code 187 = string ;<br>option motoap-config-file-name code 188 = string ;<br>option motoap-switch-address code 189 = string ;<br>option motoap-discovery-mode code 192 = string ;<br><br><br>class "Syms" {<br>match if option vendor-class-identifier = "SymbolWS.RFS6000-4.1.0.0-042R";<br>        option motoap-config-server-address "tftp://10.0.0.1/";<br>        option motoap-config-file-name "Moto-1.cfg";<br>        option motoap-switch-address "";<br>        option motoap-discovery-mode "1";<br>}<br><br>subnet 10.0.0.0 netmask 255.255.0.0 {<br>      option
 routers                10.0.0.1;<br>      option subnet-mask            255.255.0.0;<br>      option nis-domain             "linux.site";<br>      option domain-name-servers    10.0.0.1;<br>      default-lease-time            21600;<br>      max-lease-time                43200;<br>      next-server                   10.0.0.1;<br>      option tftp-server-name
 "10.0.0.1";<br><br><br>pool {<br>        range 10.0.0.245 10.0.0.247;<br>        deny members of "Syms";<br>}<br><br>pool {<br>        allow members of "Syms";<br>        option broadcast-address 10.0.255.255;<br>        range dynamic-bootp 10.0.0.248 10.0.0.253;<br>}<br><br>}<br><br>The server has a file in /tftpboot called Moto-1.cfg and the server is on 10.0.0.1.<br>I am not able to tell if the option (you supplied) are being used now, but the switch boots and picks up the ip address 10.0.0.248 which suggests it is matching the "Syms" class?<br><br>Do you have any further information on using this type of config on the Motorola switches instead of the APs themselves?<br><br>The current tcpdump says:<br>11:13:51.604856 IP (tos 0x10, ttl 16, id 7, offset 0, flags [none], proto UDP
 (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:15:70:d9:85:06 (oui Unknown), length 300, xid 0x340d5ae9, secs 47, Flags [none] (0x0000)<br>          Client-Ethernet-Address 00:15:70:d9:85:06 (oui Unknown)<br>          Vendor-rfc1048 Extensions<br>            Magic Cookie 0x63825363<br>            DHCP-Message Option 53, length 1: Discover<br>            Parameter-Request Option 55, length 7:<br>              Subnet-Mask, BR, Time-Zone, Default-Gateway<br>              Domain-Name, Domain-Name-Server,
 Hostname<br>            Vendor-Class Option 60, length 29: "SymbolWS.RFS6000-4.1.0.0-042R"<br>            END Option 255, length 0<br>            PAD Option 0, length 0, occurs 16<br>11:13:52.000164 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 10.0.0.1.bootps > 10.0.0.248.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x340d5ae9, secs 47, Flags [none] (0x0000)<br>          Your-IP 10.0.0.248<br>          Server-IP 10.0.0.1<br>          Client-Ethernet-Address 00:15:70:d9:85:06 (oui Unknown)<br>          Vendor-rfc1048
 Extensions<br>            Magic Cookie 0x63825363<br>            DHCP-Message Option 53, length 1: Offer<br>            Server-ID Option 54, length 4: 10.0.0.1<br>            Lease-Time Option 51, length 4: 21600<br>            Subnet-Mask Option 1, length 4: 255.255.0.0<br>            BR Option 28, length 4: 10.0.255.255<br>            Default-Gateway Option 3, length 4: 10.0.0.1<br>            Domain-Name-Server Option 6, length 4: 10.0.0.1<br>            END Option
 255, length 0<br>            PAD Option 0, length 0, occurs 20<br>11:13:52.000837 IP (tos 0x10, ttl 16, id 8, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:15:70:d9:85:06 (oui Unknown), length 300, xid 0x340d5ae9, secs 47, Flags [none] (0x0000)<br>          Client-Ethernet-Address 00:15:70:d9:85:06 (oui Unknown)<br>          Vendor-rfc1048 Extensions<br>            Magic Cookie 0x63825363<br>            DHCP-Message Option 53, length 1: Request<br>            Server-ID Option 54, length 4:
 10.0.0.1<br>            Requested-IP Option 50, length 4: 10.0.0.248<br>            Parameter-Request Option 55, length 7:<br>              Subnet-Mask, BR, Time-Zone, Default-Gateway<br>              Domain-Name, Domain-Name-Server, Hostname<br>            Vendor-Class Option 60, length 29: "SymbolWS.RFS6000-4.1.0.0-042R"<br>            END Option 255, length 0<br>            PAD Option 0, length 0, occurs 4<br>11:13:52.002520 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 10.0.0.1.bootps > 10.0.0.248.bootpc: [udp sum
 ok] BOOTP/DHCP, Reply, length 300, xid 0x340d5ae9, secs 47, Flags [none] (0x0000)<br>          Your-IP 10.0.0.248<br>          Server-IP 10.0.0.1<br>          Client-Ethernet-Address 00:15:70:d9:85:06 (oui Unknown)<br>          Vendor-rfc1048 Extensions<br>            Magic Cookie 0x63825363<br>            DHCP-Message Option 53, length 1: ACK<br>            Server-ID Option 54, length 4: 10.0.0.1<br>            Lease-Time Option 51, length 4: 21600<br>            Subnet-Mask Option 1, length 4:
 255.255.0.0<br>            BR Option 28, length 4: 10.0.255.255<br>            Default-Gateway Option 3, length 4: 10.0.0.1<br>            Domain-Name-Server Option 6, length 4: 10.0.0.1<br>            END Option 255, length 0<br>            PAD Option 0, length 0, occurs 20<br><br><br>Thanks for your help,<br>Graham.<br><br><br>------------------------------<br><br>_______________________________________________<br>dhcp-users mailing list<br><a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users"
 target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br>End of dhcp-users Digest, Vol 14, Issue 23<br>******************************************<br></div></div>
<!-- cg19.c1.mail.mud.yahoo.com compressed/chunked Wed Dec 23 02:12:09 PST 2009 -->
</div><br>



      </body></html>