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

Conference decwet::windows-nt

Title:Windows NT
Notice:See note 15.0 for HCL location
Moderator:TARKIN::LIN.com::FOLEY
Created:Thu Oct 31 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6086
Total number of notes:31449

6004.0. "ROUTE ADD on reboot ?" by RDGENG::ABRAM (John Abram) Wed May 14 1997 11:48

    I have browsed the NT docs and technet but can't seem to find the
    answer to what appears to be a trivial operation - can anybody help ?
    
    My customer is building a network of Intel WinNT Servers in which
    several servers communicate over what is termed a "public" LAN and a
    "private" LAN ie each server has two network interface cards connecting
    to different LANs. The traffic on these two LANs are supposed to be
    completely separate and the individual servers are not to route between
    the two LANs. Each of these LANs then connects across a WAN to similar
    LANs at a second site via routers.
    
    Therefore, we have set up one interface card with a default gateway for
    the public LAN network and plan to use 
    
    	"ROUTE ADD ...." 
    
    entries to let the servers know the location of the gateway for the
    private LAN.
    
    My question is how do I get the servers to issue the "ROUTE ADD "
    commands on powerup/reboot so that the routes are available all the
    time ?
    
    In DOS I would have just added them to the AUTOEXEC.BAT but I can't
    seem to find the equivalent in NT, presumably being a multi-user
    system. Is there such a thing as a system startup file ?
    
    The servers are a mixture of NT V4.0 and NT V3.51 (although the
    customer is upgrading the V3.51 to V4.0 over the next couple of
    months).
    
    Any help on both the ROUTE ADD issue and the more general point about
    how to get system wide features enabled on reboots would be much
    appreciated
    
    Thanks
    
    John
T.RTitleUserPersonal
Name
DateLines
6004.1TECO::tecotoo.mro.dec.com::mayerDanny MayerWed May 14 1997 11:507
route -p add ...

see route /h for details.

  -p makes the route persistent across reboots.

		Danny