• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: DHCP & DNS

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "DHCP & DNS"

Collapse

  • Dr Evil
    replied
    Frankly, I'm disgusted . . . .

    Leave a comment:


  • NoddY
    replied
    Originally posted by wc2
    Thanks guys,

    It's all sorted.

    Rokie mistakes - I've done this about 50 times before

    I'd not set the scope - duh

    When I setup the server I'd taken for granted that the router's address was 192.168.1.1 - It was infact 192.168.1.5 - When I changed it onsite I'd missed changing one setting.
    I still want to be paid for my effort. If you don't have my money for me I'll crack your fuc*ing head wide open in front of everybody in the bank. And just about the time that I'm coming out of jail, hopefully, you'll be coming out of your coma. And guess what? I'll split your fuc*ing head open again, 'cause I'm fuc*ing stupid. I don't give a fuc* about jail, that's my business, that's what I do.

    Leave a comment:


  • wc2
    replied
    Thanks guys,

    It's all sorted.

    Rokie mistakes - I've done this about 50 times before

    I'd not set the scope - duh

    When I setup the server I'd taken for granted that the router's address was 192.168.1.1 - It was infact 192.168.1.5 - When I changed it onsite I'd missed changing one setting.

    Leave a comment:


  • NoddY
    replied
    Another thing to add - especially about the 'slowness' of logon: it's most likely to be problems with reverse DNS (IP to name mapping). Make sure in-addr.arpa is correctly configured.

    Try nslookup too, clients should display 192.168.1.10 and 192.168.1.10 itself should display 127.0.0.1.

    "arp -a" is useful too!

    Leave a comment:


  • NoddY
    replied
    Originally posted by Dr Evil
    If it's 2000 or 2003 it will query DNS for the DC to login to.
    Either way your DHCP scope is pointing at the router as DNS.
    . . . or is that too obvious?...
    Perhaps "006 - DNS Servers - 192.168.1.10 - 81.x.x.x 81.x.x.x" is untidy?

    Remove the 81.* DNS servers. Clients will then direct all name queries to the DNS Server at 192.168.1.10. It will then answer all queries directly for clients for the domain it is authoritative for (i.e. Blah.local).

    If it doesn't know about a domain it can (in order of best practise):

    [1]
    resolve it via 192.168.1.5 (which is, I assume, another caching DNS server built into the router - it will usually have DNS data from the ISP's DHCP).

    [2]
    resolve it via the ISP DNS servers - you need to tell 192.168.1.10 what they are.

    [3]
    resolve directly using the root servers.

    Leave a comment:


  • DimPrawn
    replied
    The joys of Windows, DNS, Active Directory and all that crap.

    Switch to Linux.

    Leave a comment:


  • Dr Evil
    replied
    Originally posted by wc2
    Just configured a LAN

    Server 192.168.1.10 - 255.255.255.0 - GW & DNS 192.168.1.5
    Router 192.168.1.5

    DHCP Config as follows

    Address Pool - 192.168.1.50 / 192.168.1.200
    Scope Options -
    003 - Router - 192.168.1.5
    006 - DNS Servers - 192.168.1.10 - 81.x.x.x 81.x.x.x
    015 - DNS Domain name - Blah.local
    044 - WINS/NBNS Servers - 192.168.1.10
    046 - WINS/NBT Node Type - 0x8

    The DHCP Server can't be found on the network. Give a machine a static - It can see the Domain but takes a month to login.

    Anyone see what's wrong ?

    Ta
    If it's 2000 or 2003 it will query DNS for the DC to login to.
    Either way your DHCP scope is pointing at the router as DNS.
    . . . or is that too obvious?

    Also try a tracert 192.168.1.10 from the client trying to log in to the domain, maybe the router doesn't know where the DC is? (What's the client ipconfig /all)
    Last edited by Dr Evil; 9 February 2006, 08:39.

    Leave a comment:


  • errorista
    replied
    agree about DHCP and DNS

    i was addressing the 'long login'

    "...Give a machine a static - It can see the Domain but takes a month to login."

    This was because wc2 set the client IP as static but did not set DNS on the client - this is why the long login time

    useful to remember when setting up windows notwork


    error

    Leave a comment:


  • Mordac
    replied
    DNS (or the lack of it) won't stop you obtaining a DHCP address. DHCP doesn't use DNS, if a client requests an IP address, and one is available, it will be issued. Clients can be registered in DNS by the DHCP server (if the DHCP server is a member of the DNSUpdateProxy group, but that's a different matter). I would say your DHCP server is either wrongly configured (e.g. no lease scopes have been activated) or the server has not been authorised.

    Leave a comment:


  • errorista
    replied
    If its a first time up DHCP server then I like Mordacs answer

    Should find 'Authorise' under the DHCP 'Action' menu.

    Make sure only one DHCP server is 'visable' too. They wont co-habit.

    good luck

    please let us know what it was when you crack it!

    error

    Leave a comment:


  • wc2
    replied
    I can't look at it until tomorrow but..

    I am sure that the DHCP is authorised.

    I can't ipconfig as DHCP is not handing out IP's

    I'll check the local static to see if the DNS settings are wrong.

    Cheers guys

    Leave a comment:


  • errorista
    replied
    make sure that the DHCP server is giving out the domain DNS server address as the primary DNS to your windows clients.

    do an ipconfig /all on a client to make sure that you see your DNS server 192.168.1.10 as the main dns address.

    error

    Leave a comment:


  • Mordac
    replied
    Might sound silly but have you authorised the DHCP server? To prevent people accidentally installing rogue DHCP servers they must be authorised by an Enterprise Admin or they'll just sit there doing bugger all.

    Leave a comment:


  • EqualOpportunities
    replied
    Originally posted by wc2
    Just configured a LAN

    Server 192.168.1.10 - 255.255.255.0 - GW & DNS 192.168.1.5
    Router 192.168.1.5

    DHCP Config as follows

    Address Pool - 192.168.1.50 / 192.168.1.200
    Scope Options -
    003 - Router - 192.168.1.5
    006 - DNS Servers - 192.168.1.10 - 81.x.x.x 81.x.x.x
    015 - DNS Domain name - Blah.local
    044 - WINS/NBNS Servers - 192.168.1.10
    046 - WINS/NBT Node Type - 0x8

    The DHCP Server can't be found on the network. Give a machine a static - It can see the Domain but takes a month to login.

    Anyone see what's wrong ?

    Ta

    I presume that the DHCP server has a valid address within the range you are using?

    Leave a comment:


  • wc2
    started a topic DHCP & DNS

    DHCP & DNS

    Just configured a LAN

    Server 192.168.1.10 - 255.255.255.0 - GW & DNS 192.168.1.5
    Router 192.168.1.5

    DHCP Config as follows

    Address Pool - 192.168.1.50 / 192.168.1.200
    Scope Options -
    003 - Router - 192.168.1.5
    006 - DNS Servers - 192.168.1.10 - 81.x.x.x 81.x.x.x
    015 - DNS Domain name - Blah.local
    044 - WINS/NBNS Servers - 192.168.1.10
    046 - WINS/NBT Node Type - 0x8

    The DHCP Server can't be found on the network. Give a machine a static - It can see the Domain but takes a month to login.

    Anyone see what's wrong ?

    Ta

Working...
X