Cool Solutions

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



By:

January 3, 2007 9:30 am

Reads: 12641

Comments:1

Score:0

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.

    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
  2. Configure DHCP with SLP OPTIONS

    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
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. 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 it thoroughly before using it in a production environment.

1 Comment

  1. By:nlandas

    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.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Comment

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



By:

January 3, 2007 9:30 am

Reads: 7968

Comments:0

Score:0

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.

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

2. Configure DHCP with SLP OPTIONS

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
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. 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 it thoroughly before using it in a production environment.

Comment

RSS