How to delete the default route: 255.255.255.255 mask 255.255.255.255?

FreshPrince

Diamond Member
Dec 6, 2001
8,361
1
0
Is there anyway in windows 2000 server to delete the default route:

[255.255.255.255 mask 255.255.255.255 gw nic's ip address] ?

I have 2 nics installed and it all wants to go out using 1 nic. I want traffic to go out using the respective nics.

For example, if I setup two websites with:
nic1,website1 (10.10.200.1) and
nic2,website2 (10.10.200.2)

I want requests to website2 to go out from nic2. Right now, it all goes out nic1. If I do a route print, I see all the correct routes for the 2 nic cards except 255.255.255.255, which is only bound for 1 nic card. I tried adding another route, but it tells me that 255.255.255.255 is not a valid destination. I understand this is the broadcast address, but if I pull up website2, I can see the link activity on nic1 instead of nic2 :(

how do I fix this, or is it even possible in windows?

thx!

-FP
 

Garion

Platinum Member
Apr 23, 2001
2,331
7
81
That's not the default route - That's the broadcast address. I don't think you can delete it, it's tied to your IP. The default route is the note noted by 0.0.0.0 mask 0.0.0.0 and is usually the top entry in the route list of netstat -r.

- G
 

JustinLerner

Senior member
Mar 15, 2002
425
0
0

When using two NIC's with Windows, both NIC's should always be set to separate subnets or networks, otherwise broadcast and responses will always result from one NIC.

Two examples of how the IP addressing could occur:

website 1: 10.10.200.1 mask 255.255.255.252
website 2: 10.10.200.5 mask 255.255.255.252

OR
website 1: 10.10.201.1 mask 255.255.255.0
website 2: 10.10.202.1 mask 255.255.255.0


 

FreshPrince

Diamond Member
Dec 6, 2001
8,361
1
0
Originally posted by: JustinLerner
When using two NIC's with Windows, both NIC's should always be set to separate subnets or networks, otherwise broadcast and responses will always result from one NIC. Two examples of how the IP addressing could occur: website 1: 10.10.200.1 mask 255.255.255.252 website 2: 10.10.200.5 mask 255.255.255.252 OR website 1: 10.10.201.1 mask 255.255.255.0 website 2: 10.10.202.1 mask 255.255.255.0

so far I have it on example 1, and yes, I guess I should've phrased my question a little better. Right now, it does seem like all the response go our one card. Is there a way to force the comp respond from the right nic?
 

JustinLerner

Senior member
Mar 15, 2002
425
0
0
Make sure each NIC in separate subnets (or IP networks) as described above also have a Metric of 1 set on each IF. Also ensure that each NIC has the correct and same Gateway address set on the IF (must be manually set).

If that doesn't work, then using RRAS on the Server, enable the RIP type that can be set on your local routers internal (LAN) IF for providing routing info on the internal network (LAN) and enable RIP on your router for the internal IF. Don't enable RIP on your external IF except in passive/silent mode. If you know how, it's also possible to setup static routes on the router to the respective NIC addresses.