Changing
IP address of Domain Controller in Windows Server:
In the below example, the
new LAN IP address of the department office is considered as 10.170.35.0/25 and
with the existing IP 192.168.2.0/24.
Prerequisites:
Ensure to take the backup of all the databases before starting the activity.
All client systems should be removed from the network before starting the
activity.
The activity should be performed by a technical person having fair knowledge in
Windows Server.
Disable the other adapters if available.
Remove existing default gateway available in the Domain Server.
This procedure should be
executed only after the Day End Operations that will not impact the production
environment.
In Server
Follow the below steps to
change the IP address of the Domain Controller on Windows server machine from
192.168.2.11 to 10.170.35.101 and the gateway to 10.170.35.1.
Step 1:
Determine the new
IP(10.170.35.101) for the DC, and add it to the DC’s adapter. Do NOT remove the
existing IP, yet. Don’t add the new gateway, yet. Just add the new IP, in the
‘Advanced’ Tab and save the settings.
Follow the below steps to
change the IP address
Network Properties >
Internet Protocol Version 4 (TCP/IPv4) > Properties > Advanced > IP
Settings > IP Address ‘ADD’
On clicking the ‘ADD’, the
below window will pop up where the new IP address has to be entered.
Click on ADD and then OK.
Step
2:
Verify that the new IP is
showing up on the server in command prompt.
Ipconfig
It displays both existing
and new IP address of the machine.
Step 3:
Get the server to register
its new info in DNS by issuing the below command in the command prompt.
ipconfig /registerdns
(Press Enter)
Step 4:
Also check that the DNS
server is publishing the new IP address, not just as the server name, but also
as the domain name.
nslookup
<domain name> (Press Enter)
Also, open the DNS console
and look inside msdcs.<domain name> to see that the GUID of the server is
listed with both IPs.
Step 5:
Once the server is
advertising the new IP, you can swap the system to use the new IP range
completely. It is not time to remove the old IP yet though. This is the time to
change the gateway, DNS servers. Since the server is listening on, and
advertising on, the old and new IPs, DNS shouldn’t have any issues.
In the Command prompt,
netsh (Press Enter)
interface (Press Enter)
ip (Press Enter)
set address " Local
Area Connection " static 10.170.35.101 255.255.255.128 (Press Enter)
Similarly the below
commands
add address " Local
Area Connection " 192.168.2.11 255.255.255.0 (Press Enter) set dns
"Local Area Connection" static 10.170.35.101(Press Enter)
exit
Note: Local
Area Connection is the Adapter Name and same needs to be replaced with exact
adapter name if it is different from what was mentioned.
Step 6
Now re-register the server
with itself
ipconfig /registerdns
(Press Enter)
Step
7:
Now remove the old IP
address on the machine as shown below.
Network Properties >
Internet Protocol Version 4 (TCP/IPv4) > Properties > Advanced > IP
Settings > Select the IP Address > Remove
Set the gateway on the
machine to 10.170.35.1
Network Properties >
Internet Protocol Version 4 (TCP/IPv4) > Properties >’Set the Gateway to
10.170.35.1’
Step 8:
Restart the Domain Server.
Step 9:
Check if the DNS is
registered properly through the DNS console.
Administrative Tools >
DNS
Step
10:
Follow the step 7 if SB
SERVER is available separately. (This should be done before removing old IP in
CLIENT)
Step 11:
Add the reverse lookup
zone to DNS for the new network. In this case, in the DNS wizard, you have to
make the reverse zone 10.170.35.0 (network) and the pointer as 10.170.35.101.
IN Client:
Check in one of the client
machines by removing the old IP addresses and assign the new IP address by
following step 7 and connect to the network. Check the connectivity with server
and confirm whether all the modules are working and follow the same step for
other client machines in case everything works fine.
0 comments:
Post a Comment