Re: Add route batch file

From: Phillip Windell (_at_.)
Date: 02/23/05


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.


Relevant Pages

  • Re: Second ISP
    ... make sure that the second ISP router does not have a better default ... All of this can be done with show ip route ... Does this require a routing ... but I would recommend a routing protocol. ...
    (comp.dcom.sys.cisco)
  • Re: [Full-disclosure] Packet sniffing help needed
    ... > When you say manipulating the routing tables, ... their table, they would accept a 'more specific' 1.2.3.0/24 route, which ... now-failed router, thus making sure that outages stay limited - so that ... > for one of those machines then arp poison the router ...
    (Full-Disclosure)
  • Re: Routing Problem on OpenServer 5.0.6
    ... > I have one big problem with routing. ... > OSR506A route table: ... server to the network 129.12.130.0. ... router at 192.168.10.254 and need know nothing more about the route it takes. ...
    (comp.unix.sco.misc)
  • Re: Win2k3 LAN Routing Questions
    ... all you need to do is enable IP routing on the router. ... If there was no other network involved, you simply make the router the ... pretty straight forward as long as you can add a route to your NAT router. ... This is important because this router needs to know where your new subnet is ...
    (microsoft.public.windows.server.networking)
  • CISCO 2600 - routing problem
    ... I have Internet access from both the router and the host with static ... but with static route over cable modem: ... I can ping Internet only from router not from ...
    (comp.dcom.sys.cisco)