Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Server 2008 R2: DHCP Lease times?

  • 06-02-2011 11:44am
    #1
    Registered Users, Registered Users 2 Posts: 29,088 ✭✭✭✭


    Hey all,

    So I've a test box running with Server 2008 R2 that is also setup as a DC, DNS, and DHCP server

    The problem is wireless devices like say my Android phone.. initially it connects fine and gets an IP and works away, but the next day it'll be unable to get an address and I either have to manually delete the lease on the server or give it a manual IP (in both cases it then works fine again)

    I've experimented with different lease times from the default 8 days, to longer, and shorter but still having issues. There's also wired clients to consider of course and these seem ok anyway.

    Just wondering what others set the lease time to as I'm sure with wireless-enabled devices like Blackberrys and laptops etc being used it's probably a common problem.

    Any feedback appreciated :)


Comments

  • Registered Users, Registered Users 2 Posts: 3,093 ✭✭✭Static M.e.


    I'm not sure I get the problem.

    How are you connecting the Wireless devices to the Server?
    I've experimented with different lease times from the default 8 days, to longer, and shorter but still having issues. There's also wired clients to consider of course and these seem ok anyway.

    -- I don't think the problem is the DHCP lease times etc.. Its most likely the intermediary device or the phone settings


  • Registered Users, Registered Users 2 Posts: 18,984 ✭✭✭✭kippy


    I'm not sure I get the problem.

    How are you connecting the Wireless devices to the Server?



    -- I don't think the problem is the DHCP lease times etc.. Its most likely the intermediary device or the phone settings

    Yep, highly unlikely the issue is with the server or the servers DHCP lease times.
    How you are connecting to the "network" and the devices between the android device and the server are fairly important.


  • Registered Users, Registered Users 2 Posts: 29,088 ✭✭✭✭_Kaiser_


    The wireless clients are connecting to a Buffalo router which is acting as a gateway for the server. DHCP is turned off on this router as the addresses are assigned by the 2008 box.

    If it's a "first time" connect from the phone it sees the WLAN, accepts the (WPA2 PSK) key and gets a valid IP address from the server and all is well.
    If though I come in the next day it won't get an address... just sits trying to get an IP from the server.

    The only way I've found around it so far is to delete the leases on the DHCP server and then it will reconnect, or if I manually define the IP settings on the phone it works fine.

    Unless I try getting the router to issue a 2nd set of DHCP addresses? (eg: DHCP server: 20-40, router: 41-50)


  • Registered Users, Registered Users 2 Posts: 3,588 ✭✭✭swampgas


    Kaiser2000 wrote: »
    The wireless clients are connecting to a Buffalo router which is acting as a gateway for the server. DHCP is turned off on this router as the addresses are assigned by the 2008 box.

    If it's a "first time" connect from the phone it sees the WLAN, accepts the (WPA2 PSK) key and gets a valid IP address from the server and all is well.
    If though I come in the next day it won't get an address... just sits trying to get an IP from the server.

    The only way I've found around it so far is to delete the leases on the DHCP server and then it will reconnect, or if I manually define the IP settings on the phone it works fine.

    Unless I try getting the router to issue a 2nd set of DHCP addresses? (eg: DHCP server: 20-40, router: 41-50)

    You said earlier you set the lease time to 8 days, does it take 8 days for the problem to occur?

    Maybe it's an issue with the DHCP lease being renewed?

    Do you have a laptop on wireless that sees the same problem?

    I'm not a windows guy specifically, but I'd be tempted to install wireshark on the DHCP server and have a look at whether the DHCP request is even reaching it.


  • Registered Users, Registered Users 2 Posts: 5,517 ✭✭✭axer


    Not sure if a help, I remember that there was a different scope for wired clients rather than wireless clients. I believe wired clients defaulted to 8 days and wireless clients leased time was one day. Not sure if relevant here.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,093 ✭✭✭Static M.e.


    Do you really need the test server to hold the DNS & DHCP roles?

    I dont think you will have a problem if you let the Wireless router do your DNS and DHCP.

    If you want to play with DNS, you can always set it up on the WS2008 Server with a forwarder to the default gateway (Wireless router).


  • Closed Accounts Posts: 3,362 ✭✭✭rolion


    A DC has to be DNS for AD to work properly...
    You can have the router as DNS/DHCP,but for dhcp the DC will detect that another DHCP running and will shut down.

    Try from a wireless Windows client running "DHCP Explorer"utility and see where and what stops or filters DHCP request/offer traffic ! Do same with wired...

    Do a factory reset of the router and re-configured by wizard and/or step-by-step !


Advertisement