having VM on private subnet.
Posted: 7. May 2009, 16:52
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)
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)