Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Michelle Knight
n > > > -Original message- > From: Michelle Knight > Sent: Thu 10-07-2014 07:55 > Subject: Re: [OpenIndiana-discuss] Static IP problem > To: openindiana-discuss@openindiana.org; > > Incidentally, in case you're wondering, I'm rebuilding the box &

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Michelle Knight
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 > Sent: Thu 10-07-2014 07:55 > Subject: Re: [

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread real-men-dont-click
- From: Michelle Knight Sent: Thu 10-07-2014 07:55 Subject: Re: [OpenIndiana-discuss] Static IP problem To: openindiana-discuss@openindiana.org; > Incidentally, in case you're wondering, I'm rebuilding the box between > tests ... to ensure that what I'm doing, works

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Michelle Knight
That didn't survive a reboot either. And the ipadm command comes back with the same error as before, "could not create address: Persistent operation on temporary object" I must have got something really wrong here. On Thu, 10 Jul 2014 07:43:56 +0200 "Udo Grabowski (IMK)" wrote: > On 10/07/2014

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Michelle Knight
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)" wrote: > On 10/07/2014 07:34, Michelle Knight wrote: > > OK, this is what I'm doing now ... > > > > svcadm disable

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Michelle Knight
Thanks! On Thu, 10 Jul 2014 07:43:56 +0200 "Udo Grabowski (IMK)" 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

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Udo Grabowski (IMK)
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 r

Re: [OpenIndiana-discuss] Static IP problem

2014-07-09 Thread Michelle Knight
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 persisten

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread Jonathan Adams
On 8 July 2014 17:53, James Carlson wrote: > > > We have had problems in the past at another site, with Windows PC's on > the > > Solaris DHCP server (we put it down to the wiring, but it could be > > anything) that PC's running Windows XP and Microsoft office, at the point > > in time that the

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread James Carlson
On 07/08/14 12:38, Jonathan Adams wrote: > DHCP address was not made unusable, when that does happen (it has happened, > when rebooting a machine sometimes it gets an echo from one of the > switches, now replaced, that lead it to think that the ip was taken) it was > just handed another address. Y

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread Jonathan Adams
DHCP address was not made unusable, when that does happen (it has happened, when rebooting a machine sometimes it gets an echo from one of the switches, now replaced, that lead it to think that the ip was taken) it was just handed another address. In the case of this server, it got a response with

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread James Carlson
On 07/08/14 10:05, Jonathan Adams wrote: > My experience: > > I had an Illumos box that after about 4 weeks just lost it's IP address > when it was set to be dynamic, no matter what I did ... My colleagues used > to just reboot it to fix the issue. I've had that problem in the distant past when t

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread Jonathan Adams
My experience: I had an Illumos box that after about 4 weeks just lost it's IP address when it was set to be dynamic, no matter what I did ... My colleagues used to just reboot it to fix the issue. It wasn't the server, it wasn't (in this case) the network card misbehaving (bge0), I believe that

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread Harry Putnam
Michelle Knight writes: > 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 ena

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread jason matthews
On Jul 7, 2014, at 1:13 PM, James Carlson wrote: > > I don't know if things have changed in the 5 years or so since I > actively worked on that code, but at least back then it wasn't possible > to do a "restart" on the network/physical:default service. It was just > a no-op. James, we have h

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread James Carlson
On 07/07/14 15:55, Michelle Knight wrote: > > > On Mon, 07 Jul 2014 15:47:26 -0400 > James Carlson wrote: > >> That probably should have been: >> >> route -p add default 192.168.0.1 > > Yup, that took and putting the interface back in again .. it has now > survived two reboots. > > Any idea w

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Michelle Knight
On Mon, 07 Jul 2014 15:47:26 -0400 James Carlson wrote: > That probably should have been: > > route -p add default 192.168.0.1 Yup, that took and putting the interface back in again .. it has now survived two reboots. Any idea where I originally went wrong please? __

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread John D Groenveld
In message <20140707204055.603483d9@fitpc3>, Michelle Knight writes: >However, I do now have ... > >bge0/_a static ok 192.168.0.25/24 Perhaps a remnant from your NWAM configuration. Delete it. # ipadm delete-addr bge0/_a >...and the box can talk! > >Running the route command again without th

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread James Carlson
On 07/07/14 15:40, Michelle Knight wrote: >> route add -p default 192.168.0.1 > route: botched keyword p That probably should have been: route -p add default 192.168.0.1 The "-p" option makes the change "permanent" so that it survives a reboot. It does so by writing the rest of the command line

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Michelle Knight
On Mon, 7 Jul 2014 12:20:56 +0100 Jonathan Adams wrote: > svcadm disable svc:/network/physical:nwam > svcadm enable svc:/network/physical:default > > ipadm delete-addr bge0/v4 > > ifconfig bge0 plumb ifconfig: cannot plumb bge0: Interface already exists > ifconfig bge0 192.168.0.2 netmask 25

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Michelle Knight
On Mon, 07 Jul 2014 09:35:30 -0400 John D Groenveld wrote: > # ipadm show-if bge0 bge0 disabled --- -46 > # ipadm enable-addr -t bge0/v4 ipadm: could not enable address: Object not found ___ openindiana-discuss mailing list openindiana-discu

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread John D Groenveld
In message <20140707050628.127c9abc@fitpc3>, Michelle Knight writes: >> # ipadm show-addr bge0/v4 >static disabled 192.168.0.25/24 # ipadm show-if bge0 # ipadm enable-addr -t bge0/v4 John groenv...@acm.org ___ openindiana-discuss mailing list openindi

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Jonathan Adams
okay, I'm sure you've tried all this ... Falling back to old "ifconfig" commands. svcadm disable svc:/network/physical:nwam svcadm enable svc:/network/physical:default ipadm delete-addr bge0/v4 ifconfig bge0 plumb ifconfig bge0 192.168.0.2 netmask 255.255.255.0 up route add -p default 192.168.

Re: [OpenIndiana-discuss] Static IP problem

2014-07-06 Thread Michelle Knight
On Sun, 06 Jul 2014 17:37:46 -0400 John D Groenveld wrote: > What state do these command report? > > # dladm show-phys bge0 Up 1000 full > # ipadm show-addr bge0/v4 static disabled 192.168.0.25/24 To also answer Jonathan, yes, it was plugged in and active to a home network with a DHCP server;

Re: [OpenIndiana-discuss] Static IP problem

2014-07-06 Thread John D Groenveld
In message <20140706174713.0feda696@fitpc3>, Michelle Knight writes: >...however bge0 is still showing as disabled. (obviously the route >fails because it can't reach the network) What state do these command report? # dladm show-phys bge0 # ipadm show-addr bge0/v4 John groenv...@acm.org __

Re: [OpenIndiana-discuss] Static IP problem

2014-07-06 Thread Jonathan Adams
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, dormitionsk...@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

Re: [OpenIndiana-discuss] Static IP problem

2014-07-06 Thread dormitionsk...@hotmail.com
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, 2

[OpenIndiana-discuss] Static IP problem

2014-07-06 Thread Michelle Knight
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 /et