What is the netmask equivalent on the verision of route for the Mac
Posted
by
Wes Reing
on Super User
See other posts from Super User
or by Wes Reing
Published on 2011-03-15T20:43:41Z
Indexed on
2011/03/16
0:12 UTC
Read the original article
Hit count: 288
In order to create some special routes for debugging I used the following command on my linux server:
sudo route add -net 10.78.0.0 netmask 255.255.0.0 gw 10.101.1.1
which works, and sets up the routes I need. But when I run the same command on my Mac I get:
route: bad address: netmask
I'm guessing that the version of route that is included in OS X requires a different format but I'm at a loss to figure it out.
© Super User or respective owner