News: This forum is now permanently frozen.
Pages: [1]
Topic: DHCP OPTION 66  (Read 2352 times)
« on: December 15, 2007, 20:41:58 »
gtcnet *
Posts: 5

I would like to add a DHCP option to contact a boot server on the lan.  I know it's mentioned that this can be done via the xml file and was suggested to review the faq on the hidden xml file but I cant seem to see where to place the option.  Can someone offer a suggestion as to where to place the option in the xml file?

thanks
« Reply #1 on: December 17, 2007, 18:14:40 »
phillip1983 **
Posts: 64

Hi,

you have to go in to the config of your m0n0wall and download/back up the config and using notepad or an xml reader like XML Marker look for:-

Code:
<dhcpd>
<lan>
<enable/>
<range>
<from>192.168.1.20</from>
<to>192.168.1.245</to>
</range>
<next-server>192.168.1.5</next-server>
<staticmap>
<mac>00:00:00:00:00:00</mac>
<ipaddr>192.168.1.55</ipaddr>
<descr>Someserver</descr>


you have to add :-
Code:
<next-server>(BOOT SERVER IP / TFTP IP HERE)</next-server>

hope this helps, any more help please email or post

...




« Reply #2 on: December 22, 2007, 20:55:24 »
gtcnet *
Posts: 5

Thanks for the reply.  I would like to pass option 66 and option 150 to a url or ip address. is there a specific format or place to put it?  What happens when changes are made through the web screens, with this get changed?  Thanks

« Reply #3 on: December 23, 2007, 13:43:12 »
phillip1983 **
Posts: 64

hi, if you look at the XML back up file you will see the DHCP tag if you enter in the server where i placed next server it should work.
« Reply #4 on: January 05, 2008, 08:13:31 »
gtcnet *
Posts: 5

I've placed it here but it dosent see to be working.  i see no connection attempt a the the FTP server as next server. This boot server is an external server.

<dhcpd>
      <lan>
         <enable/>
         <range>
            <from>192.168.1.100</from>
            <to>192.168.1.199</to>
         </range>
         <next-server>207.xx.xx.xx</next-server>
      </lan>
   </dhcpd>
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines