[OpenIndiana-discuss] Building in zones

James Carlson carlsonj at workingcode.com
Wed May 2 12:06:55 UTC 2012


Andrew Myers wrote:
> root at zone1:~# ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
>     inet 127.0.0.1 netmask ff000000 
> vnic0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
>     inet 10.0.0.8 netmask ffffff00 broadcast 10.0.0.255
>     ether 2:8:20:c6:27:23 
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
>     inet6 ::1/128 
> root at zone1:~# ping www.yahoo.com
> ping: unknown host www.yahoo.com
> root at zone1:~# 

Some things to check:

  - check routing in the zone with "netstat -nr"
  - check name resolution in the zone, both /etc/nsswitch.conf and
    /etc/resolv.conf.

My bet would be that /etc/nsswitch.conf doesn't have the necessary
"hosts: dns" setting ... but other problems are possible.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>



More information about the OpenIndiana-discuss mailing list