Sponsored Content
Operating Systems Solaris Not able to ping global zone from local zone Post 302282696 by kumarmani on Sunday 1st of February 2009 11:07:55 AM
Old 02-01-2009
Hi Duke,

Please find the output from global zone

Code:
#netstat -rn

Destination   Gateway          Flags    Ref   Use     Interface 
---------------------------------------------------------
192.168.35.0 192.168.35.20   U         1     20        hme0
224.0.0.0      192.168.35.20   U         1     0         hme0
127.0.0.1      127.0.0.1          UH       4     81       lo0

Code:
#ifconfig -a 

lo0: flags=2001000849<up, LOOPBACK, RUNNING, MULTICAST, IPv4,
VIRTUAL> mtu 8232 index 1 
  zone zone 
  inet 127.0.0.1 netmask ff000000

hme0: flags=1000803<up, BROADCAST, MULTICAST,  IPv4> mtu 1500 index 2
inet 192.168.35.20 netmask ffffff00 broadcast 192.168.35.255 ether 8:0:20:c5:61:68

hme0:1: flags=1000803<up, BROADCAST, MULTICAST,  IPv4> mtu 1500 index 2  zone zone 
inet 192.168.35.210 netmask ffffff00 broadcast 192.168.35.255

Out from the local zone

Code:
#netstat -rn

Destination   Gateway          Flags    Ref   Use     Interface 
---------------------------------------------------------
192.168.35.0 192.168.35.210   U         1     0        hme0:1
224.0.0.0      192.168.35.210   U         1     0         hme0:1
127.0.0.1      127.0.0.1          UH        8     43       lo0:1

Code:
#ifconfig -a

lo0:1: flags=2001000849<up, LOOPBACK, RUNNING, MULTICAST, IPv4,
VIRTUAL> mtu 8232 index 1 
    inet 127.0.0.1 netmask ff000000
hme0:1: flags=1000803<up, BROADCAST, MULTICAST,  IPv4> mtu 1500 index 2  
inet 192.168.35.210 netmask ffffff00 broadcast 192.168.35.255


Last edited by DukeNuke2; 02-01-2009 at 01:28 PM.. Reason: changed QUOTE to CODE tags
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. Solaris

sharing a directory between local and global zone

is this the step? add fs set dir=/export set special=/export set type=lofs add options rw end i notice i can't post immediately, moderator needs to moderate. i have 1 more post still haven't appear in the forum..hmm.... (1 Reply)
Discussion started by: binary0011
1 Replies

4. Solaris

Covert Global zone to local zone

Dears, I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones. i found a document which seems to be helpful but i'm stuck @ the 1st step. to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Discussion started by: mduweik
1 Replies

5. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
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

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

8. Solaris

Scripting changes to multiple zone configurations in the same Global Zone

So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones. if I were to do this manually here's what I would do: zonecfg -z zone1 select... (2 Replies)
Discussion started by: os2mac
2 Replies

9. 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
tgt-setup-lun(8)					      System Manager's Manual						  tgt-setup-lun(8)

NAME
tgt-setup-lun - creates a target, adds a device to the target and defines initiators that can connect to the target SYNOPSIS
tgt-setup-lun -d device -n target_name [initiator_IP1 initiator_IP2 ...] [-h] DESCRIPTION
Starts tgtd if necessary and creates a target according to the supplied target_name. The format of the target name is as follows: iqn.2001-04.com.<hostname>-<target_name> The target name must be unique. The script then adds the requested device to the target. If specific IP addresses are defined, it adds them to the list of allowed initia- tors for that target. If no IP addresses is defined, it defines that the target accepts any initiator. EXAMPLES
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81 and 192.168.10.82: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 192.168.10.82 Create a target that uses /dev/sdb1 and allows connections from any initiator: tgt-setup-lun -d /dev/sdb1 -n my_target Display help: tgt-setup-lun -h AUTHOR
Written by Erez Zilber REPORTING BUGS
Report bugs to <stgt@vger.kernel.org> COPYRIGHT
Copyright (C) Voltaire Ltd. 2008. tgt-setup-lun(8)
All times are GMT -4. The time now is 09:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy