Not able to ping global zone from local zone


 
Thread Tools Search this Thread
Operating Systems Solaris Not able to ping global zone from local zone
# 8  
Old 02-01-2009
so use the global zone as router and enable ipv4-forwarding with svcadm... just to test if it works...
# 9  
Old 02-03-2009
Thanks Duke,

I did enable the ipv-4 forwarding and output from routeadm is showing " IPv4 routing enabled" and i can ping gloabl zone from local zone.

However when i booting the zone i am getting the below warning message

zoneadm: zone 'zone': WARNING: hme0:1 no matching subnet found in netmask(4) for 192.168.35.210 using default of 255.255.255.0
# 10  
Old 02-03-2009
enter a netmask for the ip in "/etc/netmasks".
# 11  
Old 02-04-2009
Hi Duke,

Netmask is already set and its showing following entry in /etc/netmasks

192.168.1.0 255.255.255.0

I set the same in zone also however still i am getting the same waring as " zoneadm: zone 'zone': WARNING: hme0:1 no matching subnet found in netmask(4) for 192.168.35.210 using default of 255.255.255.0" .

Please suggest
# 12  
Old 02-04-2009
That's normal. 192.168.35.210 is not in the range 192.168.1.0/255.255.255.0.

Code:
$ ipcalc 192.168.1.0/255.255.255.0
Address:   192.168.1.0          11000000.10101000.00000001. 00000000
Netmask:   255.255.255.0 = 24   11111111.11111111.11111111. 00000000
Wildcard:  0.0.0.255            00000000.00000000.00000000. 11111111
=>
Network:   192.168.1.0/24       11000000.10101000.00000001. 00000000
HostMin:   192.168.1.1          11000000.10101000.00000001. 00000001
HostMax:   192.168.1.254        11000000.10101000.00000001. 11111110
Broadcast: 192.168.1.255        11000000.10101000.00000001. 11111111
Hosts/Net: 254                   Class C, Private Internet

So, try using 192.168.35.0/255.255.255.0 (for example).
# 13  
Old 02-09-2009
hi,

You have given the output of ifconfig output

#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



But in this output your ip is showing in Up status, But not in running status, for this you have to add default route through command

route add default 192.168.35.1

default gatway ask your network ok it may be 192.168.35.1

add this entry in cat /etc/defaultrouter like this
default 192.168.35.1

then only you will get the status is Running then only you can ping from one zone to another zone

after adding route entry in globle zone you can see default entry automatically in non-globle zone also ok

check the link is comming in server or not in NIC card
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

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

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

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

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

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

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

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

9. 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
Login or Register to Ask a Question