-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri 06 Jun 2014 07:15:06 PM UTC, Alex Turbov via smartos-discuss
wrote:
> Hi list,
>
> I'm running VirtualBox w/ smartos.iso image. The virtual NIC configured
> in bridge mode and enabled promiscuous mode as described here:
> http://wiki.smartos.org/display/DOC/SmartOS+on+VirtualBox
>
> A Global Zone works pretty fine and I can ping my host's NIC (WiFi)
> and evrything else
> including Internet.
>
> Then I'm trying to add a new zone w/ the following JSON:
>
>
> {
>  "brand": "joyent",
>  "image_uuid": "8639203c-d515-11e3-9571-5bf3a74f354f",
>  "alias": "onixs.build",
>  "hostname": "smart-onixs",
>  "max_physical_memory": 2048,
>  "quota": 20,
>  "resolvers": ["192.168.1.1", "8.8.8.8"],
>  "nics": [
>   {
>     "nic_tag": "admin",
>     "ip": "192.168.1.120",
>     "netmask": "255.255.255.0",
>     "gateway": "192.168.1.1",
>     "primary": true
>   }
>  ],
> }
>
> where 192.168.1.1 is my WiFi router, I can `ssh` to 192.168.1.120 from
> my host
> (laptop), however from this zone I can only ping my global zone, my
> host's NIC,
> but not 192.168.1.1 and no hosts from Internet.
>
> I've read all docs from wiki.smartos.org <http://wiki.smartos.org> and
> found no clue what's going on :(
> Any ideas?

Hi Alex:

I usually use an external nic tag in /usbkey/config with the same MAC
as my admin NIC and use that in the JSON payload for vmadm create
instead.

I'm not sure if that matters.

Then again, I'm running on physical hardware so there may be different
issues at play here.

Best,
Alain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTkhgwAAoJEP0rIXJNjNSAmkYIAMcgzXsvi6newu4fL88M23bb
EODEQECQ/2CLesa+khRaHZ7f28nmkqNN+aFjzA5zZ+42Wqzcc9zH2OOKUgAzCgp0
qH47Cp9gPUo7UqLWE1mWF038NBC1eH0bJvUAKjIwTgSnghmAr8Vta6mPymacrNeE
kSIld0f7m374otGacTlwPNHXun1VW3FfIdrIwDhrj/Yuv+X5VgmWKiQKhHpqyg2S
QngTfcuPW7f/4Zr81vytUP4UJA6YlWl33zZVijquhyAszb8oU7qWZ6enHGCr1ru6
h+0J6yRm7Go8LCdWhSn9waYRZY9Mh4UulmX49EwvVWEkw7B7IU2t2keOFzjMwcs=
=3QqU
-----END PGP SIGNATURE-----



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to