Adding static routes with netsh command

P

Patrick Flach

I try to enter static routes on a Windows 2000 Server SP4
with 13 interfaces, three of them are quad interfaces.
With MMC GUI there is no problem entering the 31 static
routes. But over the command line with e.g.
netsh routing ip add persistenroute dest=192.168.1.0
mask=255.255.255.0 name="Interface1" nhop=192.168.0.2
I can only enter one route per interface. When entering a
new route for 'Interface1', the route for 192.168.1.0 has
been deleted and only the new one is there.
(Remark: Using route -p add ... works perfectly. But MSFT
tells that using netsh is the better, because newer way to
enter routes. I have a MCSE/MCT in my team, but as one can
imagine, he only says that this behavior is curious)
Any ideas from non MCSEs?
Thanks,
Patrick
 
P

Ph0eniX

Try making the routes persistant using the "-p" switch. That should make
them show up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top