Re: DHCP Reservation issues

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Jason <Jason@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I have checked this and the MAC address is spot on both in
reservation and lease.

Do you have only one DHCP server on the network?
Log in as an admin to one of these machines, do an ipconfig /release, and an
ipconfig /renew.

I encountered another problem today when
connected to our server via remote desktop. As soon as I logged in,
the login script assigned to my username forced the server to obtain
a DHCP address bringing the network down (I was not popular.)

You should never log in to servers as yourself - set up an 'engineering'
account that has the permissions you need, and has no login script or
roaming profile or folder redirection enabled.

I need a few machines to ignore the user logon script

As mentioned, this should not be in a login script. Even if your users have
admin rights (which they shouldn't, and hence should not be able to change
their network settings), computers need a valid IP address long before the
user can log in, unless you're having them used cached credentials, which
makes no sense. If you need to make a one-time change to a computer's
network settings (such as a netsh command) do it in a one-time computer
startup script.

But this shouldn't be something you need to do on a regular basis anyway, to
be honest.

What exactly do you have in this login script?

and always keep
the static IP address.

Use DHCP for all your workstations, and set up DHCP reservations (as
mentioned) for those which shouldn't change.



Thanks for your patience on this one.

"Lanwench [MVP - Exchange]" wrote:

Jason <Jason@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi

I have set up a log in script

This should be in a startup script - users do not by default have
permission to make changes to their network config. If your users
have admin rights, this can be a major problem.

to force clients into using the DHCP
server and override any static settings. The problem I'm having now
is that a couple of machines need static IP addresses and even
though I set a reservation for them in the DHCP console they are
still obtaining an assigned IP from the DHCP server.

A reservation *is* an assigned IP from the DHCP server, but one that
never changes (nor will it be assigned to another network device via
DHCP/BOOTP)

Any ideas as to where I am going wrong?

Make sure the reservations specify their correct MAC addresses. You
can get the MAC address using an ipconfig /all on the client - make
sure it's correct.



.



Relevant Pages

  • RE: Problems with Permissions
    ... For the "Network Configuration Wizard" not accessible issue, ... The DHCP not working properly issue may due to DNS not correctly ... ipconfig /all on SBS server, ...
    (microsoft.public.windows.server.sbs)
  • Re: Setting up dhcp-server on my desktop machine
    ... Your server is configured to use dhcp to acquire a network address? ... I don't know how to setup my interfaces so I achieve my goal. ... Setting up a dhcp server is completely independent of setting up the ...
    (Debian-User)
  • Re: networking private and public hosts questions
    ... some systmes in storage to create a test network. ... a WS to the child and attempted to pull an IP from the DHCP server, ...
    (microsoft.public.win2000.networking)
  • Re: Multiple IP Schemes for Different Buildings
    ... The linksys on your first network stays as it is, ... DHCP broadcast is on the local subnet only, ... router to forward internet traffic to your firewall. ... If each server has it's own DHCP server then I don't need to worry ...
    (microsoft.public.windows.server.general)
  • Re: DHCP Reservation issues
    ... but what about your login script details/reasons for doing this/etc? ... You may be able to set up your network more efficiently if you provide ... new problem I have is that the SBS server where the DHCP ... even though I set a reservation for them in the DHCP console ...
    (microsoft.public.windows.server.sbs)