may be you need a defrouter

On 9/7/2011 4:00 PM, carlopmart wrote:
On 09/07/2011 08:27 PM, carlopmart wrote:
Hi all,

I have installed a new OpenIndiana host oi_151 to use zones. I have
installed as a test one zone:

root@oitst01:~# zoneadm list -iv
ID NAME STATUS PATH BRAND IP
0 global running / ipkg shared
11 proxysrv running /zones/proxysrv ipkg excl

Using ip exclude option, from zone to network ping doesn't works, but
between global zone and proxysrv zone, ping works. OI host can ping to
all hosts on my network.

On global zone I have setup a virtual nic:

root@oitst01:~# dladm show-vnic
LINK OVER SPEED MACADDRESS MACADDRTYPE VID
vnic0 e1000g0 1000 2:8:20:87:3c:db random 0

And zone xml file is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN"
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
DO NOT EDIT THIS FILE. Use zonecfg(1M) instead.
-->
<zone name="proxysrv" zonepath="/zones/proxysrv" autoboot="false"
brand="ipkg" ip-type="exclusive">
<network physical="vnic0"/>
</zone>

Ip config on zone is:

oot@proxy:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
vnic0/_a static ok 172.25.50.21/27
lo0/v6 static ok ::1/128

and routing table:

root@proxy:~# netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 172.25.50.1 UG 1 0
127.0.0.1 127.0.0.1 UH 2 0 lo0
172.25.50.0 172.25.50.21 U 3 23 vnic0

Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
--------------------------- --------------------------- ----- ---
------- -----
::1 ::1 UH 2 0 lo0

Ip config on global is:

root@oitst01:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
e1000g0/v4static static ok 172.25.50.26/27
lo0/v6 static ok ::1/128

and routing table:

root@caradhras:~# netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 172.25.50.1 UG 2 1106 e1000g0

127.0.0.1 127.0.0.1 UH 2 216 lo0
172.25.50.0 172.25.50.26 U 6 15435 e1000g0

Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
--------------------------- --------------------------- ----- ---
------- -----
::1 ::1 UH 2 0 lo0

What am I doing wrong??

Please, any help??


<<attachment: laotsao.vcf>>

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to