I can't get 10.0.2.15 to change.

Discussions about using Windows guests in VirtualBox.
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

I can't get 10.0.2.15 to change.

Post by tinko00 »

Hello I am running VB on windows. My problem however is that I can't changeIP of VB to my IP so: 10.0.2.15(VB adress) my:(192.168.x.x). I tried bridge connection and everything else. PLease help me. :shock:
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: I can't get 10.0.2.15 to change.

Post by mpack »

10.x.x.x is a normal NAT-mode address. You don't change that.

If you use bridged then the VM will be assigned an IP address by the router or other DHCP server. Again, there are few reasons to want to override that.

Perhaps you should explain why you care what IP address the guest uses? Why do you think you need to force an address?
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

mpack wrote:10.x.x.x is a normal NAT-mode address. You don't change that.

If you use bridged then the VM will be assigned an IP address by the router or other DHCP server. Again, there are few reasons to want to override that.

Perhaps you should explain why you care what IP address the guest uses? Why do you think you need to force an address?

Hmm well first of all thank you for your reply. I am not that good at english, The reason why I need to change VB's IP adress is because I want to host pentestlab on it. If I want to host it on 10.0.2.15... well that is not working, That's why I need to change that 10.0.2.15 adress to something else... for example mine IP or IP of bridged wifi adapter?
Regards
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: I can't get 10.0.2.15 to change.

Post by Perryg »

Then you should be using Bridged mode so it gets the address from your router like the host does. If the Bridged doesn't work you need to find out why and fix that.
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

Perryg wrote:Then you should be using Bridged mode so it gets the address from your router like the host does. If the Bridged doesn't work you need to find out why and fix that.
Yes That's it, I didn't know how to say this.. I want adress from my router! :)
When I do bridged it does not work, How can I check what can be the problem?
Regards
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: I can't get 10.0.2.15 to change.

Post by Perryg »

Depends on what the host and guest really is. You can post the guests log file ( as an attachment ) so we can see if there is information there that will help.

Note: right click on the guest in the main manager and then left click on show log. Save and post.
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

Perryg wrote:Depends on what the host and guest really is. You can post the guests log file ( as an attachment ) so we can see if there is information there that will help.

Note: right click on the guest in the main manager and then left click on show log. Save and post.
Where can I find this thing? I don't see any guest?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: I can't get 10.0.2.15 to change.

Post by Perryg »

The guest is what you installed in VirtualBox. When you say you changed all of the type of adapters you had to do this in the settings of the main manager. That is where you right click on the guest.
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

Perryg wrote:The guest is what you installed in VirtualBox. When you say you changed all of the type of adapters you had to do this in the settings of the main manager. That is where you right click on the guest.
Amm what I see its only this:
h*ttps://i.gyazo.c*om/a92d892ccc4476ac853cc916cbc991ea.*png

You mean this ?:
ht*tps://i.gyazo.c*om/411b832029c2ffff26777590ab8981e5.*png
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: I can't get 10.0.2.15 to change.

Post by Perryg »

Actually this is what I am talking about. Right click on the guest.
Main Manager.png
Main Manager.png (127.11 KiB) Viewed 57107 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: I can't get 10.0.2.15 to change.

Post by mpack »

tinko00 wrote: Yes That's it, I didn't know how to say this.. I want adress from my router! :)
When I do bridged it does not work, How can I check what can be the problem?
No offense, but the usual problem is that a rank beginner has changed the network card to one not supported by the guest OS, and perhaps also disabled automatic network configuration in the guest - e.g. while trying to force it to use an inappropriate IP address.

You still have not said what the guest OS is - I am not familiar with pen test lab. If I knew what the guest OS was I could tell you what the correct network card is. Someone may also be able to advise on how to re-enable the default network configuration in the guest.
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

mpack wrote:
tinko00 wrote: Yes That's it, I didn't know how to say this.. I want adress from my router! :)
When I do bridged it does not work, How can I check what can be the problem?
No offense, but the usual problem is that a rank beginner has changed the network card to one not supported by the guest OS, and perhaps also disabled automatic network configuration in the guest - e.g. while trying to force it to use an inappropriate IP address.

You still have not said what the guest OS is - I am not familiar with pen test lab. If I knew what the guest OS was I could tell you what the correct network card is. Someone may also be able to advice on how to re-enable the default network configuration in the guest.

Ohh sorry, but I really don't want to harm anyone. My guest OS is Debian 64-bit.

[img]ht*tps://i.gyazo.c*om/2e50a7ff11437fbedbc082238f71402b.png[/img]
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

Perryg wrote:Actually this is what I am talking about. Right click on the guest.
Main Manager.png
Sorry for me not replying, I hope this is what you are looking?
[img]ht*tps://i.gyazo.c*om/2e50a7ff11437fbedbc082238f71402b.png[/img]
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: I can't get 10.0.2.15 to change.

Post by Perryg »

Yes that is the right place. Now right click on the guest and then left click on the show log. Save and post as an attachment.
tinko00
Posts: 13
Joined: 7. Aug 2015, 18:00

Re: I can't get 10.0.2.15 to change.

Post by tinko00 »

Perryg wrote:Yes that is the right place. Now right click on the guest and then left click on the show log. Save and post as an attachment.
Ok, Here is the attachment.
Attachments
PenTest-2015-08-08-01-33-13.log
(92.56 KiB) Downloaded 803 times
Locked