Re: [oi-dev] VNIC creation failure

2012-09-06 Thread Ewald Ertl
Hi,

On Thu, Sep 6, 2012 at 5:14 AM, Nick Zivkovic wrote:

> Is it possible to get zones on an etherstub to communicate with the global
> zone?
>

Yes, it's possible and I  have it running since some time now.

I have a WinXP running in a virtualbox, which has assigned a vnic connected
to a virtual etherstub.
The global zone has also a vnic connected to the etherstub, but all have
fixed addresses.

For Virtualbox, I have the VNIC set to bridged mode and I have also the set
the same
MAC adresse in Virtualbox as listed by "dladm show-vnic"

In the global zone, I have activated the ipfilter service and configured it
to do NAT.

The content of /etc/ipf/ipnat.conf is
map e1000g0  192.168.1.0/24 ->
0/32
map iwh0  192.168.1.0/24 -> 0/32
rdr e1000g0  0.0.0.0/0 port 9090 -> 192.168.1.101 port 8080
rdr e1000g0  0.0.0.0/0 port 18000 -> 192.168.1.101 port 17000
rdr e1000g0  0.0.0.0/0 port  -> 192.168.1.101 port 22


I do the natting for both the ethernet e1000g0 and the wireless adapater
iwh0, so regardless
of the network I'm in, the other systems can communicate with the outside
world.

The rdr lines allow redirections of ports to my "local virtual" network.



>
> For me, shared-ip stacks won't work because the network admins here
> won't give me multiple addresses per network card.
>
> The networking is determined via dhcp.
>
> Is it possible to set it up so that the NGZs can use the GZ as a router?
>
Yes, I've also enabled IPv4 routing with routeadm.

HTH Ewald
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] gcc default

2011-11-24 Thread Ewald Ertl
Hi,

On Thu, Nov 24, 2011 at 8:22 AM, Jorgen Lundman  wrote:

>
> After figuring out the sfe repository stuff, we finally managed to install
> gcc-4. OpenIndiana runs nicely in 64bit, and everything is 64bit, including
> perl and perl modules.
>
> And yet, when you use gcc, the default output is 32bit. Does this really
> make sense any more? (on intel at least).
>
> Sure I can add -m64 to everything I compile, (presumably including perl
> modules) but is there no easy way to change the default from -m32 to -m64 ?
>

I can not help directly, but on a Debian 6.0.1 64bit installation, the gcc
is compiling per default to 64bit and the 32bit target must be explicitly
supplied in
the compile line.



> I was stuffing around in the /usr/gcc/4.6/lib/gcc/i386-pc-**
> solaris2.11/4.6.2/plugin/**include/config/i386 area, but it appears to be
> used when compiling gcc. Not after.
>
> Should the default be changed to 64bit in the repository?
>
> Lund
>
> --
> Jorgen Lundman   | 
> Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
> Shibuya-ku, Tokyo| +81 (0)90-5578-8500  (cell)
> Japan| +81 (0)3 -3375-1767  (home)
>
> __**_
> oi-dev mailing list
> oi-dev@openindiana.org
> http://openindiana.org/**mailman/listinfo/oi-dev
>
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Request for volunteers: Building LibreOffice

2011-09-21 Thread Ewald Ertl
Hi,


On Wed, Sep 21, 2011 at 10:51 AM, Gary  wrote:

> FWIW, I found 12u1 here:
> http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-142582.html
>
> Does anyone know where Python header files are?
>
>
> checking for python... /usr/bin/python
> checking for python version... 2.6
> checking for python platform... sunos5
> checking for python script directory...
> ${prefix}/lib/python2.6/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.6/site-packages
> checking Python.h usability... no
> checking Python.h presence... no
> checking for Python.h... no
> configure: error: Python headers not found
>
>
[ewer@solewer:~]$python-config --includes
-I/usr/include/python2.6 -I/usr/include/python2.6

[ewer@solewer:~]$python-config --help
Usage: /usr/bin/python-config
[--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help]


HTH
Ewald
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev