[AIX 네트워크 관리 23] TCP/IP (17) Mobile IPv6, 가상 IP 주소(VIPA), EtherChannel 개요

핵심 정리

  • Mobile IPv6: 노드는 홈 주소(고정)와 care-of 주소(옮길 때마다 바뀜)를 갖고, 홈 에이전트에 binding update를 보내 binding cache에 연결합니다. 홈 에이전트·상대 노드 사이의 binding 메시지는 ESP(인증 알고리즘이 NULL이 아닌)로 보호해야 하며, bos.net.mobip6.rte 설치 뒤 smit enable_mobip6_home_agent, smit enable_mobip6_correspondent, 라우터는 ndpd-router -m, 상태는 mobip6ctrl -b.
  • VIPA(가상 IP 주소)는 물리 인터페이스에 묶이지 않은 주소라, 어댑터 하나가 고장 나도 라우팅 프로토콜이 다른 인터페이스로 돌려 연결이 유지됩니다. smit mkinetvi(IPv6는 mkinetvi6)로 만들고 smit chvi에서 ADD/REMOVE로 어댑터 묶음을 바꿉니다. vi0는 라우팅 테이블에 인터페이스 경로가 생기지 않습니다.
  • VIPA는 별칭과 달리 물리 인터페이스와 따로 올리고 내릴 수 있고 주소를 바꿀 수 있습니다. 실제 어댑터 주소로 접속하면 VIPA의 장점이 사라집니다. gated의 OSPF가 가상 인터페이스를 광고합니다.
  • EtherChannel과 IEEE 802.3ad는 이더넷 어댑터 여럿을 가짜 어댑터 하나로 묶고 모두 같은 MAC을 씁니다. EtherChannel 하나에 주 어댑터 8개까지와 백업 어댑터 1개(다른 스위치에 연결)를 둘 수 있습니다. 802.3ad는 LACPDU heartbeat를 교환합니다.
  • 구성 전: 묶을 어댑터에는 IP를 두지 말고 인터페이스를 detach 상태로(smitty chinet), 속도·이중 모드를 맞추고 속성은 미리 바꿉니다. 점보 프레임은 EtherChannel 자체에서 켜면 됩니다. NIM 클라이언트의 EtherChannel 위 네트워크 부팅·설치는 지원하지 않습니다.
항목 내용
버전 AIX 5.3, AIX 6.1 (6.1에서 HEA·스택 스위치 관련 내용과 비교 표가 바뀜)
원문 Networks and communication management — 5.3판 254262쪽, 6.1판 356364쪽
파일·파일 세트 bos.net.mobip6.rte, /etc/rc.mobip6
관련 명령어 mobip6ctrl, ndpd-router, smit mkinetvi, smit chvi, lsattr, ifconfig, netstat, smitty chinet, smitty chgenet, no

Mobile IPv6는 IPv6의 이동성을 지원합니다. 전 세계 어디서나 같은 인터넷 주소를 유지하게 하고, 그 주소를 쓰는 응용 프로그램이 위치를 바꿀 때 전송 계층과 상위 계층 연결을 유지하게 합니다. 같은 종류의 매체 사이와 다른 종류의 매체 사이 이동을 모두 허용합니다.

예를 들어 Mobile IPv6는 이동 노드의 IP 주소를 바꾸지 않은 채 노드가 이더넷 세그먼트에서 무선 LAN 셀로 옮기는 일을 쉽게 합니다.

Mobile IPv6에서 각 이동 노드는 홈 주소와 care-of 주소, 두 IP 주소로 식별됩니다. 홈 주소는 위치와 관계없이 이동 노드를 식별하는 영구 IP 주소입니다. care-of 주소는 새로 붙는 지점마다 바뀌며 이동 노드의 현재 상황 정보를 줍니다. 이동 노드가 방문 네트워크에 도착하면 care-of 주소를 얻어야 하며, 이동 노드가 방문 네트워크의 그 위치에 있는 동안 이 주소를 씁니다. care-of 주소를 얻는 데 IPv6 이웃 발견(Neighbor discovery/stateless address autoconfiguration 참고) 방법을 쓸 수 있습니다. 상태 비저장과 상태 저장 자동 구성 모두 가능합니다. care-of 주소를 직접 구성할 수도 있습니다. care-of 주소를 어떻게 얻는지는 Mobile IPv6와 관계없습니다.

홈 네트워크에는 홈 에이전트가 적어도 하나 구성되어 있어야 하고, 이동 노드는 홈 에이전트의 IP 주소를 알도록 구성되어 있어야 합니다. 이동 노드는 binding update가 든 패킷을 홈 에이전트에 보냅니다. 홈 에이전트는 패킷을 받아 이동 노드의 홈 주소와 받은 care-of 주소를 연결합니다. 홈 에이전트는 binding acknowledgment가 든 패킷으로 응답합니다.

홈 에이전트는 자기가 서비스하는 이동 노드의 홈 주소와 care-of 주소 사이의 연결이 든 binding cache를 유지합니다. 홈 에이전트는 홈 주소로 가는 패킷을 가로채 이동 노드로 전달합니다. 그러면 이동 노드는 상대 노드(correspondent node)에 binding update를 보내 자기 care-of 주소를 알리고, 상대 노드는 앞으로의 트래픽을 care-of 주소의 이동 노드로 바로 보낼 수 있도록 binding cache 항목을 만듭니다.

AIX의 이동성 지원은 다음 기본 기능을 제공합니다.

홈 에이전트 노드로서

  • 서비스하는 각 이동 노드마다 binding cache에 항목을 유지합니다.
  • 이동 노드가 집을 떠나 있는 동안, 지금 홈 에이전트로 서비스하는 이동 노드로 가는 패킷을 그 이동 노드의 홈 링크에서 가로챕니다.
  • 가로챈 패킷을 캡슐화해, 홈 에이전트 binding cache의 binding에 나온 이동 노드의 주 care-of 주소로 터널링합니다.
  • acknowledge 비트가 설정된 binding update 옵션을 받으면 binding acknowledgment 옵션을 돌려줍니다.
  • IPv6 주소가 고유하도록 이동 노드의 care-of 주소에 대해 중복 주소 감지(Duplicate Address Detection)를 처리합니다.
  • 이동 노드가 홈 에이전트 주소를 찾도록 돕는 동적 홈 에이전트 주소 발견(Dynamic Home Agent Address Discovery)을 지원합니다.
  • Mobile Prefix Solicitation 수신과 Mobile Prefix Advertisement 송신을 지원합니다.

고정 상대 노드로서

  • 어떤 IPv6 패킷으로든 받은 홈 주소 옵션을 처리합니다.
  • 패킷으로 받은 binding update 옵션을 처리하고, 받은 binding update에 acknowledge(A) 비트가 설정되어 있으면 binding acknowledgement 옵션을 돌려줍니다.
  • 받아들인 binding update로 받은 binding의 binding cache를 유지합니다.
  • 이동 노드의 현재 care-of 주소가 든 binding cache 항목이 있으면 라우팅 헤더를 써서 패킷을 보냅니다.

이동 노드가 방문한 네트워크의 라우터 노드로서

  • 이동 노드의 이동 감지를 돕도록 라우터 광고에 광고 간격 옵션을 넣어 보냅니다. ndpd-router 데몬의 -m 매개변수로 구성합니다.
  • RFC 2461에 설명된 더 빠른 속도로 요청하지 않은 멀티캐스트 라우터 광고를 보내는 것을 지원합니다. ndpd-router 데몬의 -m과 -D 매개변수로 구성합니다.
  • 이동 노드가 홈 에이전트를 고르도록 돕도록 라우터 광고에 Home Agent Information 옵션(홈 에이전트 선호도와 수명)을 넣어 보냅니다. ndpd-router 데몬의 -H 매개변수로 구성합니다.
영어 원문

Mobile IPv6

Mobile IPv6 provides mobility support for IPv6. It allows you to keep the same internet address all over the world, and allows applications using that address to maintain transport and upper-layer connections when changing locations. It allows mobility across homogenous and heterogeneous media.

For example, Mobile IPv6 facilitates node movement from an Ethernet segment to a wireless LAN cell while the mobile node's IP address remains unchanged.

In Mobile IPv6, each mobile node is identified by two IP addresses: its home address and its care-of address. The home address is a permanent IP address that identifies the mobile node regardless of its location. The care-of address changes at each new point of attachment and provides information about the mobile node's current situation. When a mobile node arrives to a visited network, it must acquire a care-of address, which will be used during the time that the mobile node is under this location in the visited network. It may use the methods of IPv6 Neighborhood Discovery to get the care-of address (see Neighbor discovery/stateless address autoconfiguration). Both stateless and stateful autoconfiguration are possible. The care-of address can also be manually configured. How the care-of address is acquired is irrelevant to Mobile IPv6.

There must be at least one home agent configured on the home network, and the mobile node must be configured to know the IP address of its home agent. The mobile node sends a packet containing a binding update to the home agent. The home agent receives the packet and makes an association between the home address to the mobile node and the care-of address it received. The home agent responds with a packet containing a binding acknowledgment.

The home agent keeps a binding cache containing associations between the home addresses and the care-of addresses for the mobile nodes it serves. The home agent will intercept any packets destined for the home address and forward them to the mobile nodes. A mobile node will then send a binding update to the correspondent node informing it of its care-of address, and the correspondent node will create a binding cache entry so that it can send future traffic directly to the mobile node at its care-of address.

Mobility support in AIX provides the following basic functions:

As a Home Agent node:

  • Maintain an entry in its binding cache for each mobile node for which it is serving.

  • Intercept packets addressed to a mobile node for which it is currently serving as the home agent, on that mobile node's home link, while the mobile node is away from home.

  • Encapsulate such intercepted packets in order to tunnel them to the primary care-of address for the mobile node indicated in its binding in the home agent's binding cache.

  • Return a binding acknowledgment option in response to a binding update option received with the acknowledge bit set.

  • Process the Duplicate Address Detection on the mobile node's care-of address to ensure the IPv6 addresses are unique.

  • Support Dynamic Home Agent Address Discovery to assist the mobile nodes is discovering the addresses of the home agents.

  • Support the reception of Mobile Prefix Solicitation and the sending of Mobile Prefix Advertisement.

As a Stationary Correspondent node:

  • Process a home address option received in any IPv6 packet

  • Process a binding update option received in a packet and to return a binding acknowledgement option if the acknowledge (A) bit is set in the received binding update

  • Maintain a binding cache of the bindings received in accepted binding updates

  • Send packets using a routing header when there is a binding cache entry for a mobile node that contains the mobile node's current care-of address

As a Router node in a Network visited by the mobile node:

  • Send an advertisement interval option in its router advertisements to aid movement detection by mobile nodes. It is configurable by the -m parameter in the ndpd-router daemon.

  • Support sending unsolicited multicast router advertisements at the faster rate described in RFC 2461. It is configurable by the -m and -D parameters in the ndpd-router daemon.

  • Send a Home Agent Information option (home agent preference and lifetime) in its router advertisements to aid mobile nodes to choose their home agent. It is configurable by the -H parameter in the ndpd-router daemon.

Mobile IPv6 보안

이동 노드와 홈 에이전트가 주고받는 binding update와 binding acknowledgement 메시지는 NULL이 아닌 페이로드 인증 알고리즘을 쓰는 ESP(Encapsulating Security Payload) 보호로 IP Security의 보호를 받아야 합니다.

IP Security에 관한 자세한 정보는 Security를 봅니다.

이동 노드와 상대 노드 사이의 binding 설정은 Return Routability 절차로 안전하게 합니다. 이 절차에서 홈 에이전트 노드와 이동 노드가 주고받는 메시지도 ESP를 쓰는 IP Security로 보호해야 합니다. 상대 노드와 이동 노드가 주고받는 binding update와 binding acknowledgement 메시지는 Return Routability 절차로 보호되므로 상대 노드에는 IP Security 요구 사항이 없습니다. 그러나 상대 노드가 접근을 제한하려고 IP Security를 쓴다면 프로토콜 MH(135) 메시지를 허용해야 합니다.

터널은 직접 정의하거나 응답자(responder)로 동작하는 IKE로 정의할 수 있습니다(aggressive 모드만 지원). 홈 에이전트에는 최소한 ESP 헤더를 쓰는 다음 IP Security 터널을 정의합니다.

  • 홈 에이전트 IP 주소와, 이 홈 에이전트에 등록될 수 있는 각 이동 노드의 홈 주소 사이에 프로토콜 MH(135)의 전송 모드 터널
  • 아무 IP 주소와, 이 홈 에이전트에 등록될 수 있는 각 이동 노드의 홈 주소 사이에 프로토콜 MH(135)의 터널 모드 터널. 이동 노드에도 대응하는 터널을 정의해야 합니다.

참고: binding update와 binding acknowledgement 메시지는 Mobility Header로 보내며 ESP를 쓰는 IP Security로 보호해야 합니다.

AIX의 이전 Mobile IPv6 구현에서는 Destination Option 패킷으로 binding update 메시지를 보내는 이동 노드를 지원했습니다. 이 메시지는 Authentication Header를 쓰는 IP Security로 보호할 수 있었습니다.

홈 에이전트나 상대 노드가 Destination Option을 쓰는 이런 binding update 메시지를 받아들이게 하려면, Mobile IPv6를 시작하기 전에 /etc/rc.mobip6 파일을 편집해 Enable_Draft13_Mobile 변수를 켭니다. 이 경우 binding update 메시지를 IP Security로 보호한다면 프로토콜 60에 전송 모드의 수동이나 IKE 터널을 정의해야 하며, 이것이 Binding Update와 Acknowledgement 메시지를 보호합니다.

홈 에이전트나 상대 노드가 IP Security로 보호되지 않는 binding update 메시지를 받아들이게 하려면 /etc/rc.mobip6 파일을 편집해 Check_IPsec 변수를 끕니다. 이 방법은 이동 노드로 가는 패킷의 라우팅에 영향을 줄 수 있어 심각한 보안 취약점이 되므로 권하지 않습니다.

영어 원문

Mobile IPv6 security

The binding update and binding acknowledgement messages exchanged between the mobile node and the home agent must be protected by IP Security using Encapsulating Security Payload (ESP) protection with a non-NULL payload authentication algorithm.

For more information about IP Security, see Security.

The binding establishment between the mobile node and the correspondent node is made secure by using the Return Routability procedure. In this procedure, the messages that are exchanged between the home agent node and the mobile nodes should also be protected by IP Security using ESP. Because the binding update and binding acknowledgement messages exchanged between a correspondent node and a mobile node are protected by the Return Routability procedure, there are no IP Security requirements for the correspondents. But, if a correspondent uses IP Security to restrict its access, the messages with protocol MH (135) must be permitted.

Tunnels can be defined manually or using IKE acting as responder (only aggressive mode is supported). At a minimum, the following IP Security tunnels will be defined on the home agent using the ESP header:

  • a tunnel in transport mode with protocol MH (135) between the home agent IP address and the home address of each mobile node susceptible to be registered on this home agent.

  • a tunnel in tunnel mode with protocol MH (135) between any IP address and the home address of each mobile node susceptible to be registered on this home agent. Corresponding tunnels must be defined on the mobile nodes.

Note: The binding update and binding acknowledgement messages are sent using a Mobility Header and must be protected by IP Security using ESP.

In previous implementations of Mobile IPv6 in AIX, support was provided for mobile nodes using Destination Option packets to send binding update messages. These messages could be protected with IP Security using an Authentication Header.

For a home agent or a correspondent node to accept such binding update messages using a Destination Option, edit the /etc/rc.mobip6 file and enable the Enable_Draft13_Mobile variable before starting Mobile IPv6. In this case, if you use IP Security to protect the binding update messages, you must define manual or IKE tunnels in transport mode on protocol 60, which will protect the Binding Update and Acknowledgement messages.

For a home agent or a correspondent node to accept binding update messages not protected by IP Security, edit the /etc/rc.mobip6 file and disable the Check_IPsec variable. This method is not recommended because it presents a significant security vulnerability through the ability to affect the routing of packets addressed to a mobile node.

Mobile IPv6 구성

Mobile IPv6 구성 정보입니다. Mobile IPv6를 쓰려면 먼저 bos.net.mobip6.rte 파일 세트를 설치해야 합니다.

파일 세트 설치는 Installation and migration의 Installing optional software products and service updates를 봅니다.

홈 에이전트로 Mobile IPv6 시작

  1. 홈 에이전트 IP 주소와 상대 노드가 통신할 수 있는 각 이동 홈 주소 사이에, ESP 프로토콜을 쓰는 응답자로서의 IKE 터널(1·2단계)이나 수동 ESP IP Security Association을 정의합니다.
  2. 시스템을 Mobile IPv6 홈 에이전트와 상대 노드로 켭니다. 명령행에 smit enable_mobip6_home_agent를 입력합니다.
  3. 언제 켤지 고릅니다.

상대 노드로 Mobile IPv6 시작

  1. 홈 에이전트 IP 주소와 상대 노드가 통신할 수 있는 각 이동 홈 주소 사이에, ESP 프로토콜을 쓰는 응답자로서의 IKE 터널(1·2단계)이나 수동 ESP IP Security Association을 정의합니다.
  2. 시스템을 Mobile IPv6 상대 노드로 켭니다. 명령행에 smit enable_mobip6_correspondent를 입력합니다.
  3. 언제 켤지 고릅니다.

라우터로 Mobile IPv6 시작

이동 감지를 돕도록 다음 명령을 실행합니다.

text
ndpd-router -m

Mobile IPv6 정지

  1. 명령행에 smit disable_mobip6을 입력합니다.
  2. 언제 Mobile IPv6를 멈출지 고릅니다.
  3. ndpd-router 데몬을 멈출지 고릅니다.
  4. IPv6 포워딩을 끌지 고릅니다.
영어 원문

Mobile IPv6 configuration

This introduces information about configuring Mobile IPv6. In order to use Mobile IPv6, you must first install the bos.net.mobip6.rte fileset.

For information about installing filesets, see Installing optional software products and service updates in Installation and migration

Starting Mobile IPv6 as a home agent

Use this procedure to start Mobile IPv6 as a home agent.

  1. Define either IKE tunnels (phases 1 and 2) as responder using the ESP protocol or manual ESP IP Security Association between the home agent IP address and each mobile home address the correspondent may communicate with.

  2. Enable the system as a Mobile IPv6 home agent and correspondent node. At the command line, type smit enable_mobip6_home_agent.

  3. Select when you want it enabled.

Starting Mobile IPv6 as a correspondent

Use this procedure to start Mobile IPv6 as a correspondent.

  1. Define either IKE tunnels (phases 1 and 2) as responder using ESP protocol or manual ESP IP Security Association between the home agent IP address and each mobile home address the correspondent may communicate with.

  2. Enable the system as a Mobile IPv6 correspondent node. At the command line, type smit enable_mobip6_correspondent.

  3. Select when you want it enabled.

Starting Mobile IPv6 as a router

Use this procedure to start Mobile IPv6 as a router.

Run the following command to facilitate movement detection:

text
ndpd-router -m

Stopping Mobile IPv6

Use this procedure to stop Mobile IPv6.

  1. Type smit disable_mobip6 at the command line.

  2. Select when you want Mobile IPv6 stopped.

  3. Select whether you want to stop the ndpd-router daemon.

  4. Select whether you want to disable IPv6 forwarding.

Mobile IPv6 문제 해결

Mobile IPv6 문제는 mobip6ctrl -b 명령으로 해결합니다.

  1. 다음을 실행해 binding 상태를 얻습니다.
text
mobip6ctrl -b
  1. TCP/IP 문제 해결 도구 사용법은 TCP/IP troubleshooting을 봅니다.
영어 원문

Troubleshooting Mobile IPv6

Use the mobip6ctrl -b command to troubleshoot Mobile IPv6.

  1. Get the binding states by running the following:
text
mobip6ctrl -b
  1. See TCP/IP troubleshooting for information on using the TCP/IP troubleshooting utilities.

가상 IP 주소(VIPA)

가상 IP 주소(VIPA)는 호스트가 개별 네트워크 인터페이스에 의존하지 않게 합니다.

들어오는 패킷은 시스템의 VIPA 주소로 보내지지만, 모든 패킷은 실제 네트워크 인터페이스를 거쳐 다닙니다.

예전에는 인터페이스가 고장 나면 그 인터페이스로의 연결이 모두 끊겼습니다. 시스템에 VIPA가 있고 네트워크 안의 라우팅 프로토콜이 자동 우회 경로를 제공하면, 패킷이 다른 물리 인터페이스로 도착할 수 있는 한 가상 인터페이스를 쓰는 기존 사용자 연결을 끊지 않고 고장에서 복구합니다. 어댑터 중단이 활성 연결에 더는 영향을 주지 않으므로 VIPA를 실행하는 시스템은 가용성이 높습니다. 여러 물리 어댑터가 시스템 IP 트래픽을 나르므로 전체 부하가 어댑터 하나와 그 서브넷에 몰리지 않습니다.

AIX VIPA 기능은 네트워크 장비에 투명합니다. 특별한 네트워크 장비나 다른 하드웨어가 필요 없습니다. VIPA를 구현하려면 다음이 있어야 합니다.

  • 회사 네트워크에 연결되는, 서로 다른 서브넷에 있는 물리 종류 무관의 기존 IP 인터페이스 둘 이상
  • 회사 네트워크 안에서 실행되는 IP 라우팅 프로토콜
영어 원문

Virtual IP address

A virtual IP address eliminates a host's dependency upon individual network interfaces.

Incoming packets are sent to the system's VIPA address, but all packets travel through the real network interfaces.

Previously, if an interface failed, any connections to that interface were lost. With VIPA on your system and routing protocols within the network providing automatic reroute, recovery from failures occurs

without disruption to the existing user connections that are using the virtual interface as long packets can arrive through another physical interface. Systems running VIPA are more highly available because adapter outages no longer affect active connections. Because multiple physical adapters carry the system IP traffic, overall load is not concentrated on a single adapter and associated subnet.

The AIX VIPA function is transparent to the network equipment. No special network equipment or other hardware is needed. To implement VIPA, you need to have the following items:

  • two or more existing IP interfaces of any physical type on different subnets that connect into the corporate network

  • IP routing protocols running within the corporate network

VIPA 구성

VIPA는 다른 IP 네트워크 인터페이스처럼 SMIT에서 구성합니다. 또 VIPA를 구성할 때 인터페이스 묶음을 지정할 수 있습니다.

이렇게 구성하면, VIPA를 쓰도록 지정한 이 인터페이스들을 거쳐 VIPA 호스트가 시작하는 모든 나가는 연결에서, 나가는 패킷의 TCP/IP 패킷 헤더에 넣는 출발지 주소가 가상 주소가 됩니다.

  1. IPv4 VIPA는 명령행에 smit mkinetvi를 입력합니다. IPv6 VIPA는 smit mkinetvi6을 입력합니다.
  2. 필수 필드를 채웁니다. 추가 정보는 VIPA 환경 예를 봅니다. Enter를 누릅니다.
영어 원문

Configuring VIPA

VIPA is configured, just as any IP network interface, in SMIT. In addition, you can specify a group of interfaces while configuring VIPA.

When configured this way, for all the outgoing connections initiated by the VIPA host via these interfaces, which are designated to use a VIPA, the virtual address becomes the source address placed in the TCP/IP packet header of the outgoing packets.

  1. For an IPv4 VIPA, type smit mkinetvi on the command line. For an IPv6 VIPA, type smit mkinetvi6 on the command line.

  2. Fill in the required fields. For additional information, see the “Sample VIPA environment.” Press Enter.

VIPA에 어댑터 더하기

VIPA 인터페이스에 어댑터를 더하려면 다음 단계를 따릅니다.

  1. 명령행에 smit chvi를 입력합니다.
  2. 어댑터를 더할 VIPA를 고르고 Enter를 누릅니다.
  3. Interface Name(s) 필드에 더할 어댑터를 입력합니다.
  4. ADD/REMOVE interface(s) 필드에 ADD를 입력하고 Enter를 누릅니다.
영어 원문

Adding an adapter to a VIPA

Use this procedure to add an adapter to a virtual IP address.

To add an adapter to your VIPA interface, follow these steps:

  1. Type smit chvi on the command line.

  2. Select the VIPA to which you want to add an adapter and press Enter.

  3. Enter the adapter that you want to add in the Interface Name(s) field.

  4. Type ADD in the ADD/REMOVE interface(s) field and press Enter.

VIPA에서 어댑터 빼기

VIPA에서 어댑터를 빼려면 다음 단계를 따릅니다.

  1. 명령행에 smit chvi를 입력합니다.
  2. 어댑터를 뺄 VIPA를 고르고 Enter를 누릅니다.
  3. Interface Name(s) 필드에 뺄 어댑터를 입력합니다.
  4. ADD/REMOVE interface(s) 필드에 REMOVE를 입력하고 Enter를 누릅니다.
영어 원문

Removing an adapter from a VIPA

Use this procedure to remove an adapter from a virtual IP address.

To remove an adapter from a VIPA, follow these steps:

  1. Type smit chvi on the command line.

  2. Select the VIPA from which you want to remove an adapter, and press Enter.

  3. Enter the adapter that you want to remove in the Interface Name(s) field.

  4. Type REMOVE in the ADD/REMOVE interface(s) field and press Enter.

VIPA 환경 예

다음은 이더넷 연결을 쓰는 VIPA 환경 예로, 가상 IP 주소 하나와 물리 연결 두 개가 있는 시스템입니다.

시스템에 가상 IP 주소 vi0(10.68.6.1)과 물리 연결 두 개, 곧 IP 주소 10.68.1.1인 en1과 IP 주소 10.68.5.1인 en5가 있습니다. 이 예에서 두 물리 연결은 모두 이더넷이지만, 서브넷이 결국 더 큰 회사 네트워크에 붙어 있고 회사 라우터가 알고 있다면 토큰링이나 FDDI 같은 IP 인터페이스를 섞어 써도 됩니다.

lsattr -El vi0 명령을 실행하면 다음과 같이 나옵니다.

text
netaddr          10.68.6.1      N/A                                         True
state            up             Standard Ethernet Network Interface         True
netmask          255.255.255.0  Maximum IP Packet Size for This Device      True
netaddr6                        Maximum IP Packet Size for REMOTE Networks  True
alias6                          Internet Address                            True
prefixlen                       Current Interface Status                    True
alias4                          TRAILER Link-Level Encapsulation            True
interface_names  en1,en5        Interfaces using the Virtual Address        True

ifconfig vi0 명령을 실행하면 다음과 같이 나옵니다.

text
vi0: flags=84000041<UP,RUNNING,64BIT>
       inet 10.68.6.1 netmask 0xffffff00
       iflist : en1 en5

netstat -rn 명령을 실행하면 다음과 같이 나옵니다.

text
Routing tables
Destination       Gateway       Flags     Refs    Use    If     PMTU Exp Groups
Route Tree for Protocol Family 2 (Internet):
default           10.68.1.2      UG        3      1055   en1     -   -
10.68.1/24        10.68.1.1      U         0      665    en1     -   -
10.68.5/24        10.68.5.1      U         0      1216   en5     -   -
127/8             127.0.0.1      U         4      236    lo0     -   -
10.68.6.1         127.0.0.1      UH        0      0      lo0     -   -

출발지 주소가 정해지지 않고 en1과 en5로 라우팅되는 나가는 패킷은 출발지 주소가 가상 주소(10.68.6.1)로 정해집니다. 들어오는 패킷은 네트워크에 광고된 VIPA 주소(10.68.6.1)로 라우팅됩니다. vi0는 가상(곧 어떤 장치와도 연결되지 않음)이므로 netstat -rn 명령으로 보는 시스템 전체 라우팅 테이블에 이에 대한 항목이 없어야 합니다. 곧 SMIT에서 인터페이스를 구성할 때 인터페이스 경로가 더해지지 않습니다.

물리 인터페이스 하나, 네트워크 연결, 네트워크 경로 가운데 하나가 고장 나면 네트워크 프로토콜은 같은 시스템의 다른 물리 인터페이스로 라우팅합니다. 원격 시스템이 vi0 주소로 telnet하면 vi0로 가는 패킷은 en1이나 en5로 도착할 수 있습니다. 예를 들어 en1이 꺼져 있어도 패킷은 en5로 도착할 수 있습니다. 라우팅 프로토콜이 경로를 전파하는 데 시간이 걸릴 수 있음에 유의합니다.

VIPA를 쓸 때 끝 시스템과 그 사이의 라우터는 VIPA(vi0)로 가는 패킷을 물리 인터페이스(en1이나 en5) 가운데 하나로 라우팅할 수 있어야 합니다.

영어 원문

Sample VIPA environment

The following sample VIPA environment with Ethernet connections involves a system with a virtual IP address and two physical connections.

A system has a virtual IP address, vi0, of 10.68.6.1 and two physical connections, en1 with IP address 10.68.1.1 and en5, with IP address 10.68.5.1. In this example, both physical connections are Ethernet, but any mixture of IP interfaces, such as token-ring or FDDI, would be supported as long as the subnets were ultimately attached to the larger corporate network and were known to the corporate routers.

Running the lsattr -El vi0 command produces the following results:

text
netaddr          10.68.6.1      N/A                                         True
state            up             Standard Ethernet Network Interface         True
netmask          255.255.255.0  Maximum IP Packet Size for This Device      True
netaddr6                        Maximum IP Packet Size for REMOTE Networks  True
alias6                          Internet Address                            True
prefixlen                       Current Interface Status                    True
alias4                          TRAILER Link-Level Encapsulation            True
interface_names  en1,en5        Interfaces using the Virtual Address        True

Running the ifconfig vi0 command produces the following results:

text
vi0: flags=84000041<UP,RUNNING,64BIT>
       inet 10.68.6.1 netmask 0xffffff00
       iflist : en1 en5

Running the netstat -rn command produces the following results:

text
Routing tables
Destination       Gateway       Flags     Refs    Use    If     PMTU Exp Groups
Route Tree for Protocol Family 2 (Internet):
default           10.68.1.2      UG        3      1055   en1     -   -
10.68.1/24        10.68.1.1      U         0      665    en1     -   -
10.68.5/24        10.68.5.1      U         0      1216   en5     -   -
127/8             127.0.0.1      U         4      236    lo0     -   -
10.68.6.1         127.0.0.1      UH        0      0      lo0     -   -

The outgoing packets that do not have a source address set and that are routed via interfaces en1 and en5 will have the source address set to the virtual address (10.68.6.1). Incoming packets are routed to the VIPA address (10.68.6.1) advertised on the network. Because vi0 is virtual (that is, not associated with any device) there should be no entries for it in the system-wide routing table displayed using the netstat -rn command. This means no interface route is added when the interface is configured in SMIT.

If one of the physical interfaces, a network attachment, or a network path fails, the network protocols route to the other physical interface on the same system. If a remote system telnets to the vi0 address, packets to vi0 can arrive using either en1 or en5. If en1 is down, for example, packets can still arrive on en5. Note that routing protocols might take time to propagate the routes.

When using the VIPA, the end systems and intervening routers must be able to route the packets destined for VIPA (vi0) to one of the physical interfaces (en1 or en5).

VIPA와 별칭의 차이

VIPA 개념은 주소가 하드웨어 인터페이스와 연결되지 않는다는 점만 빼면 IP 별칭(alias)과 비슷합니다.

VIPA에는 IP 별칭에 없는 몇 가지 장점이 있습니다.

  • VIPA는 물리 인터페이스에 영향을 주지 않고 따로 올리고 내릴 수 있는 가상 장치를 제공합니다.
  • VIPA 주소는 바꿀 수 있지만 별칭은 더하거나 지울 수만 있습니다.
영어 원문

VIPA versus alias

The VIPA concept is similar to IP aliases except that the addresses are not associated with a hardware interface.

VIPA offers several advantages that IP aliases does not:

  • VIPA offers a virtual device that can be brought up and down independently without affecting the physical interfaces

  • VIPA addresses can be changed while aliases can only be added or deleted

실제 어댑터의 IP 주소로 접근

VIPA를 구현한 뒤에도 개별 인터페이스는 다른 시스템에서 여전히 접근할 수 있습니다. 그러나 ping과 telnet 세션에 실제 IP 주소를 쓰면, 물리 어댑터와 관계없이 통신한다는 VIPA의 장점을 비껴갑니다. VIPA는 물리 어댑터 고장을 바깥 클라이언트에게서 감춥니다. 실제 주소를 쓰면 물리 어댑터에 대한 의존이 되살아납니다.

원격 시스템이 VIPA 주소로 VIPA 시스템에 연락하거나, VIPA 시스템의 응용 프로그램이 다른 시스템으로 통신을 시작하면 패킷의 출발지 IP 주소로 VIPA 주소를 씁니다. 그러나 원격 시스템이 실제 인터페이스의 IP 주소로 세션을 시작하면, 응답 패킷의 출발지 IP 주소는 그 실제 IP 주소가 됩니다. 예외가 하나 있습니다. 특정 IP 인터페이스에 bind하는 응용 프로그램의 나가는 패킷은 bind된 인터페이스의 출발지 주소를 갖습니다.

영어 원문

Access using the IP address of the real adapters

Individual interfaces are still accessible to other systems after VIPA is implemented. However, using the real IP addresses for ping and telnet sessions sidesteps the VIPA advantage of communicating independent of the physical adapters. VIPA hides physical adapter failures from the outlying clients. Using the real addresses reintroduces the dependency upon the physical adapters.

If the remote system contacts the VIPA system using the VIPA address or if an application on the VIPA system initiates the communication to another system, the VIPA address will be used as the source IP address in the packet. However, if the remote system initiates the session using the IP address of the real interface, that real IP address will be the source IP address in the responding packets. There is one

exception. For applications that bind to a particular IP interface, the outgoing packets will carry the source address of the interface to which they are bound.

VIPA와 라우팅 프로토콜

gated 데몬은 VIPA에 맞게 고쳐져, 가상 인터페이스에 대해 인터페이스 경로를 더하거나 광고를 보내지 않습니다.

gated가 지원하는 OSPF 프로토콜은 이웃 라우터에 가상 인터페이스를 광고합니다. 네트워크의 다른 호스트는 첫 홉 라우터를 거쳐 VIPA 호스트와 통신할 수 있습니다.

영어 원문

VIPA and routing protocols

The gated daemon was modified for VIPA so that it would not add the interface route or send advertisements over virtual interfaces.

The OSPF protocol, supported by gated, will advertise the virtual interface to neighboring routers. The other hosts on the network will be able to talk to the VIPA host through the first-hop router.

VIPA 주소 여럿

가상 인터페이스를 여럿 구성할 수 있습니다. 예를 들어 네트워크 라우터가 특정 VIPA 주소로 오가는 패킷을 우대할 수 있다면 VIPA 인터페이스 여럿이 유용합니다.

또는 응용 프로그램을 특정 VIPA 인터페이스에 bind한다면 VIPA 인터페이스를 여럿 쓸 수 있습니다. 예를 들어 한 기계에서 여러 회사의 웹 서버를 여럿 돌리려면 다음과 같이 구성할 수 있습니다.

영어 원문

Multiple VIPA addresses

Multiple virtual interfaces can be configured. Multiple VIPA interfaces would be useful, for example, if network routers could give preferential treatment to packets sent to or from certain VIPA addresses.

Or, you might use multiple VIPA interfaces if they were binding applications to a specific VIPA interface. For example, to run multiple web servers for multiple companies on a single machine, you could configure the following:

EtherChannel과 IEEE 802.3ad 링크 집계

EtherChannel과 IEEE 802.3ad 링크 집계는 여러 이더넷 어댑터를 묶어 가짜(pseudo) 이더넷 장치 하나로 만드는 네트워크 포트 집계 기술입니다.

예를 들어 ent0와 ent1을 en3라는 EtherChannel 어댑터로 묶으면, 인터페이스 en3에 IP 주소를 구성합니다. 시스템은 이렇게 묶은 어댑터를 어댑터 하나로 봅니다. 그래서 다른 이더넷 어댑터처럼 그 위에 IP를 구성합니다. 또 EtherChannel이나 링크 집계의 모든 어댑터는 같은 하드웨어(MAC) 주소를 받으므로 원격 시스템은 이들을 어댑터 하나처럼 다룹니다. EtherChannel과 IEEE 802.3ad 링크 집계 모두, 어느 스위치 포트들을 하나로 다뤄야 하는지 알도록 스위치의 지원이 필요합니다.

(6.1) 참고: EtherChannel 드라이버는 EtherChannel 구성의 비활성 채널에 있는 HEA(Host Ethernet Adapter) 포트에 올바르지 않은 MAC 주소 02:00:00:00:00:00을 할당합니다. 이 MAC 주소는 EtherChannel을 만들 때나 실행 중에 HEA 포트를 비활성 채널에 더할 때 할당됩니다. EtherChannel 장애 조치나 복구 중에는 실행 중에 올바르지 않은 MAC 주소와 올바른 MAC 주소를 서로 바꿉니다.

EtherChannel과 IEEE 802.3ad 링크 집계의 주된 장점은 네트워크에 하나로 보이면서 모든 어댑터의 네트워크 대역폭을 갖는다는 것입니다. 어댑터 하나가 고장 나면 네트워크 트래픽은 기존 사용자 연결을 끊지 않고 다음으로 쓸 수 있는 어댑터로 자동으로 보내집니다. 어댑터가 복구되면 EtherChannel이나 링크 집계에 자동으로 다시 들어갑니다.

EtherChannel과 IEEE 802.3ad 링크 집계 사이에는 몇 가지 차이가 있습니다. 어느 기술이 요구 사항에 가장 맞는지 표 81의 차이를 생각합니다.

표 81. EtherChannel과 IEEE 802.3ad 링크 집계의 차이

항목 EtherChannel IEEE 802.3ad
스위치 구성 스위치 구성이 필요합니다. (6.1) LACPDU(Link Aggregation Control Protocol Data Unit) 교환을 위한 스위치 구성이 필요합니다. (5.3) 집계를 이루는 데 스위치 구성이 거의 필요 없으며, 스위치 초기 설정이 조금 필요할 수 있습니다.
heartbeat (6.1) 스위치 포트와 인접 시스템 포트 사이에 heartbeat를 주고받지 않습니다. (6.1) IEEE 802.3ad 표준이 정한 간격으로 heartbeat(LACPDU)를 주고받습니다. heartbeat는 고장에 대비한 추가 보호가 됩니다.
패킷 분배 (5.3) 여러 패킷 분배 모드를 지원합니다. (5.3) 표준 분배 모드만 지원합니다.

AIX 운영 체제에는 동적 어댑터 구성원(Dynamic Adapter Membership) 기능이 있습니다. 이 기능으로 사용자 연결을 끊지 않고 EtherChannel에 어댑터를 더하거나 뺄 수 있습니다.

관련 개념

  • 동적 어댑터 구성원(DAM): AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package 전에는 EtherChannel에 어댑터를 더하거나 빼려면 먼저 그 인터페이스를 분리(detach)해야 해서 모든 사용자 트래픽이 잠시 끊겼습니다. 이 제한을 없애려고 그 버전에 DAM이 더해졌습니다.
  • EtherChannel: EtherChannel에 속한 어댑터는 같은 EtherChannel 지원 스위치에 연결해야 합니다. 서로 다른 스위치에 연결한다면 그 스위치들이 스택으로 묶여 스위치 하나처럼 동작해야 합니다.
  • IEEE 802.3ad 링크 집계 구성: IEEE 802.3ad는 링크 집계의 표준 방법입니다. 개념상 EtherChannel과 같이 여러 이더넷 어댑터를 가상 어댑터 하나로 묶어 더 큰 대역폭과 고장 보호를 줍니다.
  • 상호 운용 시나리오: EtherChannel이나 IEEE 802.3ad 링크 집계를 구성할 때 고려할 상호 운용 시나리오입니다.
영어 원문

EtherChannel and IEEE 802.3ad Link Aggregation

EtherChannel and IEEE 802.3ad Link Aggregation are network port aggregation technologies that allow several Ethernet adapters to be aggregated together to form a single pseudo Ethernet device.

For example, ent0 and ent1 can be aggregated into an EtherChannel adapter called en3; interface en3 would then be configured with an IP address. The system considers these aggregated adapters as one adapter. Therefore, IP is configured over them, as over any Ethernet adapter. In addition, all adapters in the EtherChannel or Link Aggregation are given the same hardware (Mac) address, so they are treated by remote systems as if they were one adapter. Both EtherChannel and IEEE 802.3ad Link Aggregation require support in the switch so that these two technologies are aware which switch ports must be treated as one.

Note: The EtherChannel driver assigns an invalid media access control (MAC) address, 02:00:00:00:00:00, to the Host Ethernet Adapter (HEA) port of inactive channel of the EtherChannel configuration. This invalid MAC address is assigned when the EtherChannel is created or when the HEA ports are added to the inactive channel at run time. During the EtherChannel failover or recovery, the invalid MAC address is swapped with the valid MAC address, and the valid MAC address is swapped with the invalid MAC address at the run time.

The main benefit of EtherChannel and IEEE 802.3ad Link Aggregation is that they have the network bandwidth of all of their adapters in a single network presence. If an adapter fails, network traffic is automatically sent on the next available adapter without disruption to existing user connections. The adapter is automatically returned to service on the EtherChannel or Link Aggregation when it recovers.

There are some differences between EtherChannel and IEEE 802.3ad Link Aggregation. Consider the differences listed in Table 81 on page 362 to determine which technology best suits your requirement.

Table 81. Differences between EtherChannel and IEEE 802.3ad Link Aggregation.

  • Requires switch configuration. — Requires switch configuration for Link Aggregation Control Protocol Data Unit (LACPDU) exchange.

Heartbeats are not exchanged between the switch port and the adjacent system port. Heartbeats (LACPDU) are exchanged at the interval that is defined by the IEEE 802.3ad standard. Heartbeats provide extra protection in case of a failure.

Dynamic Adapter Membership functionality is available in the AIX operating system. You can use this functionality to add or remove adapters from an EtherChannel without having to disrupt any user connections.

Related concepts

Dynamic Adapter Membership Prior to AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package, in order to add or remove an adapter from an EtherChannel, its interface first had to be detached, temporarily interrupting all user traffic. To overcome this limitation, Dynamic Adapter Membership (DAM) was added in AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package. “EtherChannel” The adapters that belong to an EtherChannel must be connected to the same EtherChannel-enabled switch. If the adapters are connected to different switches, those switches must be stacked and act as a single switch. IEEE 802.3ad Link Aggregation configuration IEEE 802.3ad is a standard way of doing link aggregation. Conceptually, it works the same as EtherChannel in that several Ethernet adapters are aggregated into a single virtual adapter, providing greater bandwidth and protection against failures. Interoperability scenarios Consider the following interoperability scenarios when configuring your EtherChannel or IEEE 802.3ad Link Aggregation.

EtherChannel

EtherChannel에 속한 어댑터는 같은 EtherChannel 지원 스위치에 연결해야 합니다. 서로 다른 스위치에 연결한다면 그 스위치들이 스택으로 묶여 스위치 하나처럼 동작해야 합니다.

이 스위치는 EtherChannel에 속한 포트를 집계 링크로 다루도록 직접 구성해야 합니다. 스위치 문서는 이 기능을 link aggregation이나 trunking이라고 부를 수 있습니다.

EtherChannel이 올바르게 동작하려면, 링크 상태를 주기적으로 확인하는 링크 폴링 메커니즘을 EtherChannel을 만들기 전에 각 어댑터에서 켜야 합니다. 트래픽은 표준 방식(알고리즘에 따라 패킷을 보낼 어댑터를 고름)이나 라운드 로빈 방식(패킷을 모든 어댑터에 고르게 보냄)으로 어댑터에 분배됩니다. 들어오는 트래픽은 스위치 구성에 따라 분배되며 EtherChannel 동작 모드가 제어하지 않습니다.

시스템마다 EtherChannel을 여럿 구성할 수 있습니다. 한 EtherChannel의 모든 링크가 스위치 하나에 붙어 있으면 그 스위치가 뽑히거나 고장 날 때 EtherChannel 전체를 잃습니다. 이 문제를 풀려고, 주 EtherChannel이 고장 날 때 서비스를 유지하는 백업 옵션이 있습니다. 백업 어댑터와 EtherChannel 어댑터는 서로 다른 네트워크 스위치에 붙어야 하고, 이 구성이 제대로 동작하려면 그 스위치들이 서로 이어져 있어야 합니다. EtherChannel의 모든 어댑터가 고장 나면 백업 어댑터로 모든 트래픽을 주고받습니다. EtherChannel의 어느 링크든 복구되면 서비스는 EtherChannel로 돌아갑니다.

예를 들어 ent0와 ent1을 주 EtherChannel 어댑터로, ent2를 백업 어댑터로 구성해 en3라는 EtherChannel을 만들 수 있습니다. 이상적으로는 ent0와 ent1을 같은 EtherChannel 지원 스위치에, ent2를 다른 스위치에 연결합니다. 이 예에서 en3(EtherChannel의 인터페이스)로 보내는 모든 트래픽은 기본으로 (EtherChannel의 패킷 분배 방식에 따라) ent0나 ent1로 보내지고 ent2는 쉬고 있습니다. 어느 때든 ent0와 ent1이 모두 고장 나면 모든 트래픽이 백업 어댑터 ent2로 보내집니다. ent0나 ent1이 복구되면 다시 모든 트래픽에 쓰입니다.

EtherChannel의 동작 모드인 네트워크 인터페이스 백업(Network Interface Backup)은 이더넷 네트워크의 단일 장애 지점을 막아 줍니다. 네트워크 인터페이스 백업을 쓰는 데 특별한 하드웨어는 필요 없지만, 신뢰성을 최대로 하려면 백업 어댑터를 별도 스위치에 연결해야 합니다. 네트워크 인터페이스 백업 모드에서는 한 번에 어댑터 하나만 네트워크 트래픽에 실제로 씁니다. EtherChannel은 지금 활성 어댑터와, 선택적으로 사용자가 지정한 노드까지의 네트워크 경로를 시험합니다. 고장을 감지하면 다음 어댑터를 모든 트래픽에 씁니다. 네트워크 인터페이스 백업은 사용자 연결을 끊지 않고 감지와 장애 조치를 합니다. 네트워크 인터페이스 백업은 원래 EtherChannel SMIT 메뉴의 한 모드로 구현되었습니다. 백업 어댑터가 같은 기능을 하므로 이 모드는 SMIT 메뉴에서 없어졌습니다. 네트워크 인터페이스 백업 구성은 Network Interface Backup configuration을 봅니다.

영어 원문

EtherChannel

The adapters that belong to an EtherChannel must be connected to the same EtherChannel-enabled switch. If the adapters are connected to different switches, those switches must be stacked and act as a single switch.

You must manually configure this switch to treat the ports that belong to the EtherChannel as an aggregated link. Your switch documentation might refer to this capability as link aggregation or trunking.

For EtherChannel to work correctly, the link polling mechanism that periodically verifies the status of the link must be enabled on each adapter before the EtherChannel is created. Traffic is distributed across the adapters in either the standard way (where the adapter over which the packets are sent is chosen depending on an algorithm) or on a round-robin basis (where packets are sent evenly across all adapters). Incoming traffic is distributed in accordance to the switch configuration and is not controlled by the EtherChannel operation mode.

You can configure multiple EtherChannels per system. If all links in one EtherChanel are attached to a single switch and if the switch is unplugged or fails, the entire EtherChannel is lost. To solve this problem, a backup option is available that keeps the service active when the main EtherChannel fails. The backup and EtherChannel adapters must be attached to different network switches, which must be interconnected for this setup to work properly. If all adapters in the EtherChannel fail, the backup adapter is used to send and receive all traffic. When any link in the EtherChannel is restored, the service is moved back to the EtherChannel.

For example, ent0 and ent1 can be configured as the main EtherChannel adapters, and ent2 as the backup adapter, creating an EtherChannel called en3. Ideally, ent0 and ent1 are connected to the same

EtherChannel-enabled switch, and ent2 is connected to a different switch. In this example, all traffic sent over en3 (the interface of EtherChannel) is sent over ent0 or ent1 by default (depending on the packet distribution scheme of EtherChannel), whereas ent2 is idle. If at any time both ent0 and ent1 fail, all traffic is sent over the backup adapter ent2. When either ent0 or ent1 recover, they are again used for all traffic.

Network Interface Backup, a mode of operation available for EtherChannel, protects against a single point of Ethernet network failure. No special hardware is required to use Network Interface Backup, but the backup adapter must be connected to a separate switch for maximum reliability. In Network Interface Backup mode, only one adapter at a time is actively used for network traffic. The EtherChannel tests the currently active adapter and, optionally, the network path to a user-specified node. When a failure is detected, the next adapter will be used for all traffic. Network Interface Backup provides detection and failover with no disruption to user connections. Network Interface Backup was originally implemented as a mode in the EtherChannel system management interface tool (SMIT) menu. The backup adapter provides the equivalent function, so the mode was eliminated from the SMIT menu. To configure network interface backup, see Network Interface Backup configuration.

EtherChannel 구성 시 고려 사항

EtherChannel을 구성하기 전에 다음 권장 사항을 봅니다.

  • EtherChannel마다 주 이더넷 어댑터를 8개까지, 백업 이더넷 어댑터를 하나만 둘 수 있습니다.

  • 한 시스템에 EtherChannel을 여럿 구성할 수 있지만, EtherChannel마다 이더넷 인터페이스가 하나씩 더 생깁니다. no 명령의 ifsize 옵션을 늘려 각 어댑터의 이더넷 인터페이스뿐 아니라 구성된 EtherChannel까지 포함하게 해야 할 수 있습니다. AIX 5.2 이전에는 기본 ifsize가 8입니다. 기본 크기는 256입니다.

  • EtherChannel에는 지원되는 어떤 이더넷 어댑터든 쓸 수 있습니다(Supported adapters 참고). 그러나 이더넷 어댑터는 EtherChannel을 지원하는 스위치에 연결해야 합니다. 스위치가 EtherChannel을 지원하는지는 스위치와 함께 온 문서를 봅니다(스위치 문서는 이 기능을 link aggregation이나 trunking이라고 부를 수도 있습니다).

  • EtherChannel의 모든 어댑터는 같은 속도(예: 100 Mbps)로 구성하고 전이중이어야 합니다.

  • EtherChannel에 쓴 어댑터는 EtherChannel을 구성한 뒤에는 시스템이 접근할 수 없습니다. 매체 속도, 송수신 큐 크기 같은 속성을 바꾸려면 EtherChannel에 넣기 전에 바꿔야 합니다.

  • EtherChannel에 쓸 어댑터에는 이 절차를 시작하기 전에 IP 주소가 구성되어 있으면 안 됩니다. 전에 IP 주소가 구성된 어댑터로 EtherChannel을 구성할 때는 그 인터페이스가 detach 상태인지 확인합니다. EtherChannel에 더할 어댑터는 ODM(Object Data Manager)에 up 상태로 구성된 인터페이스가 있으면 안 되며, SMIT로 IP 주소를 구성했다면 그렇게 됩니다. 그러면 밑의 인터페이스가 ODM의 정보로 EtherChannel보다 먼저 구성되므로, 기계를 다시 부팅할 때 EtherChannel을 올리는 데 문제가 생길 수 있습니다. 곧 EtherChannel이 구성될 때 어댑터 하나가 이미 쓰이고 있다는 것을 알게 됩니다. 이를 바꾸려면 EtherChannel을 만들기 전에 smitty chinet을 입력하고, EtherChannel에 넣을 어댑터의 각 인터페이스를 골라 상태 값을 detach로 바꿉니다. 그러면 기계를 다시 부팅할 때 EtherChannel을 오류 없이 구성할 수 있습니다. ODM에 관한 자세한 정보는 General Programming Concepts: Writing and Debugging Programs의 Object Data Manager (ODM)를 봅니다.

  • AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package 전의 AIX에서 EtherChannel에 10/100 이더넷 어댑터를 쓴다면, EtherChannel에 더하기 전에 그 어댑터에서 링크 폴링을 켜야 할 수 있습니다. 명령행에 smitty chgenet을 입력합니다. Enable Link Polling 값을 yes로 바꾸고 Enter를 누릅니다.

    참고: AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package 이후에는 링크 폴링 메커니즘을 켤 필요가 없습니다. 링크 폴러가 자동으로 시작됩니다.

  • 점보 프레임을 쓰려면 EtherChannel을 만들기 전에 모든 어댑터에서, 그리고 EtherChannel 자체에서 이 기능을 켜야 할 수 있습니다. 명령행에 smitty chgenet을 입력합니다. Enable Jumbo Frames 값을 yes로 바꾸고 Enter를 누릅니다. 점보 프레임을 켤 모든 어댑터에 이렇게 합니다. EtherChannel 자체의 점보 프레임은 나중에 켭니다.

    참고: EtherChannel 자체에서 켜면 밑의 모든 어댑터에서 점보 프레임을 켤 필요는 없습니다. Enable Jumbo Frames 속성을 yes로 설정하면 기능이 자동으로 켜집니다.

  • (6.1) AIX 5.3과 AIX 6.1 수준은 HEA(Host Ethernet Adapter)에 대해 다음 구성을 지원합니다.

    • 전용 HEA 포트와 PCI/PCI-E 어댑터 사이의 링크 집계를 지원합니다. 수동 집계와 LACP 집계 모두 지원합니다.
    • 비전용 HEA 포트가 들어가는 EtherChannel 구성에서는 백업 어댑터가 PCI/PCI-E나 가상 이더넷인 EtherChannel을 지원합니다.

    참고: EtherChannel 구성의 비전용 HEA 포트에는 링크 집계에 관한 기존 제한이 그대로 적용됩니다.

  • (6.1) AIX Version 6.1 with the 6100-06 Technology Level 이후는 스택 스위치의 EtherChannel을 지원합니다.

  • (6.1) NIM(Network Installation Management) 클라이언트의 EtherChannel 위 네트워크 부팅이나 네트워크 설치는 지원하지 않습니다.

영어 원문

EtherChannel configuration considerations

Consult this list of recommendations before configuring EtherChannel.

  • You can have up to eight primary Ethernet adapters and only one backup Ethernet adapter per EtherChannel.

  • You can configure multiple EtherChannels on a single system, but each EtherChannel constitutes an additional Ethernet interface. The ifsize option of the no command might need to be increased to include not only the Ethernet interfaces for each adapter, but also any EtherChannels that are configured. In AIX 5.2 and earlier, the default ifsize is eight. The default size is 256.

  • You can use any supported Ethernet adapter in an EtherChannel (see Supported adapters). However, the Ethernet adapters must be connected to a switch that supports EtherChannel. See the documentation that came with your switch to determine if it supports EtherChannel (your switch documentation may refer to this capability also as link aggregation or trunking).

  • All adapters in the EtherChannel should be configured for the same speed (100 Mbps, for example) and should be full duplex.

  • The adapters used in the EtherChannel cannot be accessed by the system after the EtherChannel is configured. To modify any of their attributes, such as media speed, transmit or receive queue sizes, and so forth, you must do so before including them in the EtherChannel.

  • The adapters that you plan to use for your EtherChannel must not have an IP address configured on them before you start this procedure. When configuring an EtherChannel with adapters that were previously configured with an IP address, make sure that their interfaces are in the detach state. The adapters to be added to the EtherChannel cannot have interfaces configured in the up state in the Object Data Manager (ODM), which will happen if their IP addresses were configured using SMIT. This may cause problems bringing up the EtherChannel when the machine is rebooted because the underlying interface is configured before the EtherChannel with the information found in ODM. Therefore, when the EtherChannel is configured, it finds that one of its adapters is already being used. To change this, before creating the EtherChannel, type smitty chinet, select each of the interfaces of the adapters to be included in the EtherChannel, and change its state value to detach. This will ensure that when the machine is rebooted the EtherChannel can be configured without errors. For more information about ODM, see Object Data Manager (ODM) in General Programming Concepts: Writing and Debugging Programs.

  • If you will be using 10/100 Ethernet adapters in the EtherChannel for AIX versions prior to AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package, you may need to enable link polling on those adapters before you add them to the EtherChannel. Type smitty chgenet at the command line. Change the Enable Link Polling value to yes, and press Enter.

Note: In AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package and later, enabling the link polling mechanism is not necessary. The link poller will be started automatically.

  • If you plan to use jumbo frames, you may need to enable this feature in every adapter before creating the EtherChannel and in the EtherChannel itself. Type smitty chgenet at the command line. Change the Enable Jumbo Frames value to yes and press Enter. Do this for every adapter for which you want to enable Jumbo Frames. You will enable jumbo frames in the EtherChannel itself later.

Note: Enabling jumbo frames in every underlying adapter is not necessary once it is enabled in the EtherChannel itself. The feature will be enabled automatically if you set the Enable Jumbo Frames attribute to yes.

  • AIX 5.3 and AIX 6.1 levels supports following configurations with respect to Host Ethernet Adapters (HEA). – Link aggregation between dedicated HEA port and PCI/PCI-E adapter is supported. This is supported for both manual aggregation and LACP aggregation. – For EtherChannel configuration involving non-dedicated HEA port, EtherChannel with the backup adapter as PCI/PCI-E or virtual Ethernet is supported.

Note: For non-dedicated HEA port in EtherChannel configuration, existing limitations regarding Link aggregation still apply.

  • AIX Version 6.1 with the 6100-06 Technology Level and later supports EtherChannel on stacked switches.

  • Network boot or network installation over EtherChannel on Network Installation Management (NIM) client is not supported.