Author Topic: windows routing problem  (Read 684 times)

windows routing problem
on: November 23, 2006, 18:43:23 PM
Im running dual boot WinXP and Ubuntu 6.1, with two network cards. One card goes to my college network, the other to my personal file server and laptop when its plugged in.

The second connection has no route to the internet.

Under Linux I have simply removed the entry in the routing table which trys to use eth1 for internet traffic and all is well.

Under windows I cant figure out how to do this and it keeps switching between adaptors. This causes the internet to only work ~50% of the time, which is very frustrating.

 Does anyone know how to tell WinXP Pro that it is not to use one of its available ethernet cards for internet traffic without disabling that card completely?

windows routing problem
Reply #1 on: November 23, 2006, 19:02:12 PM
Do both cards have a default gateway specified by any chance? Only the card with the internet connection should have a default gateway assigned.

  • Offline madmax

  • Posts: 782
  • Hero Member
Re:windows routing problem
Reply #2 on: November 23, 2006, 22:44:00 PM
as DeltaZeros  mentioned, default route needs to be emtpy on the non internet adapter.

if it is, then run cmd from the start > run

then type route print
that will show you the routing table windows is using,
if theres an entry for 0.0.0.0 on both ips youve got, remove it from the non internet one and all should be well.

route del is the command but i cant remember the syntax from memory, just type in route and itll spit out the help documentation

Re:windows routing problem
Reply #3 on: November 23, 2006, 23:01:10 PM
yeah I figured thats what I need to do (same as under linux) but its the syntax I cant figure out. Thanks for the pointers

windows routing problem
Reply #4 on: November 24, 2006, 14:09:34 PM
ROUTE DELETE 0.0.0.0 IF x

Where X is the number of the interface from which you want to remove the route.

0 Members and 1 Guest are viewing this topic.