Unable to join Domain
arvin2212
Member Posts: 29 ■□□□□□□□□□
Hey guys, just started labbing. For now, i am learning windows server 2008 in general, following trainsignal's video guides.
For my lab, i am using 1 physical machine that is connected to a router that is connected to the internet. The guest OS would be running on vmware.
My setup:
VMware is setup to use Bridge networking.
DHCP is disabled on router.
IP's will be assigned manually. Gateway address : 192.168.5.1
Domain Controller (Windows Server 2008 R2 Enterprise)
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 00-0C-29-E3-8F-7A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.5.120(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
DNS Servers . . . . . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
DHCP Server (Windows Server 2008 R2 Enterprise, Server Core)
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 00-0C-29-E3-8F-7A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.5.120(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
DNS Servers . . . . . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
My current issue is, once i've assigned the correct ip address for the server core system via the command , i would then have it join the domain that is on the DC server. I don't really know the command to manually assign the DNS server name, so it is set at its default 127.0.0.1 .
Once i try to join the domain on the DC system, it would fail because of it being unable to connect. The firewall has been switched off on the domain controller. I believe this must be due to the dns address, am i right? If it is, how do i manually set the ip address for dns on server core?
For my lab, i am using 1 physical machine that is connected to a router that is connected to the internet. The guest OS would be running on vmware.
My setup:
VMware is setup to use Bridge networking.
DHCP is disabled on router.
IP's will be assigned manually. Gateway address : 192.168.5.1
Domain Controller (Windows Server 2008 R2 Enterprise)
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 00-0C-29-E3-8F-7A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.5.120(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
DNS Servers . . . . . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
DHCP Server (Windows Server 2008 R2 Enterprise, Server Core)
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 00-0C-29-E3-8F-7A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.5.120(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
DNS Servers . . . . . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
My current issue is, once i've assigned the correct ip address for the server core system via the command , i would then have it join the domain that is on the DC server. I don't really know the command to manually assign the DNS server name, so it is set at its default 127.0.0.1 .
Once i try to join the domain on the DC system, it would fail because of it being unable to connect. The firewall has been switched off on the domain controller. I believe this must be due to the dns address, am i right? If it is, how do i manually set the ip address for dns on server core?
Comments
-
Essendon Member Posts: 4,546 ■■■■■■■■■■Here's my diagnosis:
1. Dont turn off DHCP on the router, doing so will prevent any computers from getting an IP address and getting on the Internet. You can have DHCP enabled on the router with no issues.
2. Turn off VMware's DHCP, DNS and NAT services.
3. Maybe you've mistyped it, but looks like both the VM's have the same IP address? -
Essendon Member Posts: 4,546 ■■■■■■■■■■Here's how to configure DNS on the server core VM:
Configuring Windows Server 2008 Server Core Basic Networking Settings -
Essendon Member Posts: 4,546 ■■■■■■■■■■>>>> And set VMware to use Host-only Networking. <<<<
^^ I meant for the VM''s, just wanted to clarify so you dont sit there scratching your head! -
arvin2212 Member Posts: 29 ■□□□□□□□□□Thank you for the suggestion essedion.
Was googling how to set the DNS on the server core earlier but the results that were mostly presented to me was how to configure server core to work as a DNS server.
About the IP addresses, i believe i have miss-copied one of them.
The Server Core's ip address would be 192.168.5.121 with the DNS not configured.
Once I am home, 10 hours from now, I'll configure vmware as what you've suggested and i'll turn on DHCP on the router. Thank you so much Essendon.
Will post the results as soon as I can. -
bson Member Posts: 16 ■□□□□□□□□□change your dns server ip address On the dns server to the same as your ip address so change your network config dns address to 192.168.5.120.
the server core cant contact a 127 address as its its own adapters loopback address.
below is the command to add an ip address to a ip version4 adapter, where x.x.x.x is your dns server ip.
Netsh interface ipv4 set dns name=”local area connection” source =static address=x.x.x.x primary
give it a try! -
arvin2212 Member Posts: 29 ■□□□□□□□□□Thank you guys, especially bson and Essendon.
After adding the DNS entry, i am able to join the domain.
Problem solved.