SLP Directory Agent (DA) advertises the wrong IP address

  • 7006290
  • 16-Jun-2010
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 11

Situation

SLP DA advertises the wrong or a strange IP address
Agent URL has the wrong or a strange IP address
slptool findsrvs service: shows the wrong or a strange IP address for the DA

Resolution

Modify /etc/hosts so that the short name for the server is associated with the desired IP address and only associated with that IP.

Additional Information

net.slp.interfaces in /etc/slp.conf specifies which IP addresses the Directory Agent (DA) will listen on, and the DA will respond using this IP address.  That response includes the Agent URL, which is the IP that the Service Agents (SA) and User Agents (UA) will uses to make further requests to the DA.  net.slp.interfaces does not affect the Agent URL.  The Agent URL is based on the short name for the server, so the short name must resolve to the correct IP.