Chris wrote:
> Hi,
> 
> I am new to vnic and I m trying to setup a zone using one.
> I followed a guide I found on a blog however at the end, somehow, the zone 
> can't ping anything but itself and the global domain.
> 
> I can ping the zone just fine though from other computers.
> 
> Global domain (192.168.2.50):
> ----------------------------
> root at server:/etc# dladm show-link
> LINK        CLASS     MTU    STATE    BRIDGE     OVER
> bnx1        phys      1500   up       --         --
> bnx0        phys      1500   up       --         --
> devdb0      vnic      1500   up       --         bnx0
> 
> Zone devdb (192.168.2.52):
> --------------------------------
> root at server:/etc# zonecfg -z devdb info
> zonename: devdb
> zonepath: /data/zones/devdb
> brand: ipkg
> autoboot: false
> bootargs:
> pool:
> limitpriv:
> scheduling-class:
> ip-type: exclusive
> hostid:
> net:
>         address not specified
>         physical: devdb0
>         defrouter not specified
> 
> 
> root at devdb:~# ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
> index 1
>         inet 127.0.0.1 netmask ff000000
> devdb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>         inet 192.168.2.52 netmask ffffff00 broadcast 192.168.2.255
>         ether 2:8:20:f2:e1:23
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
> index 1
>         inet6 ::1/128
> 
> 
> root at devdb:~# netstat -nr
> Routing Table: IPv4
>   Destination           Gateway           Flags  Ref     Use     Interface
> -------------------- -------------------- ----- ----- ---------- ---------
> default              192.168.2.1          UG        1          0
> 192.168.2.0          192.168.2.52         U         1          0 devdb0
> 127.0.0.1            127.0.0.1            UH        1          0 lo0
> 
> 
> The default gateway is pretty weird as it does not show the used interface. 
> That might be the issue but I don't know how to fix it.

The default route looks reasonable to me, but ultimately it depends on 
the network you are connected to.

> 
> Did i miss something else ? any idea ?

It's hard to say without having more information on the rest of your 
host and network configuration.

For instance how did you pick the IP address for your VNIC? Is that 
address valid on the network bnx0 is connected to? Is bnx0 configured on 
the global zone? If so can you ping it from the non-global zone?

Nicolas.


> 
> Thanks in advance !
> Chris

Reply via email to