[OpenIndiana-discuss] Static IP problem
Michelle Knight
michelle at msknight.com
Thu Jul 10 06:37:15 UTC 2014
Thanks Carsten,
That appears to work and survive reboots.
An obvious error with the ...
ipadm create-if beg0
...when the interface already exists and is up, but ... job done!
Many thanks,
Michelle.
On Thu, 10 Jul 2014 08:05:00 +0200
real-men-dont-click at gmx.net wrote:
> 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 <michelle at msknight.com>
> Sent: Thu 10-07-2014 07:55
> Subject: Re: [OpenIndiana-discuss] Static IP problem
> To: openindiana-discuss at openindiana.org;
> > 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
> >
> > _______________________________________________
> > openindiana-discuss mailing list
> > openindiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list