Configure a NAT server running Windows Server 2008 R2
Configure a NAT server running Windows Server 2008 R2 1. Prepare - DC2 : OS Windows Server 2008 R2, two Adapters Network + VMnet2 : IP 10.0.2.2, connect to LAN + VMnet6 : IP 192.168.1.254, Default Gateway : 192.168.1.1, DNS : 192.168.1.1, connect to a modem Internet (or Router Internet) - WIN71 : Client, VMnet2 : IP 10.0.2.71, Default Gateway : 10.0.2.2, DNS : 192.168.1.1 - A modem Internet (or Router Internet) : IP 192.168.1.1, connect to Internet 2. Step by step : Install and configure NAT server on DC2, set IP follow require - WIN71 : Check connect to Internet. Start - cmd - Ping 8.8.8.8 -t, ping google.com -t === Fail - DC2 : Install and configure NAT server + Check connect to Internet - Start - cmd - Ping 8.8.8.8, ping google.com === OK + Server Manager - Roles - Add Roles - Server Roles : Select "Network Policy and Access Services" - Next to "Role Services" : Choose "Routing and Remote Access Services" - Install + Start - Administrative Tools - Routing and Remote Access- Right-click DC2 : Configure and Enable Routing and Remote Access - Configuration : Choose "Custom configuration" - Select NAT - Finish - Start service + IPv4 - Right-click NAT - New Interface... - Choose VMnet2 - Interface Type : Choose "Private interface connected to private network" + Right-click NAT - New Interface... - Choose VMnet6 - Interface Type : Choose "Public interface connected to Internet" and check "Enable NAT on this interface" - WIN71 : Check again connect to Internet, Ping 8.8.8.8, ping google.com === OK
Configure a NAT server running Windows Server 2008 R2 1. Prepare - DC2 : OS Windows Server 2008 R2, two Adapters Network + VMnet2 : IP 10.0.2.2, connect to LAN + VMnet6 : IP 192.168.1.254, Default Gateway : 192.168.1.1, DNS : 192.168.1.1, connect to a modem Internet (or Router Internet) - WIN71 : Client, VMnet2 : IP 10.0.2.71, Default Gateway : 10.0.2.2, DNS : 192.168.1.1 - A modem Internet (or Router Internet) : IP 192.168.1.1, connect to Internet 2. Step by step : Install and configure NAT server on DC2, set IP follow require - WIN71 : Check connect to Internet. Start - cmd - Ping 8.8.8.8 -t, ping google.com -t === Fail - DC2 : Install and configure NAT server + Check connect to Internet - Start - cmd - Ping 8.8.8.8, ping google.com === OK + Server Manager - Roles - Add Roles - Server Roles : Select "Network Policy and Access Services" - Next to "Role Services" : Choose "Routing and Remote Access Services" - Install + Start - Administrative Tools - Routing and Remote Access- Right-click DC2 : Configure and Enable Routing and Remote Access - Configuration : Choose "Custom configuration" - Select NAT - Finish - Start service + IPv4 - Right-click NAT - New Interface... - Choose VMnet2 - Interface Type : Choose "Private interface connected to private network" + Right-click NAT - New Interface... - Choose VMnet6 - Interface Type : Choose "Public interface connected to Internet" and check "Enable NAT on this interface" - WIN71 : Check again connect to Internet, Ping 8.8.8.8, ping google.com === OK