From be239f7a9f9a1929aa2e0c58ce856209dbdfbf51 Mon Sep 17 00:00:00 2001 From: Axel Colin de Verdiere Date: Fri, 7 Mar 2014 14:34:37 +0100 Subject: [PATCH] Show a line with /24 subnet --- pages/osx/route.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/osx/route.md b/pages/osx/route.md index 33cdc7082f..1408971d19 100644 --- a/pages/osx/route.md +++ b/pages/osx/route.md @@ -7,6 +7,10 @@ `sudo route add {{dest_ip_address}} {{gateway_address}}` +- add a route to a /24 subnet through a gateway + +`sudo route add {{subnet_ip_address}}/24 {{gateway_address}}` + - run in test mode (does not do anything, just print) `sudo route -t add {{dest_ip_address}}/24 {{gateway_address}}`