Re: [OpenIndiana-discuss] Static IP problem

2014-07-10 Thread real-men-dont-click
: Michelle Knight miche...@msknight.com 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 right

Re: [OpenIndiana-discuss] Static IP problem

2014-07-10 Thread Michelle Knight
: http://wiki.system-admin.info/doku.php?id=openindiana_tips_and_tricks#network Hope this may help Carsten -Original message- From: Michelle Knight miche...@msknight.com Sent: Thu 10-07-2014 07:55 Subject: Re: [OpenIndiana-discuss] Static IP problem To: openindiana-discuss

Re: [OpenIndiana-discuss] Static IP problem

2014-07-10 Thread Michelle Knight
miche...@msknight.com 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 right. On Thu, 10

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

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

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) udo.grabow...@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

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) udo.grabow...@kit.edu

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) udo.grabow...@kit.edu wrote: On 10/07/2014 07:34, Michelle Knight wrote: OK, this is what I'm doing now ...

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread Harry Putnam
Michelle Knight miche...@msknight.com 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

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 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 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. You

Re: [OpenIndiana-discuss] Static IP problem

2014-07-08 Thread Jonathan Adams
On 8 July 2014 17:53, James Carlson carls...@workingcode.com wrote: snip 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

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

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

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Michelle Knight
On Mon, 07 Jul 2014 09:35:30 -0400 John D Groenveld jdg...@elvis.arl.psu.edu 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

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Michelle Knight
On Mon, 7 Jul 2014 12:20:56 +0100 Jonathan Adams t12nsloo...@gmail.com 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

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 to

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 the -p

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread Michelle Knight
On Mon, 07 Jul 2014 15:47:26 -0400 James Carlson carls...@workingcode.com 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 James Carlson
On 07/07/14 15:55, Michelle Knight wrote: On Mon, 07 Jul 2014 15:47:26 -0400 James Carlson carls...@workingcode.com 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.

Re: [OpenIndiana-discuss] Static IP problem

2014-07-07 Thread jason matthews
On Jul 7, 2014, at 1:13 PM, James Carlson carls...@workingcode.com 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.

[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

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,

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 dormitionsk...@hotmail.com wrote: You can always force it the old fashioned way, like I had to do yesterday. In

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 Michelle Knight
On Sun, 06 Jul 2014 17:37:46 -0400 John D Groenveld jdg...@elvis.arl.psu.edu 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