Sponsored Content
Top Forums UNIX for Advanced & Expert Users solaris zones on different subnets Post 302256874 by 22blaze on Monday 10th of November 2008 07:40:37 PM
Old 11-10-2008
solaris zones on different subnets

Greetings,

Having an issue with a multihomed global zone hosting zones on different subnets.
The issue is with the dev zone that is hosted on the non-default network.
Any help, other than going to exclusive IP, as I have one card for admin ntwk for both zones, would be appreciated.

Scenario details:

Global Zone (GZ) running Solaris 10 08/07.
NICs:
- ce0 used for admin network - virtual to each zone
- ce1 used for cluster heartbeat
e1000g0 - main NIC on Prod subnet - virtual to prod zone
e1000g1 - NIC plummed for Dev subnet - virtual to dev zone

i am able to get to my NIS server, on different subnet from both interfaces on GZ

i am not able to get to the NIS server from the dev zone.

Code:
 
$ zoneadm list -cv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              native   shared
   7 prod         running    /zones/prod                native   shared
   9 dev         running    /zones/dev                native   shared
$ zonecfg -z prod info net
net:
        address:  x.0.224.31
        physical: e1000g0
$ zonecfg -z dev info net
net:
        address: aaa.bbb.206.92
        physical: ce0
net:
        address:  x.0.229.162
        physical: e1000g1
$ 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 dev
        inet 127.0.0.1 netmask ff000000
lo0:2: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone prod
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet aaa.bbb.206.90 netmask fffffe00 broadcast aaa.bbb.207.255
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone dev
        inet aaa.bbb.206.92 netmask fffffe00 broadcast aaa.bbb.207.255
ce0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone prod
        inet aaa.bbb.206.91 netmask fffffe00 broadcast aaa.bbb.207.255
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet  x.0.224.16 netmask fffffe00 broadcast  x.0.225.255
e1000g0:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone prod
        inet  x.0.224.32 netmask fffffe00 broadcast  x.0.225.255
e1000g0:4: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone prod
        inet  x.0.224.31 netmask fffffe00 broadcast  x.0.225.255
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 6
        inet  x.0.229.161 netmask fffffe00 broadcast  x.0.229.255
e1000g1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 6
        zone dev
        inet  x.0.229.162 netmask fffffe00 broadcast  x.0.229.255
$ netstat -rn
Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default               x.0.224.1           UG        1      61540
 x.0.224.0            x.0.224.16          U         1       2023 e1000g0
 x.0.228.0            x.0.228.1           UG        1          0
 x.0.228.0            x.0.229.161         U         1          0 e1000g1
aaa.bbb.206.0        aaa.bbb.206.90       U         1       1455 ce0
224.0.0.0             x.0.224.16          U         1          0 e1000g0
127.0.0.1            127.0.0.1            UH       62    6983043 lo0

 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris Zones

okay people i need some help: i was able to configure zones on my solaris 10 server, the problem is I can't ssh into the zones!!! I can zlogin -C zone2 successfully for both zones. Am I missing something? I can ping the zones, but can't ssh. From the zones, I can ping my global server. (7 Replies)
Discussion started by: Sarccastik Dude
7 Replies

2. Solaris

Solaris as router between two subnets

I have two networks which is not connected to each other. Each network has its own internet connection. I also have one Solaris machine with two NICs connected to both of the networks. How do I use the Solaris to connect both network so that hosts from either side of the network can... (9 Replies)
Discussion started by: Ahmad Pakhri
9 Replies

3. Solaris

Solaris zones

Hi All, I am getting zone error # /usr/sbin/zoneadm -z asflxpoc1 boot -s could not verify net address=169.185.246.229 physical=ce0: No such device or address could not verify net address=169.185.246.230 physical=ce0: No such device or address Any ideas for this error message. The... (13 Replies)
Discussion started by: jegaraman
13 Replies

4. Solaris

Regarding Solaris Zones

Hello All, I have a list of Local Zones in my list. I want to find out their Global Zone names exactly....I know the command "arp ..."But I dont know how to filter it correctly and find it out. Thanks in advance, Jacky (9 Replies)
Discussion started by: jegaraman
9 Replies

5. Solaris

Solaris zones

Hi, I created a zone with separate /usr for the zone. when I do ping to newly created zone it showing alive, I am able to login through zone console zlogin -C -E <zone name> I created a test account on zone which is already existing under global zone and try to ssh, it is working fine but... (1 Reply)
Discussion started by: alberto
1 Replies

6. UNIX for Dummies Questions & Answers

Solaris Zones

Hi Guys, I haven't worked on solaris zones earlier. I have a query regarding the zones. We have MQ software installed on a solaris container. I am not sure on which zone this s/w is intalled. I have logged into this container via putty. When I search for the package, I got the package... (7 Replies)
Discussion started by: vandi
7 Replies

7. Solaris

Solaris Zones

Hi friends, Actually I faced problem in solaris zone. i was created 4 zones on my server. but one of them is not working ? so, where i wll get the error logs, and how to troubleshoot the problem. i have some kind of urgency. Please reply. (2 Replies)
Discussion started by: rajaramrnb
2 Replies

8. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies
ZPRINT(1)						      General Commands Manual							 ZPRINT(1)

NAME
zprint - show information about kernel zones SYNOPSIS
zprint [-w] [-s] [-c] [-h] [-t] [-d] [-p <pid>][name] DESCRIPTION
zprint(1) displays data about Mach zones. By default, zprint will print out information about all Mach zones. If the optional name is specified, zprint will print information about each zone for which name is a substring of the zone's name. zprint interprets the following options: -c (Default) zprint prints zone info in columns. Long zone names are truncated with '$', and spaces are replaced with '.', to allow for sorting by column. Pageable and collectible zones are shown with 'P' and 'C' on the far right. Zones with preposterously large maximum sizes are shown with '----' in the max size and max num elts fields. -h (Default) Shows headings for the columns printed with the -c option. It may be useful to override this option when sorting by col- umn. -s zprint sorts the zones, showing the zone wasting the most memory first. -w For each zone, zprint calculates how much space is allocated but not currently in use, the space wasted by the zone. -t For each zone, zprint calculates the total size of allocations from the zone over the life of the zone. -d Display deltas over time, showing any zones that have achieved a new maximum current allocation size during the interval. If the total allocation sizes are being displayed for the zones in question, it will also display the deltas if the total allocations have doubled. -p <pid> Display zone usage related to the specified process id. Each zone will display standard columns and the amount of memory from that zone associated with a given process. The letter "A" in the flags column indicates that this total is being accounted to the process. Otherwise, the total is an indication of the influence the process has on the kernel, but the memory is being accounted to the kernel proper. Any option (including default options) can be overridden by specifying the option in upper-case; for example, -C overrides the (default) option -c. 02/12/09 ZPRINT(1)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy