# zlogin zone04
[Connected to zone 'zone04' pts/7]
4. Bond the VNICs you created as described in step 5 of Oracle Solaris: Creating
VNICs and Associating Them with VLANs..
5. Run the following command to display the bond you created in the previous step:
root@zone04:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
bond1/v4 static ok 138.3.51.2/22
lo0/v6 static ok ::1/128
Note the IP address of the bond you created.
6.
Run netstat -rn to display the routing table as in the following example:
root@zone04:~# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
127.0.0.1 127.0.0.1 UH 2 0 lo0
138.3.48.0 138.3.51.2 U 2 0 bond1
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
--------------------------- --------------------------- ----- --- ------- -----
::1 ::1 UH 2 0 lo0
7. Add the IP address of the bond you noted in step 5 by running the following
command:
root@zone04:~# route -p add default IP_address_of_bond
Example:
root@zone04:~# route -p add default 138.3.48.1
add net default: gateway 138.3.48.1
add persistent net default: gateway 138.3.48.1
8. Display the routing table again to verify that the IP address of the bond was added
as in the following example:
root@zone04:~# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 138.3.48.1 UG 1 0
127.0.0.1 127.0.0.1 UH 2 0 lo0
138.3.48.0 138.3.51.2 U 2 0 bond1
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
--------------------------- --------------------------- ----- --- ------- -----
::1 ::1 UH 2 0 lo0
Create a Solaris Zone
Manage Solaris Zones on Exalogic F-11