Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to connect Solaris non-global zone to LAN/Internet

User_Y1C4CAug 13 2021

Hello guys,
I am new to Solaris, with good knowledge in Linux. I started few days ago with Solaris 11.4. Oracle provides lot of docs and this is very cool.
I have a web application with database to deploy. For now everything is on virtual-box VM. I have installed a zone called 'developer' and installed 'Apache-22' inside the zone. Apache-24 has started correctly and is working fine de default page. I can access the webpage through the global zone with VM browser, but when I try to access it from outside my VM, it does not work. Inside the zone, I am unable to ping LAN/Internet, but the VM has access to LAN/Internet. Zones can ping each other without problem.
I have configure zone with exclusive IP address:
ipadm create-ip net0
ipadm create-addr -T static -a local=..../24 net0
image.png
image.png

I have disabled Global Zone firewall (svcadm disable network/firewall) but this doesn't seems to help.
I have spend lot of time trying to understand what is wrong, but still it doesn't work. Can you please help ?
If you have any question, please let me know.
Thanks !

Comments
Post Details
Added on Aug 13 2021
0 comments
149 views