Solved

When logging into my workstations the login process is very long

Posted on 2007-11-16
14
250 Views
Last Modified: 2010-03-17
When i log into my workstation it takes about 2 minutes to log into the domain.
I set up the whole network but i'm not sure i did it correctly. Everything is working ok except for the login part.

CABLE MODEM -----  SERVER  ---- SWITCH ------- WORKSTATIONS

Server settings
IP = 192.168.0.50
SUB = 255.255.255.0
GW  = 192.168.0.1
DNS = 192.168.0.1
DHCP = Not configured
DNS = Not configured

Workstations settings (DHCP)

Comcast SMC cable box
Private LAN= 192.168.0.1
DHCP = Enabled
DNS = Enabled
0
Comment
Question by:lcipollone
  • 5
  • 5
  • 2
  • +1
14 Comments
 
LVL 48

Expert Comment

by:Jay_Jay70
Comment Utility
your problem is dns

on the server: make sure it points only to itself
on the clients: make sure they point ONLY to the server

reboot everything and watch thing flys
0
 
LVL 70

Expert Comment

by:KCTS
Comment Utility
Yep
99 times out of 100 slow login is down to DNS. Do as Jay_Jay70 says.

The clients and server must point to your own internal windows DNS server as their preferred DNS server, NOT to an ISP DNS or similar asn thy MUST resolve internal names first.

As your clients are using DHCP you can set the address of the your windows DNS server in the DHCP options. (Option 006 - DNS servers)

You should also set up forwarders in on the DNS console to refer external resolution to your ISPs DNS servers - see http://www.petri.co.il/configure_dns_forwarding.htm


0
 

Author Comment

by:lcipollone
Comment Utility
So my settings should be like these:

Server settings
IP = 192.168.0.50
SUB = 255.255.255.0
GW  = 192.168.0.1
DNS = 192.168.0.50
DHCP = Configure  (IP = 192.168.0.3 - 192.168.0.199)
DNS = Configure (Forwarders of 2 DNS IPs)

Comcast SMC cable box
Private LAN= 192.168.0.1
DHCP = Disabled
DNS = Enabled

Workstations settings (DHCP)

Questions:
Clients = how to I make sure that they point to the server DNS if they are DHCP? Do i have to go to each individual client and set this up? What about if I had 200 workstations?

What's option 006?
0
 
LVL 48

Expert Comment

by:Jay_Jay70
Comment Utility
you havent setup dhcp??/ Google DHCP and look at your options...
0
 

Author Comment

by:lcipollone
Comment Utility
Setup DHCP on my server or cable box?
0
 
LVL 58

Expert Comment

by:tigermatt
Comment Utility
You should be looking to set DHCP up on the server. This way you get the advanced options of DHCP such as the ability to reserve addresses, set larger ranges, set an exclusion range of addresses, configure DNS as your server (most cable modems will default the DNS server to themselves) and various other things.

-tigermatt
0
 
LVL 48

Expert Comment

by:Jay_Jay70
Comment Utility
deff server, a router should never be a dhcp server in a domain environment where possible
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:lcipollone
Comment Utility
Ok, so i should:
Enable DNS on both Server and Router
Disable DHCP on Router
Enable DHCP on Server
Last time i tried this configuration everything worked ok but could not get to the internet from any workstation unless i used static IPs.
0
 
LVL 48

Expert Comment

by:Jay_Jay70
Comment Utility
all you need is DHCP and DNS on the server, the router is only used as a gateway and nothing else
0
 
LVL 58

Expert Comment

by:tigermatt
Comment Utility
>>> Last time i tried this configuration everything worked ok but could not get to the internet from any workstation unless i used static IPs.

Sounds like you didn't configure the router setting in your DHCP scope. Make sure you go into the scope options and enter the IP address of your router (which would be the gateway) into the scope options.
0
 
LVL 70

Accepted Solution

by:
KCTS earned 400 total points
Comment Utility
The correct way to set this up is:

Disable DNS and DHCP on the router
Enable DNS and DHCP on the server
Set up and authorize a DHCP scope on the server. Make sure that in the DHCP options you include :
   a) the DNS server (use the IP address of your server - this is option 006)
   b) the Default Gateway (this is the IP address of your router - this is option 003)

You should also set up forwarders in on the DNS console to refer external resolution to your ISPs DNS servers - see http://www.petri.co.il/configure_dns_forwarding.htm
0
 

Author Comment

by:lcipollone
Comment Utility
What about if i want to make a workstation static?
IP: 192.168.0.62
Sub: 255.255.255.0
DG: 192.168.0.50 (Server IP) or 192.168.0.1 (Router IP)
DNS: 192.168.0.50 (Server IP) or 192.168.0.1 (Router IP)
0
 
LVL 48

Assisted Solution

by:Jay_Jay70
Jay_Jay70 earned 100 total points
Comment Utility
if your workstation is static the exact same settings apply

Gateway = Router IP
DNS = Server IP
0
 

Author Comment

by:lcipollone
Comment Utility
Everything works really fast now. Great answers!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

I know all systems administrator at some time or another has had to create a script to copy file from a server share to a desktop. Well now there is an easy way to do this in Group Policy. Using Group policy preferences is not hard. The first thing …
[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now