• Dynamic or Static? Which do you choose?

    Home » Forums » Newsletter and Homepage topics » Dynamic or Static? Which do you choose?

    • This topic has 22 replies, 23 voices, and was last updated 2 years ago.
    Author
    Topic
    #2550649

    First off – if you are in the Northern Hemisphere – Happy spring. The tulips are in full bloom at my house. Speaking of houses – and more specifically
    [See the full post at: Dynamic or Static? Which do you choose?]

    Susan Bradley Patch Lady/Prudent patcher

    2 users thanked author for this post.
    Viewing 19 reply threads
    Author
    Replies
    • #2550669

      I use dynamic for most things, including my printer. The exception is a camera that I have external access to. I use the DNS name of the printer in my printer setup if it’s not immediately found by the other machines.

      cheers, Paul

    • #2550679

      Anything that is infrastructure like NAS boxes, printers, etc I have static ipv4.  Haven’t seen a reason so far to play with ipv6.

       

      I use OpenDNS mostly.  Just need to remember to reset it if I use public wifi.

    • #2550686

      I use static for devices on my network (Laptop, TV, Receiver, Streamer, Printer..).
      With static IP it is easier to access devices.

    • #2550690

      I have three clients on a fixed IP address, set at the top of my IP range.

      One is my printer, for the reasons Susan gives.

      One is for my NAS so that apps like Acronis can always find it.

      The last is for my main computer, because I use software to sync contacts etc that prefers a fixed IP address.

      Everything else works on the dynamic set by my router.

      Chris
      Win 10 Pro x64 Group A

    • #2550712

      Because I “mapped” sever intranet items to make them easier to access, I have to use fixed IP’s.

      If I used dynamic addresses, the exact address a particular device obtains from my router can “unexpectedly” change and the mapping no longer works.

    • #2550714

      I use DHCP across the board. But for more important stuff, such as my printer and NAS, I have DHCP reservations added in the router so they’re always assigned the same address.

      1 user thanked author for this post.
      • #2551092

        This is also what I do. I use the DHCP server on the router to reserve some addresses for particular devices involved in providing shared resources. This way the mapping stays “static”.

        Also, I think you do not want to just pick a previously assigned IP from the DHCP server’s space of dynamically assignable IP numbers. Often the DHCP server will leave some of the private IP space (192.168.x.y) alone and not assign numbers in that section of the private network space.  For example it will leave, 192.168.1.2-40 alone, and start assigning IP numbers “above” 192.168.1.40. In this example, the first dynamic assignment the DHCP server will make will start at 192.168.1.41 . Therefore you’d want to make your static IP assignments within this non-DHCP (2-40) available range to avoid potential future collisions.

        There is a bit more to my madness as well. For WiFi and home (not business) devices I use a separate router in a slightly different IP space.

        Ontop of that the WiFi router offers a separate vlan with a separate SSID for “guests” that can be isolated from the rest of the home network, and furthermore can optionally be set to not allow any device on that “guest” network the ability to contact/discover any other device on the “guest” network. Beyond the fact that I cannot control what security patches my visitors implement (I have one visitor that thinks they know better than to apply security patches – ever…) I’m also concerned about all the IoT devices hooked up via WiFi. This is because as the saying goes “The S in IoT stands for Security”*. Therefore I generally isolate all these connected devices from each other and the rest of the home network. (It’s a bit less convenient when you first attach a new device to your WiFi, since you often have to turn off this isolating rule on the router, but therein after the device is talking to a cloud account, and your phone app is talking to the same cloud account, and then all is good…. After a few extra incantations and other exclamations )

        *Here’s an example of some fine IoT security (NOT) https://www.bleepingcomputer.com/news/security/hackers-can-open-nexx-garage-doors-remotely-and-theres-no-fix/

         

        Basic research is what I am doing when I don't know what I am doing - Werner Von Braun

        1 user thanked author for this post.
    • #2550720

      My modem/router for my Xfinity connection is a Motorola MG7550.  I use dynamic addresses, but the MG7550 keeps the same addresses (wired and wireless) through reboot, power failure, etc.  My printer has always been 192.168.1.15, for years, even when I changed it from wired to WiFi.

      I haven’t had a reason to change to fixed addresses, since I’ve never had any real problem with dynamic addressing.

      Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
      We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
      We were all once "Average Users".

      1 user thanked author for this post.
    • #2550729

      My practice is to use reserved addresses in my Deco 7200 mesh router for all my wired devices (4 Computers, 1 NAS) and our 2 Printers (wireless). The rest I let the router assign dynamically, but mostly it assigns the same addresses. I also have the router set to give out addresses starting at 100 reserving the lower addresses for Reserved Addresses. And like Susan, have the DHCP set to 1.1.1.1 & 1.0.0.1 respectively.

      May the Forces of good computing be with you!

      RG

      PowerShell & VBA Rule!
      Computer Specs

      1 user thanked author for this post.
    • #2550721

      I use an ASUS router, along with Merlin custom firmware and a sweet add-in called YazDHCP. All of my devices are configured to use DHCP, but the router is configured with DHCP reservations for each device’s MAC address. This way, every device gets the same IP address always, yet I can easily change the address range if I want to (perhaps from the 192.168.x.x range to a 10.x.x.x one). I also assign DNS for all devices from the router. No logging in to lots of different systems if I want or need to make a change.

      My old router was running short on NVRAM because of all of the DHCP reservations, but the YazDHCP add-in moved them all to the /jffs partition and now the router is happy and all of my internal links always work. 🙂

      Merlin even has an excellent support forum at https://www.snbforums.com/forums/asuswrt-merlin.42/

      2 users thanked author for this post.
    • #2550734

      Everything static. Guests on dhcp. And even guest dhcp are manually turned into reservations in the modem config. I once ran my entire network on ipv6, but that is a hassle to manage manually.

      1 user thanked author for this post.
    • #2550750

      I only use static IP addresses and hardwired connections for two computers (and any virtual machines running on them via VirtualBox) and a NAS (Network attached storage) device. So DHCP is disabled in the router and the Wi-Fi radios are turned off (via a push button on the back of the router) as both are not needed and in order to simplify what is running on the router and to better secure the network. For the computers (physical host or virtual) they use a mapped network drive to the NAS via its IP address.

      I’ve found using static IP addresses provide a much more reliable and stable network connection as there is no waiting to obtain (or renew) a dynamic IP from the router if using DHCP.

    • #2550765

      I use a dedicated firewall/router appliance (opensource IPFire installed on a low power PC) to protect my home net.  IPFire is configured to also serve as the DHCP server for my home net.  Some aspects of my DHCP server configuration:

      • I establish static (permanent) DHCP leases for all hosts (PCs, printers, servers, etc.).  The host’s ethernet (MAC) address is required to create the static address.
      • I only allow hosts with a pre-configured DHCP static/permanent address to have access to the home net.

      This allows me to always have all our home net hosts setup as DHCP clients – rather than as a non-DHCP static IP address.  This simplifies managing IP address assignment on my home net because – in effect – it’s all done via static/permanent DHCP leases on the firewall/router alone.  This also makes things really convenient for mobile devices as they can remain always configured for DHCP.

      For family & friends that are visiting, I’ll add their host info to the DHCP server config – as static/permanent leases.  No big deal: it’s a one-time deal for each and IPFire’s UI makes it easy to do.

      For anyone else: if they request internet access at my home I’ll tell them to use  HotSpot (or the equivalent) on their cell phone… or I’ll just roll my eyes and change the subject.  I never let strangers on my net.

       

    • #2550834

      I have assigned an IP address in the router to each of my devices (3 PCs, 2 printers, 2 iPhones, 2 tablets, 2 media devices).

    • #2550849

      For anyone wanting a background on IP addresses, subnets and static/dynamic assignment of IP addresses, I have a fairly popular writeup here

      https://routersecurity.org/ipaddresses.php

       

      Get up to speed on router security at RouterSecurity.org and Defensive Computing at DefensiveComputingChecklist.com

      6 users thanked author for this post.
      • #2550871

        If you are going to play with your network , it is good to know some network, subnet and masks that are in the write up.

        What is useful for me, are some of the default addresses being used by manufacturers hence good addresses to stay away from.

        To complement some of the IPv4 understanding are Private Network Addresses (Class A to Class E) and first octet 127. I found the following:

        https://www.meridianoutpost.com/resources/articles/IP-classes.php

    • #2550874

      I use DHCP reservations in my router. DHCP hands out the IP I selected to the MAC address that asks for it for the devices where it matters. The others are assigned from the DHCP pool.

      So, I don’t have to configure and maintain static IPs but I still have fixed addresses for servers, scanners and printers!

      The best of both worlds!

      Martin

      1 user thanked author for this post.
    • #2550894

      DHCP reservations (referred to as “Static Leases” in the DD-WRT UI) for clients on my LAN from the router end. On the client end, default settings (DHCP). Managing it all on the client end would be way too much of a pain in the rump!

      Dell XPS 13/9310, i5-1135G7/16GB, KDE Neon 6.2
      XPG Xenia 15, i7-9750H/32GB & GTX1660ti, Kubuntu 24.04
      Acer Swift Go 14, i5-1335U/16GB, Kubuntu 24.04 (and Win 11)

    • #2550964

      I had a Samsung monochrome laser printer once.  It gave me much trouble.  It would work for a few days (after I finally got it printing), then stop.

      Calls to Samsung support were fruitless.  The bunch of them seemed to have no clue.  So I looked through their website and found a group of support videos.  One was on how to set up a static address on the printer.  I did so, and the printer worked for some time.  Then another problem with it arose, and it didn’t work again.  I eventually scrapped it, and bought another brand of printer.  It is still working, with no static address.

       

    • #2551154

      I don’t have any static IP addresses. On the other hand, I reference names rather than IP addresses whenever possible, to ensure that the connection will always work. So I guess you could say that my home network is static.

      I’m not sure whether WPS results in static or dynamic, so I’m not sure how my printer is connected to the router.

      Group "L" (Linux Mint)
      with Windows 10 running in a remote session on my file server
    • #2552546

      I have my Brother printer on a static IP address, it seems faster and more reliable,

      🍻

      Just because you don't know where you are going doesn't mean any road will get you there.
    • #2552547

      I have an ethernet-attached small HP LaserJet printer. I have no idea whether it still works. I have had no need to power it up since I retired, about 10 years ago.

      Thanks for this post. I know I can now de-clutter printer.

      The world marches on. Physical printers don’t…

    Viewing 19 reply threads
    Reply To: Dynamic or Static? Which do you choose?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: