我是新手 關於網路設定問題

Discussions about using Windows guests in VirtualBox.
Post Reply
ChienPangLin
Posts: 1
Joined: 18. Mar 2023, 17:01

我是新手 關於網路設定問題

Post by ChienPangLin »

主機 Windows 10系統
VirtualBox模擬出來的電腦 Windows 7 有4台
請問 模擬機的Window 7 要如何設定 讓每台的IP都不一樣呢?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: 我是新手 關於網路設定問題

Post by scottgus1 »

你好!

Virtualbox does not have special ways to set IP addresses inside the VM's OS. Each VM's IP address will depend on what kind of Virtualbox networking the VM uses. Please see Virtualbox Networks: In Pictures.

If each VM is set to NAT, each VM will have a 10.0.2.15 IP address, because each NAT connection acts like a separate "router". So each VM is in its own private network.

The other usual network types: Bridged, Host-Only, NAT Network, are designed to have more than one VM in the network and will automatically give a different IP address to each VM OS.

If you want the VMs to be in a network together, use Bridged, Host-Only, or NAT Network, depending on what kind of connection to the host's network you want.

(Note that you can set a static IP address inside the VM's OS using the OS's normal methods. Setting static IP addresses is not controlled by Virtualbox.)
Post Reply