Networking Forums

Networking Forums > Computer Networking > Windows Networking > Route Command

Reply
Thread Tools Display Modes

Route Command

 
 
Pete
Guest
Posts: n/a

 
      04-11-2004, 03:31 AM
Hi,

Using Route to add Multiple Gateways, in command
console are you supplying an machine IP address and
gateway Ip address each time you enter a new route as so:

C:\>route add 10.0.0.75 mask 0.0.0.0 192.168.12.1

C:\>route add 10.0.0.75 mask 0.0.0.0 192.168.12.2

So in this example I have the machine IP address set for
10.0.0.75 with two default gateways. Is this correct in
setting up Multiple gateways? and the metric I am
gathering if used gives like a more priority of one
gateway over another,correct?

Thanks,

Pete

 
Reply With Quote
 
 
 
 
Laura E. Hunter [MVP]
Guest
Posts: n/a

 
      04-11-2004, 12:38 PM
Pete,

You are mostly correct here - the "metric" option will assign a preference
to the gateway to determine which one is used; the lower the number, the
higher its priority. (If the metric is not explicitly assigned, it will be
given a metric of 1.) You also need to add the "-p" command to make the
route persistent, or else the route will be removed from memory whenever the
server is rebooted. See
http://www.microsoft.com/windows2000...taticRoute.htm
for more information.

Hope this helps,

Laura


--
************************************
Laura E. Hunter - MCSE, MVP
Replies to newsgroup only

"Pete" <(E-Mail Removed)> wrote in message
news:1afb501c41f75$749f2d00$(E-Mail Removed)...
> Hi,
>
> Using Route to add Multiple Gateways, in command
> console are you supplying an machine IP address and
> gateway Ip address each time you enter a new route as so:
>
> C:\>route add 10.0.0.75 mask 0.0.0.0 192.168.12.1
>
> C:\>route add 10.0.0.75 mask 0.0.0.0 192.168.12.2
>
> So in this example I have the machine IP address set for
> 10.0.0.75 with two default gateways. Is this correct in
> setting up Multiple gateways? and the metric I am
> gathering if used gives like a more priority of one
> gateway over another,correct?
>
> Thanks,
>
> Pete
>



 
Reply With Quote
 
Dusty Harper {MS}
Guest
Posts: n/a

 
      04-12-2004, 05:25 AM
There is only 1 problem with this. The default route is normally chosen
only once. This makes the second gateway unused. There is dead gateway
detection that would use the second default gateway, but it is only good for
TCP connections.

--
--
Dusty Harper
Microsoft Corporation
----------------------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
----------------------------------------------------------------------------

"Laura E. Hunter [MVP]" <hunter(nospamplease)@sfs.upenn.edu> wrote in
message news:(E-Mail Removed)...
> Pete,
>
> You are mostly correct here - the "metric" option will assign a preference
> to the gateway to determine which one is used; the lower the number, the
> higher its priority. (If the metric is not explicitly assigned, it will

be
> given a metric of 1.) You also need to add the "-p" command to make the
> route persistent, or else the route will be removed from memory whenever

the
> server is rebooted. See
>

http://www.microsoft.com/windows2000...taticRoute.htm
> for more information.
>
> Hope this helps,
>
> Laura
>
>
> --
> ************************************
> Laura E. Hunter - MCSE, MVP
> Replies to newsgroup only
>
> "Pete" <(E-Mail Removed)> wrote in message
> news:1afb501c41f75$749f2d00$(E-Mail Removed)...
> > Hi,
> >
> > Using Route to add Multiple Gateways, in command
> > console are you supplying an machine IP address and
> > gateway Ip address each time you enter a new route as so:
> >
> > C:\>route add 10.0.0.75 mask 0.0.0.0 192.168.12.1
> >
> > C:\>route add 10.0.0.75 mask 0.0.0.0 192.168.12.2
> >
> > So in this example I have the machine IP address set for
> > 10.0.0.75 with two default gateways. Is this correct in
> > setting up Multiple gateways? and the metric I am
> > gathering if used gives like a more priority of one
> > gateway over another,correct?
> >
> > Thanks,
> >
> > Pete
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Add a route command joe Windows Networking 2 11-14-2006 10:35 PM
Route-Command =?ISO-8859-15?Q?Heinrich_L=F6prich?= Linux Networking 3 08-29-2005 11:28 AM
Using the ROUTE command Peter Windows Networking 2 06-13-2004 11:57 PM
Using the ROUTE command Peter Windows Networking 2 06-13-2004 11:57 PM
ROUTE command =?iso-8859-1?Q?Utopic=AE?= Windows Networking 1 02-25-2004 02:09 PM



1 2 3 4 5 6 7 8 9 10 11