VirtualBox, install linux via. windows, opsæt netværk!
Hey hey,,
Jeg har hentet og installeret VirtualBox på min windows xp maskine, når jeg forsøger at installere Debian linux gennem VirtualBox virker alt fint, den brokker sig ikke når den får IP via. DHCP.
Når jeg så har installeret systemet og starter debian op,.. Taster: ifconfig.. IP er = 10.0.2.15 .. Mit IP scope generet via. DHCP er class c -> 192.168.0.x Hvorfor for den en 10.0.2.15 adresse?? Og hvordan kan det lade sig gøre at den kan hente pakker gennem FTP mirror men ikke kan pinge ex. google.com Eller andre PC'er på mit netværk (via. intern ip) ??
Lyder det ikke ret underligt, har prøvet diverse netværks indstillinger i VirtualBox uden held.
Nogen der ved hvordan jeg kan løse problemet så den får en DHCP adresse ala 192.168.0.x ??
Det skal lige siges at jeg har prøvet med vmware, her virker det fint, vil dog hellere benytte VirtualBox da det er open source ..
Den moderne arbejdsplads er i stigende grad afhængig af mødelokaler til at fremme samarbejde, men dette skift medfører også stigende sikkerhedsudfordringer.
I. Create Network Connection in VBox 1. Open VBox¬¬ Settings Network; 2. Click on “Attached to” and then select “Host Interfaces”; 3. In Host Interfaces click Add; 4. Type "VirtualBox Host Interface #" without the quotation marks where the # represents a number for the interface, usually 1 (on one computer the name of the virtual box host interface appeared automatically, on the other computer I had to type the information); 5. Click OK, and 6. Close VBox
II. Create a Network Bridge 1. Open Control PanelNetwork Connections; 2. While holding down Ctrl select the Local Area connection and click on the VirtualBox Host Interface; 3. Right click on one of the selected connections; and 4. From the drop-down menu select Create Network Bridge
Since I am using static IP’s on my network set up I had to configure the TCP/IP properties for the Network Bridge.
5. Right click on the Network Bridge that was just created; 6. Select TCP/IP; 7. Click on Properties; 8. Set the Static Connection Values; and 9. Close Network Connection.
III. Set Network Adapters to promiscuous mode
When VBox and the guest VM load Windows XP should put the network adapters into promiscuous mode, but sometimes this does not happen. Therefore, I think it is best to force the adapters into promiscuous mode. It is only necessary to do this once.
1. Open a Windows command prompt (StartRun and type "CMD" without the quotes and press ENTER; 2. Type "netsh bridge show adapter"; 3. There will be a line of information displayed for each network adapter in the Bridge. Look for any adapter that is listed as disabled, note the number of the adapter and go to step four. 4. Type "netsh bridge set adapter # forcecompatmode=enable" for each adapter that was listed as disabled, inserting the number of the adapter for the #; 5. Type "netsh bridge show adapter" once again to check to see if your adapters have been enabled; 6. Exit the command prompt; and 7. Reboot the computer.
III. Configure the TCP/IP Properties for the Debian guest
Again, this is necessary because I am using static IP's in my LAN.
1. Open VBox; 2. Start Debian; 3. Since I have installed GNOME desktop I will open Networking by clicking DesktopAdministrationNetworking; 4. Select Ethernet Connection eth0; 5. Click on Properties; 6. Set the static configuration for the Debian VM; 7. Close Networking; and 8. Reboot Debian.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.