LRN Dips to Another Network

In order to be able to point to a network for LRN dips, you must navigate to the OSPrey_HOME directory and edit 2 files, and then restart OSPrey.

  • Go to $OSPrey_HOME
   [ospadmin@clifford ~]$ cd $OSPrey_HOME
   [ospadmin@clifford ospnexus]$ pwd
   /home/ospadmin/OSP/OSPreyPackage/ospnexus
   [ospadmin@clifford ospnexus]$
  • Edit the inter_osp_config.sh file. Change the original SERVER_PUBLIC_IP_ADDRESS line to include the IP address of the LRN OSPrey system.
   [ospadmin@clifford ospnexus]$ vi inter_osp_config.sh
   ~
   #SERVER_PUBLIC_IP_ADDRESS="`hostname`.`domainname`"
   SERVER_PUBLIC_IP_ADDRESS="209.40.255.10"
   export SERVER_PUBLIC_IP_ADDRESS
  • Edit the osp_npd_config.sh file. Change OSP_NPD_IsEnable=false to true. Include the IP address of the OSPrey(s) in the OSP_NPD_SPx_URI= line(s).
   [ospadmin@clifford ospnexus]$ vi osp_npd_config.sh
   #!/bin/sh
   
   #
   # By default OSPrey will not attempt to send OSP NPD Request
   #
   # To enable the module, set the 'IsEnabled' flag to true and
   # configure at least the first (SP1) service point.
   #
    
   #export OSP_NPD_IsEnabled=false
   export OSP_NPD_IsEnabled=true
   export OSP_NPD_SP1_URI=http://72.44.200.119:1080/osp
   export OSP_NPD_SP2_URI=http://72.44.200.120:1080/osp
   export OSP_NPD_ResponseTimeOutInMS=500
  • Restart OSPrey.
   [ospadmin@clifford ospnexus]$ ./stop_osp_server.sh
   [ospadmin@clifford ospnexus]$ ./start_osp_server.sh