Changing the standard gateway (10.0.2.2)

This is for discussing general topics about how to use VirtualBox.
Post Reply
TheDude12
Posts: 2
Joined: 16. Dec 2010, 14:32
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Changing the standard gateway (10.0.2.2)

Post by TheDude12 »

Hello.

I am using Virtualbox with NAT and I would like to change the net address (just for the fun of it).

Instead of having the default gw to 10.0.2.2
and the client to 10.0.2.15

I would like to choose, for example:

default gw 192.168.10.1
client 192.168.10.2 (through DHCP)

NOTE:
I do not want to do this so it can "reach" other people in my main network or any things like that.
I just want to change these numbers for the fun of it.

I have been looking in the virtualbox settings and looked through some files but could not find this data anywhere.

Thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Changing the standard gateway (10.0.2.2)

Post by Perryg »

See Chapter 9.9. Fine-tuning the VirtualBox NAT engine in your VirtualBox users manual.
TheDude12
Posts: 2
Joined: 16. Dec 2010, 14:32
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Re: Changing the standard gateway (10.0.2.2)

Post by TheDude12 »

Thank you.

And sorry for my ignorance :)
Post Reply