Re: The priority of routing table in Windows?



"Metric" is priority.

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

"Liang Chen" <LiangChen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:75EE9DCC-E0E4-4659-9423-DEADCA6BE96F@xxxxxxxxxxxxxxxx
> 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


.



Relevant Pages

  • intervlan routing and policy routing C3750 or C 4948
    ... routing) and for some vlans i need different gateways. ... interface Vlan10 ... route-map, 2) routing table. ... the packet will be routed according to the routing table (standard IOS ...
    (comp.dcom.sys.cisco)
  • Re: NAT implementation in an IM driver
    ... and then deliver the packet to the IP stack. ... The IP routing from TCP/IP ... Internet providers) Windows will route the packet only on one interface, ...
    (microsoft.public.development.device.drivers)
  • Re: The priority of routing table in Windows?
    ... > Maxim Shatskih, Windows DDK MVP ... >> tcpip.sys choose the interface to send packet if the destination IP is ... >> interface, such as 192.168.1.101, even through I reset other interfaces. ...
    (microsoft.public.development.device.drivers)
  • Re: The priority of routing table in Windows?
    ... >> Maxim Shatskih, Windows DDK MVP ... >> StorageCraft Corporation ... >>> tcpip.sys choose the interface to send packet if the destination IP is ...
    (microsoft.public.development.device.drivers)
  • Re: [2.4 PATCH] bugfix: ARP respond on all devices
    ... > interface with a foreign IP as source, ... When we're routing, we'll use an interface address of ... the source address in the outgoing packet is local to ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)