Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

12장. 네트워크 사용을 위한 구성

Red Hat Virtualization을 사용자 네트워크 구조로 통합하는 과정은 매우 복잡하며, 시스템 구조에 따라서 다중 이더넷 인터페이스 사용과 브리징 설정을 사용자 환경에 맞추어 구성해야할 것입니다.
Each domain network interface is connected to a virtual network interface in dom0 by a point to point link. These devices are vif <domid> and <vifid>. vif1.0 for the first interface in domain 1; vif3.1 for the second interface in domain 3.
domain0는 브리징, 라우팅, 비율 제한 등의 표준 리눅스 규약을 사용하여 가상 인터페이스의 네트워크 의사소통을 제어합니다. xend 데몬은 두 가지의 쉘 스크립트를 도입하여 사용자의 네트워크와 새로운 가상 인터페이스의 초기 구성을 수행합니다. 이 스크립트는 모든 가상 인터페이스에 대한 하나의 브리지를 설정합니다. 스크립트를 사용자 환경에 맞게 수정하여 추가적인 라우팅과 브리징을 설정할 수 있습니다.
Red Hat Virtualization's virtual networking is controlled by the two shell scripts, network-bridge and vif-bridge. xend calls these scripts when certain events occur. Arguments can be passed to the scripts to provide additional contextual information. These scripts are located in the /etc/xen/scripts directory. You can change script properties by modifying the xend-config.sxp configuration file located in the /etc/xen directory.
network-bridgexend가 시작되거나 종료될 때, 이 스크립트는 가상 네트워크를 시작하거나 종료합니다. 구성 시작 시 브리지 xen—br0를 생성하고 eth0를 브리지로 이동시키며, 이에 맞게 라우팅을 수정합니다. xend가 종료되면, 생성된 브리지를 삭제하고 eth0를 제거하여 기존 IP와 라우팅 구성을 복구합니다.
vif-bridge - 이 스크립트는 도메인의 모든 가상 인터페이스에 쓰이며, 방화벽 규칙을 설정하며 해당하는 브리지에 vif를 추가할 수 있습니다.
Red Hat Virtualization을 구성하는 데 도움이 되는 다른 스크립트가 있습니다: network-route, network-nat, vif-route,, vif-nat. 이러한 스크립트는 사용자 환경에 맞춘 형태로 대체될 수도 있습니다.