route
Windows CMD · Network · available in the simulator
What it does
Displays and modifies the IP routing table.
Syntax
route [-f] [-p] comando [destino] [mask máscara] [pasarela]
Options and parameters
printSubcommand: displays the routing table.
route printaddSubcommand: adds a route.
route add 10.0.0.0 mask 255.0.0.0 192.168.1.1deleteSubcommand: deletes a route.
changeSubcommand: modifies an existing route.
-pMakes the route persistent across reboots.
-fFlushes the routing tables.
Usage examples
route printroute add 10.0.0.0 mask 255.0.0.0 192.168.1.1