Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Two network interfaces, one route to the internet

I have two network cards in a Windows 2000 Server machine.  The first is connected to the internet, and is correctly configured (gateway, subnet, etc.).  The second is connected via a crossover cable to another machine, 192.168.0.2.

Occasionally it seems the routing tables get screwed up and the machine can't determine the correct path to the internet.  Temporarily disabling the 192.168.0.* interface corrects the problem.

Does anyone have any suggestions?  I'd post the output of 'route print' but it wouldn't be of any use, routing is fine right now.

Here is the output of ipconfig:

Windows 2000 IP Configuration

Ethernet adapter Broadcom NetXtreme Gigabit Ethernet Adapter - Onboard:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.0.3
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.2

Ethernet adapter Intel Fast Ethernet LAN Controller - Onboard:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : x.x.x.x
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : x.x.x.x

Thanks,

Cay
0
caylt
Asked:
caylt
1 Solution
 
Chris DentPowerShell DeveloperCommented:

Default Gateway is defined as the Route to 0.0.0.0, by having a Default Gateway on both adapters you are giving it two different routes to 0.0.0.0. Of course only one of those routes is valid... So, remove:

Default Gateway . . . . . . . . . : 192.168.0.2

And it should all work quite happily. 192.168.0.0 is a directly connected network and doesn't require a gateway or anything like that.

Hope that makes sense to you.
0
 
cayltAuthor Commented:
That makes perfect sense, thanks Chris.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now