Dear all,

If multiple NICs set different gateways as the default routing, how does
tcpip.sys choose the interface to send packet if the destination IP is
outsides? For example, the routing table is:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1
192.168.1.101 20
0.0.0.0 0.0.0.0 192.169.1.1
192.169.1.101 20

Can I control the Windows to send packet always through the specified
interface, such as 192.168.1.101, even through I reset other interfaces.

Thanks!

-Liang

Re: The priority of routing table in Windows? by Maxim

Maxim
Mon Sep 05 13:35:08 CDT 2005

"Metric" is priority.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Liang Chen" <LiangChen@discussions.microsoft.com> wrote in message
news:75EE9DCC-E0E4-4659-9423-DEADCA6BE96F@microsoft.com...
> Dear all,
>
> If multiple NICs set different gateways as the default routing, how does
> tcpip.sys choose the interface to send packet if the destination IP is
> outsides? For example, the routing table is:
> Network Destination Netmask Gateway Interface Metric
> 0.0.0.0 0.0.0.0 192.168.1.1
> 192.168.1.101 20
> 0.0.0.0 0.0.0.0 192.169.1.1
> 192.169.1.101 20
>
> Can I control the Windows to send packet always through the specified
> interface, such as 192.168.1.101, even through I reset other interfaces.
>
> Thanks!
>
> -Liang



Re: The priority of routing table in Windows? by LiangChen

LiangChen
Mon Sep 05 20:36:12 CDT 2005

I got it. Thank you very much.

"Maxim S. Shatskih" wrote:

> "Metric" is priority.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "Liang Chen" <LiangChen@discussions.microsoft.com> wrote in message
> news:75EE9DCC-E0E4-4659-9423-DEADCA6BE96F@microsoft.com...
> > Dear all,
> >
> > If multiple NICs set different gateways as the default routing, how does
> > tcpip.sys choose the interface to send packet if the destination IP is
> > outsides? For example, the routing table is:
> > Network Destination Netmask Gateway Interface Metric
> > 0.0.0.0 0.0.0.0 192.168.1.1
> > 192.168.1.101 20
> > 0.0.0.0 0.0.0.0 192.169.1.1
> > 192.169.1.101 20
> >
> > Can I control the Windows to send packet always through the specified
> > interface, such as 192.168.1.101, even through I reset other interfaces.
> >
> > Thanks!
> >
> > -Liang
>
>
>

Re: The priority of routing table in Windows? by Arkady

Arkady
Tue Sep 06 03:42:09 CDT 2005

JFYI http://support.microsoft.com/default.aspx?scid=kb;en-us;299540
Arkady

"Liang Chen" <LiangChen@discussions.microsoft.com> wrote in message
news:CA570ED2-E3C5-4FE1-9696-E6C199054C22@microsoft.com...
>I got it. Thank you very much.
>
> "Maxim S. Shatskih" wrote:
>
>> "Metric" is priority.
>>
>> --
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim@storagecraft.com
>> http://www.storagecraft.com
>>
>> "Liang Chen" <LiangChen@discussions.microsoft.com> wrote in message
>> news:75EE9DCC-E0E4-4659-9423-DEADCA6BE96F@microsoft.com...
>> > Dear all,
>> >
>> > If multiple NICs set different gateways as the default routing, how
>> > does
>> > tcpip.sys choose the interface to send packet if the destination IP is
>> > outsides? For example, the routing table is:
>> > Network Destination Netmask Gateway Interface
>> > Metric
>> > 0.0.0.0 0.0.0.0 192.168.1.1
>> > 192.168.1.101 20
>> > 0.0.0.0 0.0.0.0 192.169.1.1
>> > 192.169.1.101 20
>> >
>> > Can I control the Windows to send packet always through the specified
>> > interface, such as 192.168.1.101, even through I reset other
>> > interfaces.
>> >
>> > Thanks!
>> >
>> > -Liang
>>
>>
>>