[OpenIndiana-discuss] Static IP problem
Udo Grabowski (IMK)
udo.grabowski at kit.edu
Thu Jul 10 05:43:56 UTC 2014
On 10/07/2014 07:34, Michelle Knight wrote:
> OK, this is what I'm doing now ...
>
> svcadm disable svc:/network/physical:nwam
> cp /etc/nsswitch.dns /etc/nsswitch.conf
> ifconfig bge0 plumb
> ifconfig bge0 192.168.0.25 netmask 255.255.255.0 up
> route -p add default 192.168.0.1
>
> ...but it doesn't survive a reboot and I can't see anyone using a
> persistent option anywhere.
You forgot to 'svcadm enable physical:default'.
Also, put the default router into /etc/defaultrouter,
and put the host names into /etc/hosts and add the
/etc/hostname.bge0 file with the corresponding host
name (or IP) inside the file.
More information about the openindiana-discuss
mailing list