Fujitsu PCI Gigabit Ethernet User Manual page 74

Pci gigabit ethernet 4.1 update2 / 5.0 for oracle solaris
Table of Contents

Advertisement

zonecfg:zonename> add net
zonecfg:zonename:net> set address=IP-address/prefixlen (Specify IP address and prefix length.)
zonecfg:zonename:net> set physical=Interface
zonecfg:zonename:net> end
zonecfg:zonename> exit
Example: Adding fjgi0 to a Shared-IP Non-Global Zone (zone1).
# zonecfg -z zone1
zonecfg:zone1> set ip-type=shared
zonecfg:zone1> add net
zonecfg:zone1:net> set address=192.168.150.1/24
zonecfg:zone1:net> set physical=fjgi0
zonecfg:zone1:net> end
zonecfg:zone1> exit
(Note 1) In Solaris 11,zonecfg create -b command must be executed to create a Shared-IP
Non-Global Zone.
(Note 2) In Solaris 11, the vanity name (net2) is specified as fjgi0.
(Note 3) Reboot the Shared-IP Non-Global Zone to make this setting effective.
If the Shared-IP Non-Global Zone has not booted, execute the following command.
# zoneadm -z zonename boot
If the Shared-IP Non-Global Zone has booted, execute the following command.
# zoneadm -z zonename reboot
-
The following example shows how to remove an interface from a Shared-IP Non-Global Zone (zonecfg remove net)
zonecfg -z zonename
zonecfg:zonename> remove net address=IP-address
zonecfg:zonename> exit
Example: Removing fjgi0 from a Shared-IP Non-Global Zone (zone1).
# zonecfg -z zone1
zonecfg:zone1> remove net address=192.168.150.1
zonecfg:zone1> exit
(Note) Reboot the Shared-IP Non-Global Zone to make this setting effective.
If the Shared-IP Non-Global Zone has not booted, execute the following command.
# zoneadm -z zonename boot
If the Shared-IP Non-Global Zone has booted, execute the following command.
# zoneadm -z zonename reboot
-
The following example shows how to add an interface to an Exclusive-IP Non-Global Zone (zonecfg set ip-type/zonecfg add net)
zonecfg -z zonename
zonecfg:zonename> set ip-type=exclusive
zonecfg:zonename> add net
zonecfg:zonename:net> set physical=Interface
zonecfg:zonename:net> end
zonecfg:zonename> exit
Example: Adding fjgi2 to an Exclusive-IP Non-Global Zone (zone2).
# zonecfg -z zone2
zonecfg:zone2> set ip-type=exclusive
zonecfg:zone2> add net
zonecfg:zone2:net> set physical=fjgi2
zonecfg:zone2:net> end
zonecfg:zone2> exit
(Begin adding network.)
(Specify network interface.)
(Finish adding network.)
(End of command.)
(Specify Zone Name.)
(Specify IP address.)
(End of command.)
(Specify Zone Name.)
(Specify Exclusive-IP Non-Global Zone.)
(Begin adding network.)
(Specify network interface.)
(Finish adding network.)
(End of command.)
- 68 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Se0x7gd2xSe0x7gq1xSe0x7gq2x

Table of Contents