System Administration Guide: Network Services

ProcedureHow to Configure the net.slp.interfaces Property

Use the following procedure to change the net.slp.interfaces property in the slp.conf file.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Stop slpd and all SLP activity on the host.


    # svcadm disable network/slp
    
  3. Back up the default /etc/inet/slp.conf file before you change the configuration settings.

  4. Change the net.slp.interfaces property in the slpd.conf file:


    net.slp.interfaces=value
    
    value

    List of IPv4 addresses or host names of the network interface cards on which the DA or SA should listen for multicast, unicast UDP, and TCP messages on port 427

    For example, a server with three network cards and multicast routing that is turned off is connected to three subnets. The IP addresses of the three network interfaces are 192.147.142.42, 192.147.143.42, and 192.147.144.42. The subnet mask is 255.255.255.0. The following property setting causes slpd to listen on all three interfaces for unicast and multicast/broadcast messaging:


    net.slp.interfaces=192.147.142.42,192.147.143.42,192.147.144.42

    Note –

    You can specify IP addresses or resolvable host names for the net.slp.interfaces property.


  5. Save your changes and close the file.

  6. Restart slpd to activate your changes.


    # svcadm enable network/slp