I installed Opensolaris using the experimental text-only installer from 
genunix.org

But now I'm having problems setting a static network configuration.
I added the IP-address and netmask to /etc/nwam/llp and that part seems to work.

But it's unclear to me, how I can set a default gateway.
I tried:

- adding the gateway address to /etc/defaultrouter.
Doesn't seem to work. That file seems to be ignored. 

- executed: pfexec route -p add default <gateway>

This seems to set the gateway, but does not survive a reboot.

If I execute the command again, after a reboot, it says:

m...@db3:~$ pfexec route -p add default ip-of-my-gateway
add net default: gateway ip-of-my-gateway
add persistent net default: gateway ip-of-my-gateway: entry exists

And it works again.
So apparently it does record the setting, but it does not load it automatically.

Any idea how to solve this?
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to