Page 1 of 1

having VM on private subnet.

Posted: 7. May 2009, 16:52
by polluX_
Hi,
I'm new to virtual box, and I'm trying to set it up for testing purposes ...

What I want, is to have multiples VM on a specific subnet (ie 192.168.2.0/24)
I need theese VM to be on the same subnet, but also to access the outside network (ie 192.168.1.0/24). My host should then be working as a router.

I tried host-only mode, wich works fine, except that VM's cant reach outside network.
I can t use bridged mode because VM might then take Ip already in use on my 'real' network.

I think I need internal-networking mode, but can't configure it properly...
where am I wrong ?

(sorry for bad english)

Re: having VM on private subnet.

Posted: 7. May 2009, 17:25
by Perryg
You can try to use host only and setup windows for internet sharing. Then set the guests Internet proxy to windows.

Re: having VM on private subnet.

Posted: 12. May 2009, 15:12
by polluX_
Thanks for answering !
I tried to use the windows internet connection sharing option, but unsuccessfully. (still no access to outside network on guest system)
It seems windows XP can be used as a router, with registry options, need to spend time on this.

For now, I'm trying bridged mode. It works fine with my windows guest, not yet with my debian one :?