forget about ifconfig. It's outdated. In my experience it nowadays is a never ending cause of trouble.
That's what I found out as known to work: http://wiki.system-admin.info/doku.php?id=openindiana_tips_and_tricks#network Hope this may help Carsten -----Original message----- From: Michelle Knight <[email protected]> Sent: Thu 10-07-2014 07:55 Subject: Re: [OpenIndiana-discuss] Static IP problem To: [email protected]; > 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)" <[email protected]> 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 > > [email protected] > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > openindiana-discuss mailing list > [email protected] > http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ openindiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
