Page 1 of 2

I can't get 10.0.2.15 to change.

Posted: 7. Aug 2015, 18:04
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:

Re: I can't get 10.0.2.15 to change.

Posted: 7. Aug 2015, 18:11
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?

Re: I can't get 10.0.2.15 to change.

Posted: 7. Aug 2015, 22:42
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

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 00:11
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.

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 00:13
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

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 00:19
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.

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 00:56
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?

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 01:03
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.

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 01:32
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

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 01:56
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 57108 times

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 10:54
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.

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 12:31
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]

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 12:32
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]

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 13:38
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.

Re: I can't get 10.0.2.15 to change.

Posted: 8. Aug 2015, 13:56
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.