Add Static Route Linux – Windows – Mac OS

Posted by cikul | Posted in Linux, Mac OS, Windows | Posted on 22-06-2017-05-2008

0

In Linux the command is :


route add -net 172.17.18.0/24 gw 172.17.2.1

In Windows the command is :


route add 172.17.18.0 mask 255.255.255.0 172.17.2.1

In Mac OS the command is :


route -n add -net 172.17.18.0/24 172.17.2.1

Write a comment

*