[sclug] OT: windows routes

Alex Butcher lug at assursys.co.uk
Thu Jun 22 18:55:52 UTC 2006


On Thu, 22 Jun 2006, ed wrote:

> Bit of an off topic question. I noticed while setting up a router that
> the only way I could add routes to a test windows xp box was through
>
> route add network mask routerip
>
> This is lost on each boot, since windows boxes don't log in
> automatically, how does one keep static route entries in windowss land?
>
> Am I missing something in this user-friendly operating system?

Use a -p parameter after add:

route add -p <sub-net-address> mask <subnet-mask> <IP-address-of-gateway>

and the route will be stored in the registry, somewhere and therefore
permanent across reboots.

Best Regards,
Alex.
-- 
Alex Butcher, Bristol UK.                           PGP/GnuPG ID:0x5010dbff

"[T]he whole point about the reason why I think it is important we go for
identity cards and an identity database today is that identity fraud and
abuse is a major, major problem. Now the civil liberties aspect of it, look
it is a view, I don't personally think it matters very much."
  - Tony Blair, 6 June 2006 <http://www.number-10.gov.uk/output/Page9566.asp>


More information about the Sclug mailing list