[OpenIndiana-discuss] Static IP problem

James Carlson carlsonj at workingcode.com
Mon Jul 7 19:47:26 UTC 2014


On 07/07/14 15:40, Michelle Knight wrote:
>> route add -p default 192.168.0.1
> route: botched keyword p

That probably should have been:

route -p add default 192.168.0.1

The "-p" option makes the change "permanent" so that it survives a
reboot.  It does so by writing the rest of the command line to
/etc/inet/static_routes which is then read in during boot.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>



More information about the openindiana-discuss mailing list