viernes, 11 de agosto de 2017

Rutas estáticas en mac

Adding a route manually can be necessary sometimes. When on Linux, I know the command by head:
1
sudo route add -net 10.67.0.0/16 gw 192.168.120.254
On the Mac the command is similar, but a bit different 🙂 Just as a note to myself and anyone else interested:
1
sudo route -n add -net 10.67.0.0/16  192.168.120.254
This sets up a route to the 10.67.0.0/16 net through gateway 192.168.120.254. First one on Linux, second one on Mac OSX.

No hay comentarios:

Publicar un comentario