On internal routing on my desktop i had 2 gateways. Ive 2 nics with a diff subnet. After I did some changes to one, the other went away. I cant get it back to having 2 of them there.Im afraid if the main connection dies, Ill have no traffic outbound for a bit cept for static routes and local traffic. Any ideas to fix this?
8/9/2009 1:47:46 PM
what OS? and what do you mean by the other "went away"? the other what? subnet, gateway, network card?
8/9/2009 3:04:15 PM
SorryVistagateway/route
8/9/2009 10:40:39 PM
route -p add 10.0.0.0 mask 255.0.0.0 gateway 10.0.0.1 metric 1 if 2Or am I missing something? So long as you specify the interface, should (and I say should) not affect the other network card
8/10/2009 7:32:13 AM
Did add route work?
8/10/2009 9:39:23 AM
perlith, apologies, default gateway so:route add 0.0.0.0 mask 0.0.0.0 gateway x.y.z.q I need 2 of those, with diff metrics, and it only lets me have one on at a time. itll let me do other routes fine, which i have done. static routs as well. now... i havnt tried, should i set both as static default gateways? i dont think i have done that, nor do i really want both static, i can do one, but i want that to be the back up anyway. primary needs to be dynamic
8/10/2009 10:50:12 PM
can you not just go under properties for the network adapter, tcp/ip, advanced settings and add gateways/metrics? still not really sure what you're trying to do, though.
8/11/2009 11:16:29 AM
fuck i forgot about that. not sure if itll work but ill play around with it. Im too used to messing wtih cisco stuff and not windows routing
8/11/2009 11:25:42 PM
8/12/2009 9:51:57 PM
Got it done last night with a static and a temp. I may do like you say perlith and do 2 statics. The backup I know wont change, the primary i expect will. Didnt have to use the interface extras as it knows the gateways are on same subnet and so automatically adjusts for that. This is actaully pretty complex as I needed certain traffic to always go to the secondary network (its an internal lan, mostly management traffic. Primary is direct to campus network. So right now theres a few more routes I put in but the default gateway stuff wasnt going how I wanted. Im too used to routing tables on cisco stuff. Now to figure out why my management traffic is not getting passed across vlans and instead is going out the router to the world... Yay cisco routing. This should be an easy fix for me though. Thanks all!
8/13/2009 12:21:31 PM