[OpenIndiana-discuss] Static IP problem

Michelle Knight michelle at msknight.com
Thu Jul 10 05:54:20 UTC 2014


Incidentally, in case you're wondering, I'm rebuilding the box between
tests ... to ensure that what I'm doing, works right.

On Thu, 10 Jul 2014 07:43:56 +0200
"Udo Grabowski (IMK)" <udo.grabowski at kit.edu> wrote:

> 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.
> 
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list