[windows2000] Re: Setting Default Route for a Dual NIC machine

  • From: "List Account" <list.account@xxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 5 Oct 2005 12:29:20 -0400

Glenn and Doug,
Thanks for your help guys! Removing the gateway from the 192.168.2.x NIC did
the trick. Sometimes the simple solution eludes...

Nathan Grandbois
Cerdant, Inc.
614.717.0123 ext. 26 

>-----Original Message-----
>From: windows2000-bounce@xxxxxxxxxxxxx 
>[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Jensen, Douglas
>Sent: Wednesday, October 05, 2005 11:54 AM
>To: windows2000@xxxxxxxxxxxxx
>Subject: [windows2000] Re: Setting Default Route for a Dual NIC machine
>
>
>Glenn is probably right that you do not need to add that route because
>the server will figure out automatically that the 192.168.2.whatever
>should go to the 192.168.2.10 interface. 
>
>The route add I listed was wrong anyway. Should have referenced the
>interface 192.168.2.10 and address to send traffic to as 192.168.2.1.
>
>Sorry
>Doug
>
>-----Original Message-----
>From: windows2000-bounce@xxxxxxxxxxxxx
>[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Jensen, Douglas
>Sent: Wednesday, October 05, 2005 10:50 AM
>To: windows2000@xxxxxxxxxxxxx
>Subject: [windows2000] Re: Setting Default Route for a Dual NIC machine
>
>You only want one default gateway defined so you would leave the NIC
>with the 192.168.2.1 address with a blank default gateway. Then your
>only default gateway is 192.168.111.9
>
>Then you do a route add for the subnet 192.168.2.0 and tell it which
>interface to use (192.168.111.12) and what address to send that traffic
>to (192.168.111.9).
>
>Doug
>
>
>
>-----Original Message-----
>From: windows2000-bounce@xxxxxxxxxxxxx
>[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of List Account
>Sent: Wednesday, October 05, 2005 10:24 AM
>To: windows2000@xxxxxxxxxxxxx
>Subject: [windows2000] Setting Default Route for a Dual NIC machine
>
>Folks,
>
>DISCLAIMER: Forgive the long post...
>
>I'm running into an issue on my Windows 2000 (SP4) server 
>where internet
>traffic is being sent out the default gateway. Doesn't sound like a
>problem, but the default gateway is wrong. The machine has two NIC's,
>each belonging to a different internal network with different gateways.
>I need one of those networks to be the default route for all traffic,
>and the other used only for traffic destined to that specific network.
>
>Here's a copy of the routing table:
>
>C:\Documents and Settings\Administrator>route print
>===============================================================
>=========
>===
>Interface List
>0x1 ........................... MS TCP Loopback interface
>0x1000003 ...00 06 5b f1 c5 67 ...... Broadcom NetXtreme Gigabit
>Ethernet Driver
>
>0x1000004 ...00 06 5b f1 c5 66 ...... Broadcom NetXtreme Gigabit
>Ethernet Driver
>
>===============================================================
>=========
>===
>===============================================================
>=========
>===
>Active Routes:
>Network Destination        Netmask          Gateway       Interface
>Metric
>          0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.10
>1
>          0.0.0.0          0.0.0.0    192.168.111.9  192.168.111.12
>1
>        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1
>1
>      192.168.2.0    255.255.255.0     192.168.2.10    192.168.2.10
>1
>     192.168.2.10  255.255.255.255        127.0.0.1       127.0.0.1
>1
>    192.168.2.255  255.255.255.255     192.168.2.10    192.168.2.10
>1
>    192.168.111.0    255.255.255.0   192.168.111.12  192.168.111.12
>1
>   192.168.111.12  255.255.255.255        127.0.0.1       127.0.0.1
>1
>  192.168.111.255  255.255.255.255   192.168.111.12  192.168.111.12
>1
>        224.0.0.0        224.0.0.0     192.168.2.10    192.168.2.10
>1
>        224.0.0.0        224.0.0.0   192.168.111.12  192.168.111.12
>1
>  255.255.255.255  255.255.255.255     192.168.2.10    192.168.2.10
>1
>Default Gateway:       192.168.2.1
>===============================================================
>=========
>===
>Persistent Routes:
>  None
>
>The default gateway listed in the route table is 192.168.2.1, which is
>the default gateway of the 0x10000003 NIC. Here's the output 
>of ipconfig
>/all
>
>Windows 2000 IP Configuration
>
>        Host Name . . . . . . . . . . . . : vault_mirror
>        Primary DNS Suffix  . . . . . . . :
>        Node Type . . . . . . . . . . . . : Hybrid
>        IP Routing Enabled. . . . . . . . : No
>        WINS Proxy Enabled. . . . . . . . : No
>
>Ethernet adapter Broadcom NetXtreme Gigabit Ethernet Adapter
>-192.168.111.13:
>
>        Connection-specific DNS Suffix  . :
>        Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit
>Ethernet
>#2
>        Physical Address. . . . . . . . . : 00-06-5B-F1-C5-67
>        DHCP Enabled. . . . . . . . . . . : No
>        IP Address. . . . . . . . . . . . : 192.168.2.10
>        Subnet Mask . . . . . . . . . . . : 255.255.255.0
>        Default Gateway . . . . . . . . . : 192.168.2.1
>        DNS Servers . . . . . . . . . . . : x.x.x.x
>                                            x.x.x.x
>        Primary WINS Server . . . . . . . : x.x.x.x
>
>Ethernet adapter Broadcom NetXtreme Gigabit Ethernet Adapter
>-192.168.111.12:
>
>        Connection-specific DNS Suffix  . :
>        Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit
>Ethernet
>        Physical Address. . . . . . . . . : 00-06-5B-F1-C5-66
>        DHCP Enabled. . . . . . . . . . . : No
>        IP Address. . . . . . . . . . . . : 192.168.111.12
>        Subnet Mask . . . . . . . . . . . : 255.255.255.0
>        Default Gateway . . . . . . . . . : 192.168.111.9
>        DNS Servers . . . . . . . . . . . : x.x.x.x
>                                            x.x.x.x
>        Primary WINS Server . . . . . . . : x.x.x.x
>        NetBIOS over Tcpip. . . . . . . . : Disabled
>
>C:\Documents and Settings\Administrator>
>
>What I need to happen is the DEFAULT GATEWAY listed in the route table
>be the 192.168.111.9 address. How do I change this? I've looked through
>the registry keys located at
>HKLM\SYSTEM\CurrentControlSet\Services\Tcpip and found no 
>mention of how
>to change this. I've attempted to change the interface metric and
>gateway metric settings within the TCP/IP properties of the NIC's
>themselves, but this has no effect on the default gateway. I've
>attempted to change the last route listed (since it is the only route
>that is unique to a given address). The error it gives me when I try to
>add a duplicate route to the last one listed is "route: bad destination
>address 255.255.255.255.  I've read through the Windows 2000 TCP/IP
>implementation details and could not find the specifics on how 
>to change
>this. Is it simply a route I need to modify for this value to change?
>
>Is there a way to change this?
>
>Thanks!
>Nathan Grandbois
>Cerdant, Inc.
>614.717.0123 ext. 26 
>
>PS> If anything isn't clear, let me know and I'll be more detailed. 
>PPS> If I need to RTFM, please point out the FM.
>
>*****************************
>New Site from The Kenzig Group!
>Windows Vista Links, list options
>and info are available at:
>http://www.VistaPop.com
>*****************************
>To Unsubscribe, set digest or vacation
>mode or view archives use the below link.
>
>http://thethin.net/win2000list.cfm
>*****************************
>New Site from The Kenzig Group!
>Windows Vista Links, list options
>and info are available at:
>http://www.VistaPop.com
>*****************************
>To Unsubscribe, set digest or vacation
>mode or view archives use the below link.
>
>http://thethin.net/win2000list.cfm
>*****************************
>New Site from The Kenzig Group!
>Windows Vista Links, list options 
>and info are available at:
>http://www.VistaPop.com
>***************************** 
>To Unsubscribe, set digest or vacation
>mode or view archives use the below link.
>
>http://thethin.net/win2000list.cfm
>

*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options
and info are available at:
http://www.VistaPop.com
*****************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: