Atualmente tenho um host KVM Proxmox (debian) executando vários OpenVZ Containers para uso geral,
Eu estou olhando para a criação de uma VM KVM no entanto eu sou incapaz de obter trabalho em rede para o CentOS KVM Guest.
por favor encontre a configuração de rede do Host:
# ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: fe80::22cf:30ff:fe19:7b67/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41861518 errors:0 dropped:0 overruns:0 frame:0
TX packets:23326041 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16692957938 (xx.x GiB) TX bytes:16624094064 (xx.x GiB)
Interrupt:47 Memory:fbfe0000-fc000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1805386 errors:0 dropped:0 overruns:0 frame:0
TX packets:1805386 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:532155476 (507.5 MiB) TX bytes:532155476 (507.5 MiB)
vmbr0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:88.xxx.xxx.229 Bcast:88.xxx.xxx.xxx Mask:255.255.252.0
inet6 addr: fe80::22cf:30ff:fe19:7b67/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38116128 errors:0 dropped:0 overruns:0 frame:0
TX packets:21500108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15771625496 (xx.x GiB) TX bytes:16504698806 (xx.x GiB)
e rota do host:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
88.xxx.xxx.109 0.0.0.0 255.xxx.xxx.xxx UH 0 0 0 venet0
88.xxx.xxx.0 0.0.0.0 255.xxx.xxx.xxx U 0 0 0 vmbr0
0.0.0.0 88.xxx.xxx.1 0.0.0.0 UG 0 0 0 vmbr0
Do convidado CentOS KVM VM:
#ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:88.xxx.xxx.252 Bcast:88.xxx.xxx.255 Mask:255.255.252.0
inet6 addr: fe80::22cf:30ff:fe19:7b67/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38116128 errors:0 dropped:0 overruns:0 frame:0
TX packets:21500108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15771625496 (xx.x GiB) TX bytes:16504698806 (xx.x GiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1805386 errors:0 dropped:0 overruns:0 frame:0
TX packets:1805386 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:532155476 (507.5 MiB) TX bytes:532155476 (507.5 MiB)
Rotas do convidado:
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Matric Ref Use Iface
88.xxx.xxx.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 88.xxx.xxx.1 0.0.0.0 UG 0 0 0 eth0
um ping do host para o convidado está voltando com:
# ping 88.xxx.xxx.252
PING 88.xxx.xxx.xxx (88.xxx.xxx.252) 56(84) bytes of data.
From 88.xxx.xxx.229 icmp_seq=1 Destination Host Unreachable
From 88.xxx.xxx.229 icmp_seq=2 Destination Host Unreachable
From 88.xxx.xxx.229 icmp_seq=3 Destination Host Unreachable
--- 88.208.236.252 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3016ms
Qualquer ajuda seria muito apreciada!
EDITAR
Desculpe esqueceu de incluir saída brctl
# brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.20cf30197b67 no eth0