dhcp_option in bootpd.plist

View: New views
2 Messages — Rating Filter:   Alert me  

dhcp_option in bootpd.plist

by jean francois :: Rate this Message:

| View Threaded | Show Only this Message

Hello Everyone,

Was anyone successful to get any dhcp_option working? (other than the
one set by SA), it should be possible reading the man page, but I had no
luck whatsoever this far

I have found a couple links  but they differ in opinion

http://discussions.apple.com/thread.jspa?messageID=9027746
- this site say it would work (it did not)

http://www.afp548.com/forum/viewtopic.php?forum=18&showtopic=21664
- this site say it's broken

but there are no error message, and I cannot see them using "ipconfig
getpacket en0" should I be using something else
* looking in the transaction log of SA, I can see the option just like
in the plist


I have  try both  key by name (man page)

                        <key>dhcp_network_time_protocol_servers</key>

                        <key>dhcp_option_42</key>  
                        <array>
                                <string>192.168.10.10</string>
                                <string>192.168.20.10</string>
                        </array>

 

those are the options I was looking to offer
option    nis-domain
option    netbios-node-type
option    netbios-name-servers
option    ntp-servers
option    time-servers



Thanking you in advance for your insight

regards

--
Francois Brochu
System Administrator / IT Team Leader
Electrical & Computer Engineering
University of Alberta


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (Macos-x-server@...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/lists%40nabble.com

This email sent to lists@...

Re: dhcp_option in bootpd.plist

by Olivier DUCROT-2 :: Rate this Message:

| View Threaded | Show Only this Message

Yes
I successfuly used the dhcp_proxy_auto_discovery_url.
Logs are note very usefull, even in debug mode.

It's very important to figure out where you have to put the option in the
config file. As the man page say, there are three main sections...
Don't forget to restart bootpd after changing the /etc/bootpd.plist

I noticed that when the config file is not as it should be, when starting
bootpd with serveradmin, it copies the /etc/bootpd.plist file in
/etc/bootpd.plist-corrupted.

--
Server act as NATd service from 10.0.1.248 to 192.168.16/20
And as authentified proxy cache server

>From my config :

        <dict>
            <key>allocate</key>
            <true/>
            <key>dhcp_domain_name</key>
            <string>easymac.fr</string>
            <key>dhcp_domain_name_server</key>
            <array>
                <string>10.0.1.254</string>
            </array>
            <key>dhcp_proxy_auto_discovery_url</key>
            <string>http://192.168.16.1/proxy.pac</string>
            <key>dhcp_router</key>
            <string>192.168.16.1</string>
            <key>lease_max</key>
            <integer>3600</integer>
            <key>lease_min</key>
            <integer>3600</integer>
            <key>name</key>
            <string>192.168.16/20 Ethernet 2</string>
            <key>net_address</key>
            <string>192.168.16.0</string>
            <key>net_mask</key>
            <string>255.255.240.0</string>
            <key>net_range</key>
            <array>
                <string>192.168.16.2</string>
                <string>192.168.31.253</string>
            </array>
            <key>selected_port_name</key>
            <string>en1</string>
            <key>uuid</key>
            <string>6BFA4193-E497-48DE-83B6-2ACBA0AEF00E</string>
        </dict>

My proxy.pac file contains :

function FindProxyForURL(url, host) {
return "PROXY 10.0.1.248:3143; DIRECT";
}



le 16/10/09 00:40, jean francois brochu à francois@... a écrit :

> Hello Everyone,
>
> Was anyone successful to get any dhcp_option working? (other than the
> one set by SA), it should be possible reading the man page, but I had no
> luck whatsoever this far
>
> I have found a couple links  but they differ in opinion
>
> http://discussions.apple.com/thread.jspa?messageID=9027746
> - this site say it would work (it did not)
>
> http://www.afp548.com/forum/viewtopic.php?forum=18&showtopic=21664
> - this site say it's broken
>
> but there are no error message, and I cannot see them using "ipconfig
> getpacket en0" should I be using something else
> * looking in the transaction log of SA, I can see the option just like
> in the plist
>
>
> I have  try both  key by name (man page)
>
>                         <key>dhcp_network_time_protocol_servers</key>
>
>                         <key>dhcp_option_42</key>
>                         <array>
>                                 <string>192.168.10.10</string>
>                                 <string>192.168.20.10</string>
>                         </array>
>
>  
>
> those are the options I was looking to offer
> option    nis-domain
> option    netbios-node-type
> option    netbios-name-servers
> option    ntp-servers
> option    time-servers
>
>
>
> Thanking you in advance for your insight
>
> regards

La théorie, c¹est quand on sait tout mais que rien ne marche
La pratique, c¹est quand tout marche mais qu¹on ne sait pas pas pourquoi
Et l¹informatique, c¹est l¹union de la théorie et de la pratique : rien ne
marche et on sait pas pourquoi

         _________________________________________________________
         |                                                       |  
         |                                                       |  
      / )|                    Olivier DUCROT                     |( \
     / / |               ACSP, ACTC & ACSA 10.5                  | \ \
   _( (_ |                                                       | _) )_
  (((\ \>|_/->_______________________________________________<-\_|</ /)))
  (\\\\ \_/ /                                                 \ \_/ ////)
   \       /                                                   \       /
    \    _/                -----====+====------                 \_    /
    /   /                                                        \   \  
 



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (Macos-x-server@...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/lists%40nabble.com

This email sent to lists@...