Add a static route
by command line
route add 192.168.163.0 mask 255.255.255.0 192.168.163.2
we can see this route by the command
route print
but this route will be temporary as after restart it will be gone
so delete the route by
route delete 192.168.163.0
now add the route as a persistent route
route -p add 192.168.163.0 mask 255.255.255.0 192.168.163.2
or go to server manager,roles,network policy ..,routing and remote..,ipv4,static routes and add a route
static route works much better than a default gateway,you can make the default gateway blank and use static routing
No comments:
Post a Comment