Ubuntu

帶有 Windows 2008 虛擬機的 UBuntu 13.04 伺服器

  • May 3, 2013

我有一個 ubuntu 13.04 伺服器。在它上面我有一個虛擬機 (kvm),上面裝有 Windows 2008。

我已將 /etc/network/interfaces 配置為與機器建立橋接連接,因此我能夠訪問所述虛擬機上的 MS SQL 數據庫。

但是,我仍然無法連接到它。我究竟做錯了什麼?

這是我目前的 /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto br0
iface br0 inet static
   address 192.168.2.98
   netmask 255.255.255.0
   network 192.168.2.0
   broadcast 192.168.2.255
   gateway 192.168.2.1
   bridge_ports eth0
   bridge_stp off
   bridge_maxwait 5

我注意到當我進入伺服器時,該 IP 沒有列出,但列出了具有不同 IP 地址的 virbr0 介面。

請注意,我已將虛擬機配置為使用網橋。虛擬機為 IP 地址提供了 192.168.2.83,但是,當我嘗試從主機 ping 它時,也沒有任何回复。(如果這有幫助的話)

如果 ping 主機沒有響應,建議您檢查以下內容:

  1. 您是否打開了 Window Firewall ?

  2. 你打開了 Ubuntu Firewall/iptables 嗎?

  3. 檢查Windows 中的子網設置

  4. 嘗試在Window 命令行中發出arp,看看是否能得到路由器和Linux Box 的MAC 地址。

  5. Window和Linux Box的MAC地址是否衝突?

6.網卡解除安裝選項,<-嘗試禁用它們。(尤其是在 Window VM 內部)。

在此處輸入圖像描述

引用自:https://serverfault.com/questions/504563