beginner setting up solaris 10 container and having network card problems
807559Aug 25 2009 — edited Aug 27 2009Hi I am just learning about solaris containers and am having an issue of getting my new zone to be seen on the network.
I have installed the global zone server name GPSAPP02 network address of 192.168.200.45 works fine.
I created :-
a pool called "ellipse-pool" using pooladm/poolcfg
a zone called "ellipse-zone" using zoneadm/zonecfg
I used the followijng commands...
zoneadm list -cv
zonecfg -z ellipse-zone
create --
set zonepath=/zfspool/zones/ellipse-zone
set autoboot=true
add net
set address=192.168.200.46/24
set physical=eri0
set defrouter=192.168.200.254
end
set pool=ellipse-pool
verify
commit
exit
The output from the "zonecfg -z ellipse-zone info" command is below:-
zonename: ellipse-zone
zonepath: /zfspool/zones/ellipse-zone
brand: native
autoboot: true
bootargs:
pool: ellipse-pool
limitpriv:
scheduling-class:
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 192.168.200.46/24
physical: eri0
defrouter not specified
I then installed the zone and rebooted using zoneadm.
I can login to the zone and setup the timezone and terminal etc.
I gave this a hostname of GPSEL01 as this is what I want it to be known as on the network.
So far so good but from the network I cannot ping the IP address I assigned to the zone 192.168.200.46
What have I missed or what should I check to troubleshoot this?
I ran a ifconfig -a and received the following information...
ifconfig -a
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
#
# ifconfig lo0:1 192.168.200.46 netmask 255.255.255.0 up
ifconfig: SIOCSLIFNETMASK: lo0:1: permission denied