Minggu, 28 November 2010

Setup Network Configuration in Zone


· Plumb NIC network for zone

global# ifconfig e1000g1 plumb

global# zonecfg -z zone1

zonecfg:zone1> add net

zonecfg: zone1:net> set physical=e1000g1 <------ set physical network

zonecfg: zone1:net> set address=192.168.0.43 <------ set network address

zonecfg: zone1:net> set defrouter=192.168.0.2 <------ set default router address

zonecfg: zone1:net> end

zonecfg: zone1> verify

zonecfg: zone1> commit

· list of configuration

zonecfg: zone1> info

zonename: zone1

zonepath: /test1/zone1

brand: native

autoboot: true

bootargs:

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

fs:

dir: /etc/passwd

special: /etc/passwd

raw not specified

type: lofs

options: [ro]

fs:

dir: /etc/shadow

special: /etc/shadow

raw not specified

type: lofs

options: [ro]

net:

address: 192.168.0.43

physical: e1000g1

defrouter: 192.168.0.2

Tidak ada komentar:

Posting Komentar