The dhcpd -t -cf /path/to/dhcpd.conf shows no error.<br><br>What does the next-server param do?<br><br><div class="gmail_quote">On Thu, Oct 22, 2009 at 5:33 PM, Jason Gerfen <span dir="ltr"><<a href="mailto:jason.gerfen@scl.utah.edu">jason.gerfen@scl.utah.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You forgot the 'next-server' param in the group config.<div class="im"><br>
<br>
Hugo Ferreira wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
By Jason's example, before trying others:<br>
<br>
group xpto {<br>
         filename "xpto";<br>
</blockquote></div>
next-server 192.168.1.1;<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
         host xpto1 { hardware ethernet 00:c0:c3:49:2b:57; }<br>
         host xpto2 { hardware ethernet 00:c0:c3:80:fc:32; }<br>
         host xpto3 { hardware ethernet 00:c0:c3:22:46:81; }<br>
       }<br>
<br>
shared-network Vlan1{<br>
   subnet 10.1.0.0 netmask 255.255.240.0 {<br>
   option routers 10.1.0.1;<br>
     option subnet-mask 255.255.240.0;<br>
   allow unknown-clients;<br>
   }<br>
<br>
<br>
   subnet 10.1.64.0 netmask 255.255.255.0 {<br>
   option routers 10.1.64.253;<br>
     option subnet-mask 255.255.255.0;<br>
     filename "DDI";<br>
     deny unknown-clients;<br>
   }<br>
}<br>
<br>
I guess this should work. Any suggestion or notice regarding this configuration?<br>
<br>
</blockquote></div>
Test it first: dhcpd -t -cf /path/to/dhcpd.conf<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<br>
On Thu, Oct 22, 2009 at 5:03 PM, Jason Gerfen <<a href="mailto:jason.gerfen@scl.utah.edu" target="_blank">jason.gerfen@scl.utah.edu</a> <mailto:<a href="mailto:jason.gerfen@scl.utah.edu" target="_blank">jason.gerfen@scl.utah.edu</a>>> wrote:<br>


<br>
    Yes. That example will work. And here are a couple of others. If<br>
    you ever question your configuration just test the dhcpd.conf like<br>
    this:<br>
<br>
    %> dhcpd -t -cf /path/to/dhcpd.conf<br>
<br>
    The examples to help you out<br>
<br>
    Static hosts in a group:<br>
    group {<br>
            filename "pxelinux.0";<br>
            next-server 192.168.1.2;<br>
<br>
            ## Static Hosts Assigned to PXE Group ##<br>
            host hostname1 {<br>
                 hardware ethernet 00:50:fc:c1:67:3a;<br>
                 fixed-address 192.168.1.3;<br>
            }<br>
            host hostname2 {<br>
                 hardware ethernet 00:16:76:b0:23:64;<br>
                 fixed-address 192.168.1.4;<br>
            }<br>
    }<br>
<br>
    A subnet definition with a scope and bootp options:<br>
    subnet 192.168.1.0 netmask 255.255.255.0 {<br>
       option domain-name-servers 192.168.1.25, 192.168.1.26;<br>
       option routers 192.168.1.1;<br>
       range 192.168.1.2 192.168.1.24;<br>
       filename "pxelinux.0";<br>
       next-server 192.168.1.26;<br>
       option ip-forwarding off;<br>
    }<br>
<br>
    A pool with bootp options:<br>
    pool {<br>
      option domain-name-servers 192.168.1.25, 192.168.1.26;<br>
      range 192.168.1.3 192.168.1.24;<br>
      filename "pxelinux.0";<br>
      next-server "192.168.1.26";<br>
      allow unknown-clients;<br>
    }<br>
<br>
    And the same pool assigned to a subnet:<br>
    subnet 192.168.1.0 netmask 255.255.255.0 {<br>
       option domain-name-servers 192.168.1.25, 192.168.1.26;<br>
       option routers 192.168.1.1;<br>
       option ip-forwarding off;<br>
      pool {<br>
          option domain-name-servers 192.168.1.25, 192.168.1.26;<br>
          range 192.168.1.3 192.168.1.24;<br>
          filename "pxelinux.0";<br>
          next-server "192.168.1.26";<br>
          allow unknown-clients;<br>
      }<br>
    }<br>
<br>
<br>
    Hugo Ferreira wrote:<br>
<br>
<br>
        Hi<br>
<br>
                 Wondering if i can do something like this:<br>
<br>
                 Group some MAC addresses, e.g., per company department, as in<br>
        man dhcpd.conf<br>
<br>
        group {<br>
<br>
                filename "Xncd19r";<br>
                next-server ncd-booter;<br>
<br>
                host ncd1 { hardware ethernet 0:c0:c3:49:2b:57; }<br>
                host ncd4 { hardware ethernet 0:c0:c3:80:fc:32; }<br>
                host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }<br>
<br>
              }<br>
<br>
                 And then assign this group to a subnet.<br>
<br>
        Something like<br>
<br>
                 subnet 1.1.1.1 255.255.255.0 {<br>
        range blablabla;<br>
        */allow group;/*<br>
        deny unknown-clients;<br>
        }<br>
<br>
                 Can’t find the right syntax for that allow group or allow from<br>
        group or something like that.<br>
<br>
                 1.       Is my idea possible?<br>
<br>
        2.       If so, can you help me finding the right syntax?<br>
<br>
                 Regards<br>
<br>
                 ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        dhcp-users mailing list<br></div></div>
        <a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a> <mailto:<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>><div class="im"><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>
    --     Jason Gerfen<br>
    Systems Administration/Web application development<br></div>
    <a href="mailto:jason.gerfen@scl.utah.edu" target="_blank">jason.gerfen@scl.utah.edu</a> <mailto:<a href="mailto:jason.gerfen@scl.utah.edu" target="_blank">jason.gerfen@scl.utah.edu</a>><div class="im"><br>
<br>
    Marriott Library<br>
    Lab Systems PC<br>
    295 South 1500 East<br>
    Salt Lake City, Utah 84112-0806<br>
    Ext 5-9810<br>
<br>
    _______________________________________________<br>
    dhcp-users mailing list<br></div>
    <a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a> <mailto:<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>><div class="im"><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>
-- <br>
Hugo Ferreira<br>
<?<br>
</div><a href="mailto:hugoferreira@gmail.com" target="_blank">hugoferreira@gmail.com</a> <mailto:<a href="mailto:hugoferreira@gmail.com" target="_blank">hugoferreira@gmail.com</a>><br>
?><div class="im"><br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">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>
</div></blockquote><div><div></div><div class="h5">
<br>
<br>
-- <br>
Jason Gerfen<br>
Systems Administration/Web application development<br>
<a href="mailto:jason.gerfen@scl.utah.edu" target="_blank">jason.gerfen@scl.utah.edu</a><br>
<br>
Marriott Library<br>
Lab Systems PC<br>
295 South 1500 East<br>
Salt Lake City, Utah 84112-0806<br>
Ext 5-9810<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Hugo Ferreira<br><?<br><a href="mailto:hugoferreira@gmail.com">hugoferreira@gmail.com</a><br>?><br>