Redhat KVM network configuration Note: kvm must be configured on the basis of redhat 6 later and requires at least 4 GB memory. The cpu supports virtualization, 25 GB disk space, and 1 Gbps network interface. 1: Modify file 1: copy the file (because my public ip is set on eth2) # cp/etc/sysconfig/network-scripts/ifcfg-eth2/etc/sysconfig/network-scripts/ifcfg-br02: modify the ifcfg-eth2 file # vi/etc/sysconfig/network-scripts/ifcfg-eth2DEVICE = "eth2" NM_CONTROLLED = "no" BOOTPROTO = staticHWADDR = "00: 22: 19: B8: D9: FE "IPV6INIT =" yes "MTU =" 1500 "ONBOOT = yesTYPE =" Ethernet "NAME =" Syst Em eth2 "BRIDGE =" br0 "UUID =" f2f96e91-9957-43bf-97b7-0cd67d8bb1e2 "Remove IP, netmask, right NM_controlled to no indicates the network does not need networkmanager management, use network management, add red part 3: modify the ifcfg-br0 file # vi/etc/sysconfig/network-scripts/ifcfg-br0 DEVICE = "br0" BOOTPROTO = static1_6init = "yes" MTU = "1500" NM_CONTROLLED = "no" ONBOOT = yesTYPE = "Bridge" IPADDR = 10.200.117.95GATEWAY = 10.200.117.1NETMASK = 255.255.255.0DNS1 = 10.200.117.18 modify or add the red part 2: restart the service because we just managed the network Change to network (networkmanager is used by default). Now restart the network service, service network restart. 3: confirm to configure ifconfig & brctl show [root @ cdsh2950b ~] # Brctl showbridge name bridge idSTP enabledinterfacesbr0 unzip vnet0virbr0 8000.525400c835f0yesvirbr0-nic 4: Create a VM through virt-manager. I installed the system through PXE, so remember the mac address, jumpstart auto install. Just register it. ~