Article

cyberv's picture
article
Reads:

11424

Score:
0
0
 
Comments:

1

Configure SLP DA and DHCP to Send to Option 78, 79 on OES Linux

Author Info

3 January 2007 - 9:30am
Submitted by: cyberv

(View Disclaimer)

by Eric Champagne

Problem:

SLP DA + DHCP OPTION 78, 79 FOR OES LINUX

This tip will help you to configure SLP DA and DHCP to send to option 78 and 79 on OES Linux.

Solution:

  1. Configure SLP DA on your OES Linux.
  2. Edit: /etc/slp.conf

    Add this to slp.conf ( This is an example )

    net.slp.useScopes = DEFAULT
    net.slp.DAAddresses = 192.168.1.1 
    net.slp.isDA = true
    net.slp.isBroadcastOnly = false

  3. Configure DHCP with SLP OPTIONS
  4. Edit: /etc/dhcpd.conf

    Add this to dhcpd.conf ( This is an example )

    option nds-servers 192.168.1.1;
    option slp-directory-agent true 192.168.1.1;
    option slp-service-scope true "DEFAULT";
    option netbios-node-type 8;
    option domain-name "adaris.ca";
    option domain-name-servers 192.168.1.1;
    option routers 192.168.1.254;
    authoritative;
    ddns-update-style none;
    default-lease-time 604800;
    subnet 192.168.1.0 netmask {
      range 192.168.1.50 192.168.1.100;
      default-lease-time 6040800;
    }

    Restart both services

    /etc/init.d/slpd restart
    /etc/init.d/dhcpd restart

Testing:

Reboot your Windows machine, open a DOS Windows ( CMD ) and then type SLPINFO /D to verify if your workstation get to good information regarding the DA by DHCP.

You should see something like:

192.168.1.1   DHCP   UP   SLPV1  DEFAULT

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

nlandas's picture

What about OES2 SP2 - I think SLP options are more native now.

Submitted by nlandas on 22 June 2010 - 5:47am.

This was a great write up that I had bookmarked thinking that I'd need it. I just did a migration from my Netware DHCP over to Novell DHCP on OES2 SP2. I won't say that there weren't a lot of problems with the conversion but this wasn't one of them. The process copied over the option 78 and 79 that I had set on the subnets.

After I deleted the leases file the docs said to copy over, made the server authoritative and removed the subnet that corresponded to the actual subnet of the server(which is a secondary subnet for us with no pool), then bound another IP for the subnet I wanted to have pooled. It started handing out IPs and SLPINFO confirms that the correct SLP options are handed out.

Finally, I had to add option 15 so it would automatically hand out the DNS suffix.

While I'm amazed at how complicated DHCP is on Linux compared to Netware, even with a wizard to help port settings over, it does seem to now hand out SLP optons if you specify them in iManager or the JAVA console under the new Novell DHCP for OES2 SP2.

What is it with Linux that developers seem to think that with power has to come complexity? I hope Novell doesn't let this mindset become endemic and keeps working to make management of Linux OES as easy as Netware has been.

© 2013 Novell