Oracle Solaris 커널 영역 만들기 및 사용

인쇄 보기 종료

업데이트 날짜: 2014년 12월
 
 

커널 영역 네트워크 장치 및 구성 관리

커널 영역은 net 또는 anet 리소스를 추가하여 커널 영역의 네트워크 액세스를 제공합니다. 이러한 두 리소스 유형에 대한 자세한 내용은 Oracle Solaris 영역 소개 의 영역 네트워크 인터페이스를 참조하십시오.

커널 영역에 대해 배타적 IP 영역을 사용해야 합니다. 배타적 IP 영역에 대한 자세한 내용은 Oracle Solaris 영역 만들기 및 사용 의 배타적 IP 영역 네트워크 주소를 참조하십시오.

중첩 영역 또는 커널 영역이 비전역 solarissolaris10 브랜드 영역을 호스팅하는 영역을 지원하도록 추가 MAC 주소를 제공할 수 있습니다. 중첩 영역에 대한 자세한 내용은 중첩 영역 관리를 참조하십시오.

선택적으로 영역 내에서 VNIC 주소를 식별할 네트워크 장치 ID를 지정하고 네트워크 인터페이스가 커널 영역에 표시되는 순서를 결정할 수 있습니다. 이 프로세스는 물리적 슬롯 간에 NIC를 이동하는 것과 유사합니다.

네트워크 영역 리소스를 설정하는 방법에 대한 일반적인 정보는 Oracle Solaris 영역 만들기 및 사용 의 1 장, 비전역 영역을 계획 및 구성하는 방법을 참조하십시오.

예 1-7  커널 영역에 추가 네트워크 리소스 추가

이 예에서는 커널 영역 kzone1에 네트워크 리소스를 추가하는 방법을 보여줍니다. 새 anet 인터페이스가 커널 영역에 표시되는 순서를 결정하기 위해 ID는 3으로 설정되었습니다.

global# zonecfg -z kzone1
zonecfg:kzone1> add anet
zonecfg:kzone1:anet> set id=3
global# zonecfg:kzone1:anet> end
zonecfg:kzone1> exit
예 1-8  커널 영역에서 네트워크 장치 제거

이 예에서는 커널 영역 kzone1에서 네트워크 장치를 제거하는 방법을 보여줍니다. 기존 anet 리소스에 대한 정보가 나열되고 값이 1인 anet 장치가 삭제됩니다.

global# zonecfg -z kzone1 info anet
anet:
        lower-link: auto
        allowed-address not specified
        allowed-dhcp-cids not specified
        link-protection: mac-nospoof
        mac-address: random
        mac-prefix not specified
        mac-slot not specified
        vlan-id not specified
        priority not specified
        rxrings not specified
        txrings not specified
        mtu not specified
        maxbw not specified
        rxfanout not specified
        vsi-typeid not specified
        vsi-vers not specified
        vsi-mgrid not specified
        etsbw-lcl not specified
        cos not specified
        id: 0
anet:
        lower-link: auto
        allowed-address not specified
        allowed-dhcp-cids not specified
        link-protection: mac-nospoof
        mac-address: default
        mac-prefix not specified
        mac-slot not specified
        vlan-id not specified
        priority not specified
        rxrings not specified
        txrings not specified
        mtu not specified
        maxbw not specified
        rxfanout not specified
        vsi-typeid not specified
        vsi-vers not specified
        vsi-mgrid not specified
        etsbw-lcl not specified
        cos not specified
        id: 1
global# zonecfg -z kzone1 remove anet id=1