Solved Network problem in Guest OS

October 15, 2013 at 00:30:11
Specs: Windows 8, i7-3630Qm/16GB
I have installed Win8 Pro WMC 64-bit as my guest OS and installed "KALI LINUX" as my guest OS.When I use bridge adapter and assigned my static IP address (given by my ISP) as address in guest OS.I am unable to surf the internet in my guest OS,but able to surf net in host OS without any problems.Using Virtual Box ver 4.2.18 r88780.

message edited by ghosthacker


See More: Network problem in Guest OS

Report •

✔ Best Answer
October 19, 2013 at 04:32:39
When you set up a network card in VirtualBox you are given a choice of connection type. One is "Bridged", one is "NAT". Choose the NAT option. Then when you set up your guest OS you tell it to obtain an IP address automatically (using DHCP). VirtualBox provides its own DHCP server for this purpose.


#1
October 15, 2013 at 01:08:28
It sounds like you are saying that you have given the guest OS the same IP address as the host OS. That's never going to work; each computer needs a unique IP address.

Report •

#2
October 15, 2013 at 03:24:56
Then how can I solve this problem??

Report •

#3
October 15, 2013 at 04:09:07
Don't use the same IP address for both OSs!

I think you need to read up about how IP networking works and how to configure it. You haven't given enough details of your setup to give a proper answer. How do you connect to the Internet - modem or router? The normal setup is to have a router, with a routable IP address, which then assigns private addresses to devices on your network via DHCP. If you are using just a modem things are more complicated. In that case it would be simpler if you used NAT networking (and DHCP) in your VM rather than bridged.

Rule number one of IP networking - any device with a public IP address needs a unique address. This is relaxed somewhat when you use private, non-routable addresses but you still need unique addresses within the local network.


Report •

Related Solutions

#4
October 18, 2013 at 03:27:41
I don't use modem or router I use wire for connecting to internet and the IP address is given by my ISP(which is static.So, no DHCP) and it is permanent.But "How can I use NAT in VM with DHCP in it".I know it has default DHCP address,but it is not present now.So,Can you give the DHCP addresses in Virtual Box?.

Report •

#5
October 19, 2013 at 04:32:39
✔ Best Answer
When you set up a network card in VirtualBox you are given a choice of connection type. One is "Bridged", one is "NAT". Choose the NAT option. Then when you set up your guest OS you tell it to obtain an IP address automatically (using DHCP). VirtualBox provides its own DHCP server for this purpose.

Report •

#6
October 19, 2013 at 13:30:42
VMWare also has a DHCP server which I disabled because I wanted the IP to be on the same subnet as my LAN. I certainly wouldn't run any machine with an external IP address unless is were a web server. You can't be much of a 'ghosthacker' that way.

How do you know when a politician is lying? His mouth is moving.


Report •

Ask Question