Adding Routes to Windows Box ( Static and Persistent Route)
A client calls in and needs to have a route added to their network in order to be able get to the domain of a certain LAN.
So in order to add a static route to a windows environment we will do the following:
route add < IP of Destination Network > < Subnet Mask> < Gateway> <Metric>
For this example my destination will be 192.168.24.1 255.255.255.0 and gateway192.168.24.1
Adding a route via windows cmd prompt
Now we can do a "route print" to see the routes on a windows machine:
Now we see the route was added. However if we wanted to add this route as a PERSISTENT route
we would need to add the " -p " character in from of our IP's.
Persistent Route:
route -p ADD <IP of Destionation Network> <SubnetMask> <Gateway> <Metric>
So in order to add a static route to a windows environment we will do the following:
route add < IP of Destination Network > < Subnet Mask> < Gateway> <Metric>
For this example my destination will be 192.168.24.1 255.255.255.0 and gateway192.168.24.1
Adding a route via windows cmd prompt
Now we can do a "route print" to see the routes on a windows machine:
Now we see the route was added. However if we wanted to add this route as a PERSISTENT route
we would need to add the " -p " character in from of our IP's.
Persistent Route:
route -p ADD <IP of Destionation Network> <SubnetMask> <Gateway> <Metric>
Comments
Post a Comment