Static IP or DHCP RRS feed

  • Question

  • I am trying to set up a new Server 2019 and when I put in a static IP I loses connectivity to the Internet etc. So my question is Can I setup a Server 2019 AD without a Static IP?

    Also the server is connected to the LAN via a small 8-port hub, should I connect it directly to the switch?

    Monday, October 19, 2020 9:31 PM

All replies

  • You'll need to make sure the IP, subnet Mask, Gateway, and DNS are all correct in order to access the Internet.  You can probably copy all these from whatever the DHCP Server assigns the server automatically and then reserve it in DHCP.

    Since it's a server, you probably want it connected to the fastest networking gear, likely the switch.  But it may not matter depending on your network.

    Monday, October 19, 2020 10:10 PM
  • Thanks a lot and highly appreciated but they have a Spectrum and peplink device on their LAN that brings in the internet I looked at the peplink and I checked it out, I do not know if you want me to share with you this sample config from the peplink device that is connected to the Spectrum Router

    Under the WAN Tab

    IP: 973.67.43.243

    Subnet. 255...248/29

    Default Gateway:

    Then DNS Server 1:

             DNS Server2:

    So form this information which one should I use as the Default Gateway and DNS for the Server. Because I also want to configure DHCP for the local computers on the LAN. please advise

    Tuesday, October 20, 2020 3:23 PM
  • That's all external IP information.  You'll need internal IPs.  Put the server back on DHCP, open a command prompt, and type "ipconfig /all" and press enter.  The IP will like start with - 

    192.168.x.x, 10.x.x.x, or 172.x.x.x

    Subnet mask is likely, but check it and see

    Gateway will be the IP to the router itself.   That's your hop out to the Internet.

    You can use the external DNS servers, but if this is going to be an active directory server, you'll need to setup conditional forwarders and set the server to itself as DNS.  That's a whole other topic.

    Tuesday, October 20, 2020 3:37 PM
  • Yes I have the internal IP but I want the server to use a Static IP if so then can I still use the internal
    Tuesday, October 20, 2020 3:43 PM
  • IPv4 address:
    Default Gateway:
    DHCP Server:
    IAIDL Pv6: 86829695
    DNS Server:
    Tuesday, October 20, 2020 3:45 PM
  • A static External IP (you have 5 available according to your subnet mask)?  You'll have to forward it to the internal IP on the Spectrum router.  Generally, it'll be listed under NAT or port forwarding.  You may want to call the ISP and ask them to help you as I've never used a Spectrum device.  You won't need to change internal IP information, just point the external IP to the internal IP, then tell the router what ports to forward over.

    Note that putting the server external brings a host of security issues.  Make sure the OS is updated, the firewall is setup correctly, you have AV, etc.  Even then, I still don't recommend it unless you allow just the ports you need.  What is it you're trying to do? 

    Tuesday, October 20, 2020 4:41 PM
  • ok great idea of not exposing the server directly to external web, so you if I just do it for internal do I need to change anything on the IP I send you> also do I set the workstations to DHCP or use static IP or them because they need to use the internet also.

    Because once I set up the users to login to the server I will they still be able to browse the web from their desktop

    Tuesday, October 20, 2020 5:17 PM