Sponsored Content
Operating Systems Solaris Solaris zone with full working NIC Post 302870397 by Linusolaradm1 on Monday 4th of November 2013 04:38:02 AM
Old 11-04-2013
Quote:
Originally Posted by plmachiavel
Can you paste a copy of the zone's xml? (/etc/zones) or
Code:
zonecfg -z ZONENAME export

both would do it.

Code:
ifconfig -a

and
Code:
netstat -rn

from the global and local would also possibly help.
Sure.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
    DO NOT EDIT THIS FILE.  Use zonecfg(1M) instead.
-->
<zone name="prova2" zonepath="/raid1/zones/prova2" autoboot="false" brand="solaris" ip-type="exclusive">
  <network physical="vnic1" configure-allowed-address="true"/>
</zone>

globalzoneifconfig -a

Code:
 ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
net0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 192.168.0.241 netmask ffffff00 broadcast 192.168.0.255
        ether 8:0:27:a5:af:7f 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128 
net0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
        inet6 fe80::a00:27ff:fea5:af7f/10 
        ether 8:0:27:a5:af:7f

route global zone

Code:
 netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              192.168.0.1          UG        2         14 net0      
127.0.0.1            127.0.0.1            UH        2        536 lo0       
192.168.0.0          192.168.0.241        U         7        798 net0            

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- ----- 
localhost                   localhost                   UH      2      20 lo0   
fe80::/10                   fe80::a00:27ff:fea5:af7f    U       2       0 net0

zoneifconfig -a

ifconfig -a
Code:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
vnic1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.222 netmask ffffff00 broadcast 192.168.0.255
        ether 2:8:20:17:15:b5 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128 
vnic1: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
        inet6 ::/0 
        ether 2:8:20:17:15:b5


zoneroute

Code:
netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              192.168.0.1          UG        1          0           
solaris              solaris              UH        4        292 lo0       
192.168.0.0          192.168.0.222        U         3          3 vnic1     

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- ----- 
solaris                     solaris                     UH      2       0 lo0

---------- Post updated 04-11-13 at 04:38 AM ---------- Previous update was 03-11-13 at 09:50 AM ----------

I forgot one important thing...global zone is a virtualbox
guest,probably is this the problem.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to force NIC full 100 dpx in Solaris 8

Does any body knows how to force NIC to 100 Full Duplex in Solaris 8, should survive after reboot or shutdown. (1 Reply)
Discussion started by: s_aamir
1 Replies

2. Cybersecurity

How to force NIC full 100 dpx in Solaris 8

Does any body knows how to force NIC to 100 Full Duplex in Solaris 8, should survive after reboot or shutdown. (2 Replies)
Discussion started by: s_aamir
2 Replies

3. Solaris

change NIC to 1000 Mbps full duplex

Hi all, I tried to use this command ndd -set /dev/eri adv_1000fdx_cap 1 but i get a "operation failed, Invalid argument" anyone can help ? Thanks (5 Replies)
Discussion started by: DarReNz
5 Replies

4. IP Networking

NIC speed 100M/full duplex problem

I have a TOSHIBA AS7000 B150 Sun Box I wanted to run it with 100M/full duplex I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot. set eri:eri_adv_100fdx_cap=1 set eri:eri_adv_100hdx_cap=0 set eri:eri_adv_autoneg_cap=0 But when I... (4 Replies)
Discussion started by: AirWalker83
4 Replies

5. Solaris

Solaris 10, start inetd in a zone not working

Hello all, I`ve the following problem - I cannot start inetd in any way possible: bash-3.00# svcs inetd STATE STIME FMRI offline Jul_30 svc:/network/inetd:default bash-3.00# bash-3.00# svcadm enable -r inetd bash-3.00# svcs inetd STATE STIME FMRI... (6 Replies)
Discussion started by: click
6 Replies

6. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

7. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

8. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

9. UNIX for Beginners Questions & Answers

How to create a Solaris local zone with an exclusive NIC?

I'm trying to migrate a Solaris 10 flar archive from a Sun M3000 to a T4-1. When I first created the zone I followed the Oracle instructions here: Transitioning an Oracle Solaris 10 Instance to an Oracle Solaris 11 System - Transitioning From Oracle Solaris 10 to Oracle Solaris 11 That worked... (6 Replies)
Discussion started by: Michele31416
6 Replies
All times are GMT -4. The time now is 03:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy