#185623 - 2008-02-22 07:00 PM
Re: Add routes NT4
[Re: Niels2008]
|
BradV
Seasoned Scripter
  
Registered: 2006-08-16
Posts: 687
Loc: Maryland, USA
|
Hi,
If I correctly understand your situation, you want your default route to point to your Internet gateway, but would like to add a static route to each workstation pointing to the Watchguard which would then encapsulate and forward the traffic on to your corporate network.
If you are using DHCP, you can simply add a static route on your DHCP server. The clients will then pick this up when they renew their license. You can force this on each workstation with an
ipconfig /renew
If you are not using DHCP, you will have to add the static route to each workstation with something like:
route -p add network_address_of_company mask netmask_of_company Watchguard_gateway metric 1
You may or may not need the metric part.
You could also write it directly to the registry at:
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
it goes in as a REG_SZ value with the name being network,mask,gateway,metric and no data.
Of course the normal user can't do this. Hopefully, you are using DHCP. 
Regards,
Brad
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 611 anonymous users online.
|
|
|