Re: Add route batch file
From: Phillip Windell (_at_.)
Date: 02/23/05
- Next message: fripper: "Printer Sharing (XP & 2000)"
- Previous message: ljb: "Logging into server locally knocks other users off"
- In reply to: stephanie: "Add route batch file"
- Next in thread: Phillip Windell: "Re: Add route batch file"
- Reply: Phillip Windell: "Re: Add route batch file"
- Reply: stephanie: "Re: Add route batch file"
- Reply: Herb Martin: "Re: Add route batch file"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Feb 2005 13:51:21 -0600
Well, starting at the beginning,...using Host Routing (routes set at
indivudual host instead of a router) indicates a possible design issue.
Routing should be done only at the LAN's router,...individual hosts should
only have a Default Route to the LAN's router where additional decisions are
made from there. I know there are exceptions in some cases, but this is the
starting point,..the concept you should begin with. So why do you feel you
need to do it the way you are attempting to begin with? Let's start there.
As far as batch files,...batch files run from the top down and stop when
they hit the end. They do not repeat unless they are repeatedly "called"
over and over by and external process or there may be a few cases where
there is an improperly written "GoTo" or "Loop" written into it. So I
cannot really answer that one,..I have nothing to go on.
-- Phillip Windell [MCP, MVP, CCNA] www.wandtv.com "stephanie" <stephanie@discussions.microsoft.com> wrote in message news:E09CA2E9-C0D4-4928-90A7-D1F368101D43@microsoft.com... > My office needs a persistant route added to the routing table on all the > workstations. So we put the following in a batch file: > > route add 10.xxx.xx.xx mask 255.255.0.0 10.xxx.x.x -P > > The intention was to put it in a logon script or group policy. Execpt when > we run the batch file we get stuck in a loop as it runs the line over and > over. We've tried adding pause and exit commands with the same results. > Anyone have any tricks to avoid this or see a mistake on my part? > Thanks in advance for any thoughts.
- Next message: fripper: "Printer Sharing (XP & 2000)"
- Previous message: ljb: "Logging into server locally knocks other users off"
- In reply to: stephanie: "Add route batch file"
- Next in thread: Phillip Windell: "Re: Add route batch file"
- Reply: Phillip Windell: "Re: Add route batch file"
- Reply: stephanie: "Re: Add route batch file"
- Reply: Herb Martin: "Re: Add route batch file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|