Re: Configure 1 adapter with 2 Gateways

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pete (anonymous_at_discussions.microsoft.com)
Date: 04/10/04


Date: Sat, 10 Apr 2004 15:07:20 -0700

Hi Marty,

  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

>-----Original Message-----
>
>"Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in
message
>news:407b4da4.157779965@msnews.microsoft.com...
>> On Sat, 10 Apr 2004 11:05:26 -0700, "Pete"
>> <anonymous@discussions.microsoft.com> wrote:
>>
>> > I have read that you can configure 1 adapter with
two
>> >gateways.
>>
>> You've read wrong.
>>
>
>Even though it's rarely used, you can configure one
adapter with multiple
>gateways, each with its own cost metric.
>
>C:\>ipconfig.exe
>
>Windows IP Configuration
>
>Ethernet adapter Local Area Connection:
>
> Connection-specific DNS Suffix . : optimumx.com
> IP Address. . . . . . . . . . . . : 192.168.0.32
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 192.168.0.1
>
192.168.0.2
>
192.168.0.3
>
>C:\>route.exe print
>=========================================================
==================
>Interface List
>0x1 ........................... MS TCP Loopback interface
>0x2 ...00 0c 6e 6c 9f ec ...... Realtek RTL8139 Family
PCI Fast Ethernet
>NIC - P
>acket Scheduler Miniport
>=========================================================
==================
>=========================================================
==================
>Active Routes:
>Network Destination Netmask
Gateway Interface Metric
> 0.0.0.0 0.0.0.0 192.168.0.1
192.168.0.32 20
> 0.0.0.0 0.0.0.0 192.168.0.2
192.168.0.32 20
> 0.0.0.0 0.0.0.0 192.168.0.3
192.168.0.32 20
> 127.0.0.0 255.0.0.0
127.0.0.1 127.0.0.1 1
> 192.168.0.0 255.255.255.0 192.168.0.32
192.168.0.32 20
> 192.168.0.32 255.255.255.255
127.0.0.1 127.0.0.1 20
> 192.168.0.255 255.255.255.255 192.168.0.32
192.168.0.32 20
> 224.0.0.0 240.0.0.0 192.168.0.32
192.168.0.32 20
> 255.255.255.255 255.255.255.255 192.168.0.32
192.168.0.32 1
>Default Gateway: 192.168.0.1
>=========================================================
==================
>Persistent Routes:
> None
>
>
>
>.
>



Relevant Pages

  • Re: 2003 - multiple nics multiple subnets
    ... has either a direct route out of the private system or the route to some ... Default Gateways are only for "unspecified routes",.... ... All other destinations are "specified routes" and use Routing ... > We have currently a windows 2000 advanced server with 4 NICs each having ...
    (microsoft.public.windows.server.networking)
  • Re: adsl + cable multiple connection problem
    ... >> But when the ADSL connection fails, ... the whole multipath route. ... probably alive gateways). ... The benefit is only the proper routing for NAT connections over ...
    (comp.os.linux.networking)
  • Re: 2003 - multiple nics multiple subnets
    ... Brian ... > has either a direct route out of the private system or the route to some ... > places you don't own and don't have defined in a Routing Table,...such as ... > Table entries and don't use Default Gateways. ...
    (microsoft.public.windows.server.networking)
  • Re: SBS Firewall
    ... > gateways be 10.0.0.1, the hard firewall. ... > SO change routes in DHCP or manually GateWay the workstations? ... So I usually do the "single NIC, hardware firewall appliance" route ...
    (microsoft.public.windows.server.sbs)
  • Route Command
    ... Using Route to add Multiple Gateways, ... console are you supplying an machine IP address and ...
    (microsoft.public.windows.server.networking)