On Windows, the Routing table is accessible with the
You add static routes like this:
> route ADD 22.214.171.124 MASK 255.0.0.0 126.96.36.199 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
To learn about using masks (or
CIDR, e.g. /24) see the Subnetwork entry.
A routing prefix is the sequence of leading bits of an IP address that precede the portion of the address used as host identifier. In IPv4 networks, the routing prefix is often expressed as a "subnet mask", which is a bit mask covering the number of bits used in the prefix. An IPv4 subnet mask is frequently expressed in quad-dotted decimal representation, e.g., 255.255.255.0 is the subnet mask for the 192.168.1.0 network with a 24-bit routing prefix (192.168.1.0/24).