Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net_zoneidtonetid(9f) [opensolaris man page]

net_zoneidtonetid(9F)					   Kernel Functions for Drivers 				     net_zoneidtonetid(9F)

NAME
net_zoneidtonetid - map a zoneid_t struture identifier to a netid_t structure SYNOPSIS
#include <sys/neti.h> netid_t net_zoneidtonetid(const zoneid_t zone); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). PARAMETERS
zone valid zoneid_t structure that refers to a running zone. DESCRIPTION
The net_zoneidtonetid() function maps the given zoneid_t structure (used to represent a zone that is currently running) into a netid_t structure that is associated with the IP instance supporting network functions for that zone. RETURN VALUES
The net_zoneidtonetid() function returns -1 if no mapping took place. Otherwise, it returns the netid_t structure currently used by the zoneid_t structure. For zones that are using a shared IP instance, the netid_t structure for the instance owned by the global zone is returned. CONTEXT
The net_zoneidtonetid() function may be called from user, kernel, or interrupt context. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
net_netidtozonid(9F), attributes(5) SunOS 5.11 1 May 2008 net_zoneidtonetid(9F)

Check Out this Related Man Page

net_netidtozonid(9F)					   Kernel Functions for Drivers 				      net_netidtozonid(9F)

NAME
net_netidtozonid - map a netid_t structure identifier to a zoneid_t structure SYNOPSIS
#include <sys/neti.h> zoneid_t net_netidtozonid(const netid_t net); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). PARAMETERS
net valid netid_t structure that refers to an existing IP instance. DESCRIPTION
The net_netidtozonid() function maps the given netid_t (used to represent an instance of IP) into the matching zoneid_t structure that is associated with it. RETURN VALUES
The net_netidtozonid() function returns -1 if no mapping took place. Otherwise, it returns the zoneid_t structure currently associated with a netid_t structure. For shared stack zones, the zoneid_t structure for the global zone is returned. CONTEXT
The net_netidtozonid() function may be called from user, kernel, or interrupt context. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
net_zoneidtonetid(9F), attributes(5) SunOS 5.11 1 May 2008 net_netidtozonid(9F)
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

Sun Solaris 4 - Need to know zone setting procedure. Please help!

Sun Solaris 4 - Need to know zone setting procedure. Please help!:( (6 Replies)
Discussion started by: nkpalkar
6 Replies

2. Solaris

Not able to ping global zone from local zone

Hi Gurus I am not able to ping the local zone from global zone when i am trying to ping i am getting below ICMP Host Unreachable from gateway zone ( 192.268.35.210) for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210) However i can ping local zone from global please... (12 Replies)
Discussion started by: kumarmani
12 Replies

3. Solaris

Global zone name from local zone

How to check the global zone name from local zone. (6 Replies)
Discussion started by: fugitive
6 Replies

4. Solaris

df error for lofs file system in local zone.

I 've a zone which is running oracle db instance. We have exported the SAN file system from the global zone as following fs: dir: /oradb special: /oradb raw not specified type: lofs options: from global zone #df -h | grep oradb... (7 Replies)
Discussion started by: fugitive
7 Replies

5. Solaris

Can any one explain me Shared-IP and Exclusive IP ??

Hi All, I want to know what is shared-IP and exclusive-IP while configuring zone? How the global zone and non-global communicate with each other? When I do ifconfig -a on my machine it shows below output My doubt is they are physical and virtual interfaces in below output what is... (8 Replies)
Discussion started by: vijaysachin
8 Replies

6. Solaris

Configuring interface in zone

Hi All, Please help me in configuring interface in zone I've zone with dedicated interface and I want this interface to get up with global system boot. I am struggling with IP, as always after reboot interface is not getting up automatically and I understand the reason for that.... (10 Replies)
Discussion started by: kumarmani
10 Replies

7. Solaris

Zone hang issue

I have a solaris10 zone running an oracle db in it. The zone hangs after some time the db is started and i 'm unable to log into the zone after that so i have to halt and restart the zone along with db .. but after few hrs again it hangs. What would be the reason for it. I did svcs -xv and got... (13 Replies)
Discussion started by: fugitive
13 Replies

8. Solaris

Backup / Clone Solaris Zone Issue

Hi, I'd like to discuss the subject of backing up / cloning Solaris zone. I was trying to clone zone A to zone B (Solaris 10 11/06: Cloning a Non-Global Zone on the Same System (System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones)). The first test... (7 Replies)
Discussion started by: aixlover
7 Replies

9. Solaris

Finding the global zone name

Hi im in a local zone which command if i execute in the local zone will show the global zone name Thanks (6 Replies)
Discussion started by: newtoaixos
6 Replies

10. Solaris

Can i reboot a zone when i logged in the zone

I am curious to know if I can reboot a zone while I was inside the zone itself. By doing so can I know what happens to the zone and what are the pros and cons. Is it recommended or not? Is that zone will properly shuts down; :confused::confused::confused: (7 Replies)
Discussion started by: srinivas1049
7 Replies

11. UNIX for Advanced & Expert Users

ulimit in Solaris-10 zone

I have sparse root solaris-10 zone. I got a request to increase ulimit for a specific user on that zone from 1024 to 8192. Since this is sparse zone, so it doesn't have /etc/system and also I do not want to reboot server. root@serv_ora1:/# ulimit -a core file size (blocks, -c) unlimited... (6 Replies)
Discussion started by: solaris_1977
6 Replies

12. Solaris

Can not use zone in LDoms on T4-1

I have a T4-1 with Solaris 11.1, LDom ver 3.0.0.1 and I'm encountering two problems with zones. I'd greatly appreciate help on these, especially the first one. I have created multiple guest LDoms, all Solaris 11.1, and they all work fine. The first problem is that I can not boot any... (9 Replies)
Discussion started by: ad101
9 Replies

13. Solaris

Not able to increase ZFS file system on NGZ

I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server. I have added a new disk of 9 GB, which is emcpower56a and now I can... (16 Replies)
Discussion started by: solaris_1977
16 Replies

14. UNIX for Advanced & Expert Users

Library file error while running command

I am running a command in Solaris non-global zone and it is complaining for a library file, while that is already preset in server. mwcontrol: fatal: relocation error: file /usr/openwin/lib/locale/common/xlibi18n.so.2: symbol _XlcAddUtf8Converters: referenced symbol not found # ls -l... (15 Replies)
Discussion started by: solaris_1977
15 Replies

15. Solaris

IPv6 question

I am currently trying to setup static ipv6 address with a persistent default gateway. This is on a Solaris 10 non global zone running inside a Solaris 10 global zone. My production server I am comparing against is a Solaris 10 xen instance running on a Oracle Solaris xen instance. I have got... (12 Replies)
Discussion started by: jpolachak
12 Replies