Xen HVM Windows 2008networking桥接器

我有Windows Server 2008 guest(hvm)的问题。 我无法获得为他运行的networking接口。

我也有一个Debian guest ,它的工作正常,但我不能与Win2k8 guest 。 当我启动虚拟机,机器冻结,我不能通过SSH连接到主机。

的/ etc /networking/接口

 # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 188.165.BC netmask 255.255.255.0 network 188.165.B.0 broadcast 188.165.255.255 gateway 188.165.B.254 

brctl显示

 bridge name bridge id STP enabled interfaces eth0 8000.e840f20acc28 no peth0 

对/etc/xen/xend-config.sxp

 ... (vif-script vif-bridge) (network-script 'network-bridge') ... 

/etc/xen/win2k8.cfg

 # Networking # vif = [ 'ip=5.39.FG,mac=yy:yy:yy:yy:yy:yy,type=ioemu,bridge=eth0' ] 

/etc/xen/debian.cfg

 # Networking # vif = [ 'ip=178.33.DE,mac=xx:xx:xx:xx:xx:xx' ] 

正如你所看到的,在Debian guest我只需要指定一个IP地址和一个MAC地址。 但是,如果我把这个在Win2k8 guest ,机器无法启动。

我正在使用Xen 4.0

我很惊讶在您的btctl show输出中看到“peth0”。 也许你的问题是一个简单的错字? (但是不知道你的Debian VM应该如何工作)

在我现在唯一一个基于Debian的系统中,我有一个bridge(A proxmox 2.1机器),我也在/ etc / network / interfaces中有一个桥梁:

 # cat /etc/network/interfaces [...] iface eth0 inet manual iface eth1 inet manual iface eth2 inet manual iface eth3 inet manual auto vmbr0 iface vmbr0 inet static address 10.11.12.13 netmask 255.255.0.0 gateway 10.11.0.1 bridge_ports eth0 eth1 eth2 eth3 bridge_stp off bridge_fd 0 [...] # brctl show bridge name bridge id STP enabled interfaces vmbr0 8000.0025903b7d66 no eth0 eth1 eth2 eth3 tap100i0