On Thu, 2009-06-11 at 11:32 -0400, David Abrahams wrote:
> $ netstat -rn
> 
> Routing Table: IPv4
>   Destination           Gateway           Flags  Ref     Use     Interface 
> -------------------- -------------------- ----- ----- ---------- --------- 
> 127.0.0.1            127.0.0.1            UH        1         12 lo0       

You don't have an IP interface configured with a static IP address.
You'll need to do that before you add any routes.

ifconfig <intf> plumb <ip-addr>/<masklen> up

And stick this in /etc/hostname.<intf>

<ip-addr>/<masklen>

> d...@installadm:~$ pfexec route -p add 208.67.222.222 192.168.188.1
> add host 208.67.222.222: gateway 192.168.188.1: Network is unreachable

That's right, you don't have an IP interface.  Routes need to have
reachable next hops.

-Seb


_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to