[OpenIndiana-discuss] Static IP problem

Jonathan Adams t12nslookup at gmail.com
Sun Jul 6 21:24:26 UTC 2014


do you have an active network cable plugged into bge0?

If there is no active cable then the interface stays down ...


On 6 July 2014 18:37, DormitionSkete at hotmail.com <dormitionskete at hotmail.com
> wrote:

> You can always force it the old fashioned way, like I had to do yesterday.
>
> In /etc/hostname.bge0  (or whatever your NIC name is):
>
> 192.168.0.2 netmask 255.255.255.0
>
> If you need to force the default router, simply put its IP Address in
> /etc/defaultrouter, like:
>
> 192.168.0.1
>
> HTH
>
> fp
>
>
> On Jul 6, 2014, at 10:47 AM, Michelle Knight <michelle at msknight.com>
> wrote:
>
> > Hi Folks,
> >
> > I've installed 151a8 text server but I'm having problems with my notes
> > to change to static IP and my searches of the web are turning up
> > nothing different ... but I'm obviously missing something.
> >
> > svcadm disable svc:/network/physical:nwam
> > svcadm enable svc:/network/physical:default
> > cp /etc/nsswitch.dns /etc/nsswitch.conf
> > ipadm create-addr -T static -a 192.168.0.2/24 bge0/v4
> > svcadm restart svc:/network/physical:default
> > route -p add default 192.168.0.1
> >
> > ...however bge0 is still showing as disabled.  (obviously the route
> > fails because it can't reach the network)
> >
> > Any ideas on what I've missed please?
> >
> > _______________________________________________
> > 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