Solaris Zone configuration


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Zone configuration
# 1  
Old 01-04-2011
Bug Solaris Zone configuration

So I have a zone, called assist. the server is running, I bound the network adapter to ce3, but it doesn't seem to work. I can't get out to the internet. I can ping the device from the host, but not from my desktop.

here is the network configuration from the zone side:


Code:
# ifconfig -a
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce3:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 155.216.1.74 netmask fffffff0 broadcast 155.216.1.79

here is the network configuration on the host side:

Code:
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone assist
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 155.216.1.71 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:93
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 155.216.13.72 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:94
ce2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 155.216.1.73 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:95
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask ff000000
        ether 0:3:ba:da:a6:96
ce3:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        zone assist
        inet 155.216.1.74 netmask fffffff0 broadcast 155.216.1.79

The gateway should be 155.216.1.65, I was thinking maybe of trying ce0 instead of ce3 to check if maybe it was a problem with the network.
# 2  
Old 01-04-2011
Looks like ce3 on the global does not have a valid IP address.

Code:
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask ff000000
        ether 0:3:ba:da:a6:96

Try something like this.

Code:
ifconfig ce3 155.216.1.75 netmask 255.255.255.0 up

from the global. Then your zone should be good.

Make sure to update your /etc/hostname.ce3 file on the global so that it is persistent through reboots or you will lose your IP config on ce3.

Last edited by sboots; 01-04-2011 at 03:09 PM..
# 3  
Old 01-04-2011
Quote:
Originally Posted by Kjons76
Code:
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone assist
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 155.216.1.71 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:93
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 155.216.13.72 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:94
ce2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 155.216.1.73 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:95
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask ff000000
        ether 0:3:ba:da:a6:96
ce3:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        zone assist
        inet 155.216.1.74 netmask fffffff0 broadcast 155.216.1.79

Your ce3 interface does not have a link to the network as there is no "RUNNING" status. (see the other interfaces) If you correct this error I'm sure most of your issues will disappear.

Last edited by bluescreen; 01-04-2011 at 04:13 PM..
These 2 Users Gave Thanks to bluescreen For This Post:
# 4  
Old 01-04-2011
I guess it helps to plug in the interface.
thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

3. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

4. Solaris

zone configuration

Hi Guys, when you add a file system in a zone during configuration, do you have to add it in the global zones etc/vfstab? Do you have to do any mounting ? Thanks lots guys. (2 Replies)
Discussion started by: cjashu
2 Replies

5. UNIX for Advanced & Expert Users

Zone Configuration in Solaris 10

We have solaris 10 server that has the been re-installed with OS after OS got currupted. The old ZONE contents has been now restored from backup.Now when we try to check for the zones by listing command, I could find only global zone running. Kindly let me know how to install/configure the zone to... (2 Replies)
Discussion started by: hydoss1
2 Replies

6. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

7. Solaris

Zone Configuration Doubt

Hi All, I Have Sun SPARC T5220 is a single processor machine with 8 cores. I want to create a zone which should take 3 cores. So how can I Configure those 3 cores to zone? and Once I configured some particular cores to zone and if I want to increase or decrease the cores how can I do it? ... (4 Replies)
Discussion started by: vijaysachin
4 Replies

8. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

9. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies
Login or Register to Ask a Question