How to Create Sites in Active Directory ?
How to Create Subnets & Site-Links in AD ?
In a network two topologies are there:
- Physical Topology: It represents the structure of the network which includes network topologies, hardware placements, IP address allocations.
- Logical Topology: represents the security boundaries of said network, network services etc.
In AD, the Domain represents the logical topology while Sites and Subnets represent the physical topology.
A site can be defined as a physical location or network that can be a separate building, a separate city or a separate country.
This Step-By-Step process below will provide example of configuration of sites and subnets. Here two sites, Site A and Site B will be created.
The environment to be created is as follows:
|Server Name||Roles||OS||Site Name||Subnet|
|DC1.xyz.com||Primary DC||Windows server 2kxx||Site A (HQ)||192.168.148.0/24|
|SRV1.xyz.com||ADC||Windows server 2kxx||Site B (Corp. OFFICE)||10.10.10.0/24|
In the, SRV1 server is located in Corp. office which is situated in a different location.
It is connected to a primary domain via 512 KB link Pipe. It is currently configured at the default AD site.
Step 1: How to Create a new site
- Go to Server Manager > Tools > Active Directory Sites and Services
- In the AD Sites and Service window, right-click Sites and select New Site
- Enter Site A in the Name: box
- Select the DEFAULTIPSITELINK and click OK
- Click OK .
- Repeat steps 1 to 5 and create Site B. After it completes, you will see the following options:
Step 2: Creating Subnets
- In the Active Directory Sites and Services MMC, right-click Subnets and select New Subnet
- In the New Object – subnet window, type 192.168.148.0/24
- In the Select a site object for this prefix option select Site A and click OK
- Repeat steps 1 to 3 and use prefix 10.10.10.0/24 assigned to Site B
Step 3: Creating Site Links
- In the AD Sites and Services MMC, right-click Inter-Site Transports > IP and then click New Site Link
- In the New Object – subnet window, enter a desired name for the link, select both
Site A and Site B, and click add
3. Click OK.
4. The link created a link with the default values however it can be optimized. Now, Right-click on the link and select properties
5. In Site A-Site B Dedicated Link Properties window, the cost defines the links assigned bandwidth.
6. Replication changes can also be defined between the sites. To achieve this, you have to click on Change Schedule
7. Now, define a custom schedule and then click OK
8. Click OK & Apply
Step 4: Moving the DC to newly created sites
- In AD Sites and Services MMC, navigate to Default-First-Site-Name > Servers
- Right-click on the DC1 (Domain Controller) and Select to move
- In the Move Server window, select Site A which will be site the Domain Controller will be moving to and click OK
- Similarly, repeat steps 1 to 3 to move SRV1 to Site B
This is the way you can configure Create Sites in Active Directory and subnets. For further queries write to us and do comment below in comment box.