Setup vmlab.local (22)

 
 

NAT for the Lab to expand subnets

  1. On both esxi1 and esxi2, change the network Label from NAT to 192.168.255-Port Group on the NAT Properties

  2. DC1, install second NIC and assigned to 192.168.255-Port Group


  3. Rename the NIC to 192.168.255 NIC and assigned IP to 192.168.255.1



  4. Add Network Policy and Access Services Role


  5. Select Routing and add required role services


  6. Install


Setup DHCP Server

  1. On DC1, install DHCP Server role


  2. Select 192.168.255.1 network


  3. Valid


  4. No WINS


  5. Add Scope as below and set Default Gateway to 192.168.255.1


  6. Next


  7. Disable DHCPv6


  8. Use Current Cred


  9. Confirm and install



NAT setup on DC1

  1. Since we setup NAT and Tested on subca (Win Server 2003 R2), please disable it.




  2. Back to DC1, open Routing and Remote Access Console
  3. Configure and Enable Routing and Remote Access


  4. Select NAT


     

  5. Select 172.20.255 NIC for Public interface to connect to the internet


  6. Finish


  7. On DC1 Properties>IPv4 Tab>check the DHCP is on and Allow RAS to select adapter for broadcast name resolution


Test with a Client if it connects to the internet (an external network)

  • I have already built out a client1 VM with Win81e template and joined to domain with a static IP, 172.20.254 port group for testing.
  1. Edit Settings Client1 VM properties> Change Network Adapter to 192.168.255-Port Group


  2. Log on to client1, change to obtain IP address automatically with DHCP server


  3. And open CMD and run ipconfig command to confirm to get IP from DHCP Server (192.168.255 subnet)


  4.  Ping to www.google.com

  5. Open IE to browse msn.com

Leave a comment