How to... have internet access AND have an internal network?
Posted: 2. Oct 2015, 08:03
I have a virtual Windows server 2008R2, named SRV1. In the virtual box settings of the machine i set network adapter to 'internal' network and set the network adapter to fixed IP: IP=192.168.1.1, subnetmask=255.255.255.0, def. gateway=192.168.1.254, dns=192.168.1.1. This is necessary because later I want other virtual clients and other virtual servers to communicate with my first server.
I also want my SRV1 server to access the internet, so in the settings of the Virtual box machine I add another adapter which I set to 'NAT'.
Unfortunately I can't access the internet. Once I disable the 'internal' network adapter, I have internet access, but it seems I can not have both.
How to setup an internal network 192.168.1.0/24 on server SRV1, so I can add other clients and servers in the same range AND at the same time have internet access on server SRV1?
I also want my SRV1 server to access the internet, so in the settings of the Virtual box machine I add another adapter which I set to 'NAT'.
Unfortunately I can't access the internet. Once I disable the 'internal' network adapter, I have internet access, but it seems I can not have both.
How to setup an internal network 192.168.1.0/24 on server SRV1, so I can add other clients and servers in the same range AND at the same time have internet access on server SRV1?