Peter,

Thanks a lot, you saved my life! the */etc/resolv.conf* has no entry inside
the zone. Just edited it with the content of GZ and it worked! Would you
mind pointing out how to add an entry in the json file for resolver?

​PS: Thanks to all who've helped me in resolving the issue :-)​


Regards,
Ganapathy


On 25 May 2014 17:31, Peter Kelm via smartos-discuss <
[email protected]> wrote:

> ‎Ganapathy,
>
> Sorry if this has been discussed already: Does network access in the
> Global Zone work?‎ If it does I would expect that the issue is with the
> local Zone config. In the zone json you copied in one of your previous
> messages you did not provide a gateway and resolver entry...
>
> Just my 2ct,
>
> Peter
>
> *Von: *Ganapathy S A via smartos-discuss
> *Gesendet: *Sonntag, 25. Mai 2014 11:39
> *An: *Daniel Malon
> *Antwort an: *[email protected]
> *Cc: *[email protected]; Yu Li
> *Betreff: *Re: [smartos-discuss] Need help in bringing up network inside
> a zone in SmartOS
>
> NIC in VBox is set to bridging interface and promise mode set to 'Allow
> All'. And the logged in user has write access to /dev/net/net0 But still
> the zone can't reach the outer world
> On 25 May 2014 12:41, "Daniel Malon" <[email protected]> wrote:
>
>> Hi,
>>
>> the bridge should be created for VirtualBox:
>> https://github.com/joyent/smartos-live/blob/master/overlay/generic/lib/svc/method/net-physical#L273-278
>>
>> If you have set the NIC in VirtualBox to a bridging interface and allow
>> promise mode you should be all set up.
>> Some people tho have problems with VirtualBox where the GZ gets network
>> connected but every created zone can’t reach the outer world.
>>
>> Check if your logged in user has write access to the VirtualBox network
>> device in /dev as well.
>>
>> —
>> Daniel
>>
>> On 25 May 2014, at 08:05, Ganapathy S A via smartos-discuss <
>> [email protected]> wrote:
>>
>> Hi Yu,
>>
>> Thanks for the reply. Did as you said, but no help! Also, only the
>> *delete-bridge* effect is persistent across reboots but not
>> *create-bridge*! How to make the *create-bridge* effect persistent
>> across reboots?
>>
>> Regards,
>> Ganapathy
>>
>>
>> On 25 May 2014 06:34, Yu Li <[email protected]> wrote:
>>
>>> Hi, Ganapathy​
>>>
>>> If you are in a zone, and with VirtualBox, you may need to do some tweak
>>> as default SmartOS only setup for VMware.
>>>
>>> Some info here:
>>> http://wiki.smartos.org/display/DOC/How+to+create+a+Virtual+Machine+in+SmartOS
>>>
>>> Quick steps:
>>>
>>> delete the vmwarebr first
>>>
>>> dladm remove-bridge -l e1000g0 vmwarebr
>>> dladm delete-bridege vmwarebr
>>>
>>> then create a vboxbr and link to the main nic
>>>
>>> dladm create-bridge -l e1000g0 vboxbr
>>>
>>> hope help :)
>>>
>>>
>>> On Sun, May 25, 2014 at 4:08 AM, Ganapathy S A via smartos-discuss <
>>> [email protected]> wrote:
>>>
>>>> ​​
>>>> I am a newbie SmartOS (Unix) user! Trying to setup a zone for web app
>>>> development in SmartOS
>>>>  ​ (running inside VBox with host as Ubuntu​
>>>> ​)​
>>>> . Followed the instructions in this 
>>>> page<http://wiki.smartos.org/display/DOC/How+to+create+a+zone+%28+OS+virtualized+machine+%29+in+SmartOS>
>>>>  and successfully created a zone & able to login as well. But network
>>>> is down inside the zone & hence*pkgin up* fail
>>>>  ​s! Output of *dladm show-phys*, *dladm show-link*, and json content
>>>> has been attached (smartos-snap-gz). Output of *dladm show-phys*,*dladm
>>>> show-link* inside the zone also has been attached
>>>> (smartos-snap-nongz). What configuration did I miss? Any help is much
>>>> appreciated.
>>>>
>>>> P.S: I am not sure if this is the right place to seek this kind of
>>>> help, if not kindly guide me in the right direction.
>>>>
>>>> ​Thanks & ​
>>>> Regards,
>>>> Ganapathy
>>>> ​ S Avathan​
>>>> *smartos-discuss* | 
>>>> Archives<https://www.listbox.com/member/archive/184463/=now>
>>>>   <https://www.listbox.com/member/archive/rss/184463/26082834-0fa1717f>
>>>>  | Modify <https://www.listbox.com/member/?&;> Your 
>>>> Subscription<http://www.listbox.com/>
>>>>
>>>
>>>
>> *smartos-discuss* | 
>> Archives<https://www.listbox.com/member/archive/184463/=now>
>>   <https://www.listbox.com/member/archive/rss/184463/21955186-c7d24c67> |
>>  Modify <https://www.listbox.com/member/?&;> Your 
>> Subscription<http://www.listbox.com/>
>>
>>
>> *smartos-discuss* | 
>> Archives<https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/25252853-72390e47> |
> Modify <https://www.listbox.com/member/?&;> Your Subscription
> <http://www.listbox.com>
>
> *smartos-discuss* | 
> Archives<https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26100054-3651fd5f> |
> Modify<https://www.listbox.com/member/?&;>Your Subscription
> <http://www.listbox.com>
>



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