Static IP address but dynamic DNS settings

Discussion in 'Server Networking' started by M. Darrow, Aug 18, 2004.

  1. M. Darrow

    M. Darrow Guest

    Is it possible (via regedits or any other means) to
    assign a static IP address to a machine, but still allow
    it to pull it's DNS and WINS (for now) servers via DHCP?
     
    M. Darrow, Aug 18, 2004
    #1
    1. Advertisements

  2. Why not just use a DHCP reservation for its MAC address, so the rest of the
    info is assigned & can be easily changed?
     
    Lanwench [MVP - Exchange], Aug 18, 2004
    #2
    1. Advertisements

  3. M. Darrow

    Guest Guest

    Because it's for servers and we prefer to have static
    addressing of servers.

    Also, our servers have their NICs teamed, and there is a
    posibility that if one NIC goes bad and the server
    reboots before we get a chance to fix it, when it comes
    back up it will use the MAC address of the second NIC,
    which means the reservation is useless.
     
    Guest, Aug 18, 2004
    #3
  4. M. Darrow

    M. Darrow Guest

    Double-post, forgot to add my name to the first reply.

    Because it's for servers and we prefer to have static
    addressing of servers.

    Also, our servers have their NICs teamed, and there is a
    posibility that if one NIC goes bad and the server
    reboots before we get a chance to fix it, when it comes
    back up it will use the MAC address of the second NIC,
    which means the reservation is useless.

    Thanks,
    M. Darrow
     
    M. Darrow, Aug 18, 2004
    #4
  5. M. Darrow

    Jeff Cochran Guest

    Using the MAC address reservationb is effectively the same thing, but
    if you must have static IP's then you have to enter the DNS settings
    too. Best you could do is script the DNS settings so you can change
    the script to update servers.

    Jeff
     
    Jeff Cochran, Aug 18, 2004
    #5
  6. M. Darrow

    M. Darrow Guest

    I don't follow how a MAC address reservation is the same
    thing as a static entry, given the following:

    If a server goes down, and the DHCP server happens to be
    unavailable, and the lease on the IP address has expired,
    you're in trouble.

    Also, as I stated, there is a high probability that once
    the server is rebooted the virtual interface will use the
    MAC address of the second NIC, where as when the server
    was stood-up it was using the MAC address of the first
    NIC. In that circumstance a MAC address reservation is
    useless, because then the IP address cannot be obtained
    via DHCP if the virtual interface ever uses the second
    NIC.

    I think one of the ideas we came up with was a script, or
    even better a GPO, because with a GPO we wouldn't have to
    physically touch the box, where as if the DNS settings
    were pulled dynamically, or if we used a script, we would
    have to touch the box.
     
    M. Darrow, Aug 18, 2004
    #6
  7. M. Darrow

    rg Guest

    FWIW, you can also assign a "static" MAC address.
     
    rg, Aug 18, 2004
    #7
  8. Ah, you didn't say that. I agree, all servers should have statics. You'll
    need to enter everything in manually - you can't have a static IP and a
    dynamically assigned DNS server, etc.
     
    Lanwench [MVP - Exchange], Aug 18, 2004
    #8
  9. .....because it causes the DHCP to *always* give it the same IP#, just as if
    it was static. I'm afraid you can't have your cake and eat it too,...your
    will either have to run in with DHCP Reservations, or you will have to make
    it *all* static.
     
    Phillip Windell, Aug 19, 2004
    #9
  10. M. Darrow

    Steven Cooke Guest

    I must be missing something, On my windows 2000 and 2003 boxes I can set a
    dynamic ip address and a static dns server.
     
    Steven Cooke, Aug 23, 2004
    #10
  11. Try it the other way around. ;-)

     
    Lanwench [MVP - Exchange], Aug 23, 2004
    #11
  12. M. Darrow

    Steven Cooke Guest

    Jeez, wasn't blatant by the Subject line or anything :)
    I feel stupid now.
    Lonnnngggggeeeee weekend!

    --
    Steven Cooke


    "Lanwench [MVP - Exchange]"
     
    Steven Cooke, Aug 23, 2004
    #12
  13. No prob - happens to us all!
     
    Lanwench [MVP - Exchange], Aug 24, 2004
    #13
  14. M. Darrow

    M. Darrow Guest

    Well, you're correct, with the MS TCP/IP implementation,
    I cannot have a static IP address but dynamic server
    resolution addresses. I guess I was hoping that someone
    would know of a regedit around that, or of a 3rd party
    TCP/IP implementation that would allow such behavior.

    Thanks anyway....
     
    M. Darrow, Aug 30, 2004
    #14
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.