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_kstat_delete(9F) Kernel Functions for Drivers net_kstat_delete(9F)NAME
net_kstat_delete - remove a kstat for a specific instance of IP from the system
SYNOPSIS
#include <sys/types.h>
#include <sys/kstat.h>
#include <sys/neti.h>
void net_kstat_delete(netid_t netid, kstat_t *ksp);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
netid IP instance identifier.
ksp Pointer to a currently installed kstat(9S) structure.
DESCRIPTION
The net_kstat_delete() function removes ksp from the kstat chain and frees all associated system resources. See kstat_delete(9F) for a com-
plete discussion of this function.
RETURN VALUES
If successful, net_kstat_delete() returns a pointer to the allocated kstat. NULL is returned upon failure.
CONTEXT
The net_kstat_delete() 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 kstat_create(9F), kstat_delete(9F), net_kstat_create(9F), hook_t(9S), kstat_named(9S)SunOS 5.11 1 May 2008 net_kstat_delete(9F)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)