[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2799.0. "Problems w/IP autoconfig T1.2.7" by DUCAT2::FOUR62::LICAUSE (Al Licause (338-5661)) Mon Apr 20 1992 20:52

There are a few small syntax errors that cause an otherwise nice routine to
look a little shabby.

In MCC_IP_AUTOCONFIG.COM, subroutine ASK_COPY2, the third ECHO reads:

                  ^                      ^                        ^
    echo "        "your login directory, "''_MAP_FILE_DESTINATION'"."

I believe it should read:

    
    echo "        your login directory, ''_MAP_FILE_DESTINATION'."


In MCC_MAKECONFIG.COM, line 77, you've left out a quotation mark...line reads:

                                   ^
  write sys$output                  Configuration filename required".

I believe it should read:

   write sys$output                 "Configuration filename required".


Question....in MCC_MAKECONFIG.COM, routine get_gwy, why are you checking for
address 0.0.0.0?   In all of our systems which are on the Easynet, a
should route returns two addresses....that of 127.0.0.1 and the local host
address. 

Since it does not find 0.0.0.0, it fails.

I have substituted the string 127.0.0.1 for 0.0.0.0 and it proceeds.  I then
change the name of the gateway when I am asked to edit the rule file.

Hope this helps.

Al

T.RTitleUserPersonal
Name
DateLines
2799.1IP Autoconfiguration requires default gatewayTOOK::FIGWERUlla Figwer LKG2-2/T2 x226-7858Tue Apr 21 1992 19:2251
	Hello Al,

	Thanks for your comments.  We will fix the syntax errors you've
	noted.

	IP Autoconfiguration requires that a default gateway be defined at
	the host on which Autoconfiguration is being run.  (This is
	documented in the release notes for T1.2.7.)  The default gateway
	is specified using the address 0.0.0.0.


	The method for defining the default gateway is platform-dependent:

	o  On VMS:        

           The following command will show the default routers:

               UCX SHOW ROUT       

           The default gateway can be defined by issuing the
	   following command in UCX:
                
               UCX SET ROUTE/DEFAULT/GATEWAY=<your_local_ip_router>/perm
                
           The UCX installation procedure does not require you to set
           a default gateway.  Unless you have already set a default
           gateway, you will have to issue the above command in order
           for IP Autoconfiguration to work.

	o  On Ultrix:
                        
           The following command will will show you the routers on your
	   host: 

               netstat -r

           The default gateway can be defined by issuing the following
	   command:

               /usr/etc/route add default <your_local_ip_router> 1 


	If you define a default gateway, MCC_MAKECONFIG should work
	with the string "0.0.0.0".  We would rather you do this than
	modify the command procedure to look for "127.0.0.1".

	Thanks,

	Ulla
                                                       
2799.2Correction: Issue UCX SET ROUTE... without /PERMTOOK::FIGWERUlla Figwer LKG2-2/T2 x226-7858Thu Apr 23 1992 17:0717
    
    There is an error in the UCX SET ROUTE command in .1 (and in the
    release notes).  The command should be issued without the /PERM
    qualifier:
    
        UCX SET ROUTE/DEFAULT/GATEWAY=<your_local_ip_router>
    
    Currently IP Autoconfiguration looks for the default gateway
    in the dynamic (vs. static/permanent) database.
    
    We apologize for the error.
    
    Regards,
    
    Ulla
    
                                                   
2799.3Need both?TOOK::MINTZErik Mintz, DECmcc Development, dtn 226-5033Thu Apr 23 1992 19:465
But then what happens when you reboot?
Perhaps you need both commands?

-- Erik

2799.4Define gateway in *both* databases...TOOK::FIGWERUlla Figwer LKG2-2/T2 x226-7858Fri Apr 24 1992 18:1929
                      
    Yes Erik, you are quite right.  Thanks for pointing this out.
    
    I was thinking about the bottom line, and lost sight
    of the big picture.
    
    To recap:
    
    The command
    
        UCX SET ROUTE/DEFAULT/GATEWAY=<your_local_ip_router>/PERM
    
    is required to define the gateway in the permanent database,
    so that the definition will be persistent in the event that
    the system is rebooted.
    
    However, if the default gateway is not currently defined in
    the dynamic database, the command
    
        UCX SET ROUTE/DEFAULT/GATEWAY=<your_local_ip_router>
    
    is required in order for IP Autoconfiguration to operate properly
    without rebooting the system.
    
    The command UCX SHOW ROUTE will show what is defined in the
    dynamic database.  UCX SHOW ROUTE/PERM will show what is defined
    in the permanent database.
    
    Ulla