Static IP vs DHCP Reservation

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 60

  • @RicardoValero95
    @RicardoValero95 3 года назад +8

    Thanks, I was looking for someone who could explain this clearly.
    I changed all my office's network structure consisting of two modems, a load balance router, a switch (with a NAS, PBX, security cams, wifi routers, SIP phones, etc.). All of the devices were set to static IPs by an ex-coworker and everything worked fine.
    Gradually people misconfigured devices (duplicate IPs or resetting devices and expecting them to have the preconfigured static IP) and it became a mess. I (having to learn all of this from scratch) didn't understand why they set up like this and started investigating.
    So my solution was enabling DHCP on the router (and automatically setting the IP on every device) and filled the reservation list with the desired IP and corresponding mac address.
    And that was it. I would've saved so much time if I had known what to look for but also found your video sooner.

    • @kawaiihikari0
      @kawaiihikari0 Год назад

      sheesh bro that sounds like a huge mess lolllll

  • @dennbauer
    @dennbauer Год назад +1

    Great video, Thanks! One question: I am using some IOT devices at places where WIFI connectivity is an issue. I was recommended to try a fixed IP for better stability and faster re-connects. Can I expect a difference between DHCP reservation and static IP with regards to stability/re-connections or are both methods equal on the effectiveness?

    • @StephenWagner
      @StephenWagner  Год назад

      I would say both are equally effective! 😎👌

  • @spocksvulcanbrain
    @spocksvulcanbrain 3 года назад +1

    Gorgeous voice dude. I could fall asleep to you reading the phone book. Anyway, wondering for us home users, what is the benefit, if any, of using a static IP for each device. I heard that drops from roaming won't happen. Can you explain that from a home end-user perspective? Thanks.

    • @StephenWagner
      @StephenWagner  3 года назад

      Hey @Kirk R,
      Thank you for the compliment! hahah :)
      For home user, it might actually not be needed, unless you have a printer or something, or numerous wireless access points (that you don't want their IP to change), but at the same time you might just use statics for these.
      Also, if you have any devices hosting services (like a file server, NAS, etc), you could use reservations for those as well. But again, there's the argument of just setting a static.
      Reservations, you manage everything from a single pane of glass instead of setting manually, but you create the dependence of the devices or computers on the DHCP Server.
      Hope this helps! :)

  • @ElectricityTaster
    @ElectricityTaster Год назад

    absolute n00b here. If I set up a DHCP reservation for my computer at home, is my network safer from hackers in any way or am I just creating problems?

    • @StephenWagner
      @StephenWagner  Год назад +1

      Hey Electricity taster, great question, but unfortunately it wouldn't really affect security, it's more so for configuration and manageability. But if you're looking to learn, maybe give it a shot?

  • @murtadha96
    @murtadha96 3 года назад +7

    DHCP actually stands for Dynamic Host CONFIGURATION Protocol

  • @DavidM2002
    @DavidM2002 3 года назад +1

    When I set up my NAS on my home network, I was advised to set it with a static IP address which I did. I gave it a nice convenient number ending in .100 However, my router had other ideas and set the address to end in .68 . That was how I learned about static IP and reservations. I ended up setting both a static address on the NAS and a reservation on the router. After watching your video, I'm thinking that I should have just set up a DHCP reservation.
    So, my question... should I use just a reservation, just a static IP address, or both ?

    • @StephenWagner
      @StephenWagner  3 года назад +3

      Hi @David M,
      If it was me, I would use a static IP only for the NAS as it involves storage hosting and should not change (although you could do a reservation if you'd like, but this would cause a reliance on the DHCP Server).
      What I'm confused about, is that you mentioned that you configured a static, but it still also got an IP from the DHCP server? Does the NAS have multiple NICs? Did you configure secondary virtual interfaces? If it only has one NIC and you configure it for Static, it shouldn't also be getting an IP from the DHCP Server.
      Final note, make sure that when you do assign the static IP, that it's not inside of the DHCP range (you don't want it giving that IP to another device).
      Cheers,
      Stephen

    • @DavidM2002
      @DavidM2002 3 года назад

      @@StephenWagner I initially set a static IP address on the NAS (inside the DHCP range) but the router assigned a different IP address. As a result, they weren't communicating until I set a reservation on the router to the same address that I set on the NAS.
      So, if I set a static IP address on the NAS, should the router recognize that automatically ? That was my thinking in the beginning.

    • @StephenWagner
      @StephenWagner  3 года назад

      Your router probably gave the same IP address initially to another device. If you ever assign static IPs to devices, always make sure they don't reside in the DHCP lease space as the IP may be assigned to a DHCP client and cause an IP conflict.
      If you set a static IP, the router won't be aware of it, but you need to make sure you configure the IP, gateway, DNS and all other settings for communication to occur.

  • @Quietschbeu
    @Quietschbeu 4 года назад +1

    I love to use my reservations on hypervisor linux VMs. Networking can be that easy and cause i have full control of my network, i dont have a lot of risk of a second faulty DHCP Server and can easily find and block him out

  • @GregInHouston2
    @GregInHouston2 3 года назад +1

    I would point out that the two are not mutually exclusive. Even when a device has a static IP address, I will put in a reservation for it; that is where every device is documented. But I would also point out that not every DHCP is capable of having reservations; I ran into a Cisco router that did not support reservations in its latest firmware. THAT was a problem!!! I had a router die [water damaged it] and so I ordered a new one. The old one did not have the latest firmware; of course, the new did. But I could not put the reservations from the old one onto the new one.

  • @bruce-le-smith
    @bruce-le-smith 2 года назад +1

    great video thanks! matches a bunch of forum and blog post research i did a few months back setting up a NAS. since there's a blog post covering all the points you made i feel like this video could've been quite a bit shorter / faster. but if this was someone's very first intro to this topic they might appreciate the thoroughness / pace.

    • @StephenWagner
      @StephenWagner  2 года назад

      Hey Bruce, thanks for the feedback! Glad if the blog post and/or video helped! Cheers!

  • @DutchTugMaster
    @DutchTugMaster Год назад

    Hello from the Netherlands Chris, question: I reasently daisy-chained a TP-Link AX1500 router (DHCP server off) to my IP provider provided Ubee cable modem/router through the WAN port and put this AX1500 in accespoint mode for WiFi extension. I tried to give the AX1500 router a static adress but that does not work (it wo'nt connect to the home- and internet). It works in dynamic adress mode and I got it on the first ip adress in the DHCP pool. On the Ubee modem/router I am able to make DHCP reservations and put them as active. I normally reset routers ones a week to clear caches, will I then be loosing the reservations?

  • @rango-konk
    @rango-konk 3 года назад +1

    This is the 5th time I'm watching this video. I live in India and there are some occasional power cuts which make my router reboot I'm trying to SSH into my Linux Machine but there is no DHCP reservation panel in my router page. My old TP-Link used to...but this one doesn't..
    I'm trying to setup DHCP Reservation through MAC Addresses without using STATIC IP. I honestly don't think I fully understand certain concepts like Subnet Mask and such in Static IP.. This video is serving as a great booklet in my journey of learning Networking.

    • @StephenWagner
      @StephenWagner  3 года назад +1

      @Raghavendra Konkathi, I'm glad the video helps!
      Don't worry too much about the subnet mask, just always use 255.255.255.0 and it'll give you 254 IPs to use. DHCP servers will usually always use this subnet mask, and when using Static's you can just manually set it, and then make sure that all your IPs are in the same range.

  • @jorgemartin5093
    @jorgemartin5093 Год назад

    Can I use both things?? Dhcp reservation on my router for every device connected to my home wifi??? BUT adding static ip too with my cellphones at the same time??? Or have I to deactivate one and leave the other???? Wich one do I choose?? I feel like my smart tv doen't show hd resolution since i did that. Maybe it's another thing, like band steering. I don't know. I will thank for your help

    • @StephenWagner
      @StephenWagner  Год назад

      Hey Jorge, whether you use Static IPs, DHCP Reservations, or Standard DHCP leases, they shouldn't make a different in performance. The only thing you need to make sure is that you avoid conflicts. If using Static IPs, make sure that the Static IPs aren't in the range/pool of DHCP leases. Also, make sure you don't have a DHCP Reservation for the same IP as a Statically configured IP.
      When you think about Statics/DHCP Resos/DHCP Standard leases, I don't want you to think about performance as it's unrelated. All these are, is just ways/methods to assign IPs to your devices, where Static IPs and DHCP Reservations never change, and Standard DHCP leases just grab an IP from the pool.

  • @redcell7
    @redcell7 Год назад

    Great video. Question. I use a iPad for most of what I do as in my shop I am moving around. But for files I use I need to send them to my laptop wireless.. so I can run my laser and my 3d printer and cnc, my question is I have set it up we’re my iPad is linked to my laptop using the technique of connecting by giving permission to a shared folder which works great but the lease runs out that night so when I go to connect the following day it won’t connect, as ip has grasped a new one from the pool….If a reserve a ip from my Wi-Fi extender (t-link ) is there a way to keep the same ip for my laptop that way when I send files from iPad to laptop wireless the connection is the same always and no need to get another ip. Not sure if u get all this. Any help is appreciated.

    • @StephenWagner
      @StephenWagner  Год назад

      Hi billy, I'm not sure why, but accessing file shares shouldn't be independent to the IP remaining the same. However, if you have configured it to work this way, you could either use a DHCP reservation or Static IP to stop the computer from changing IPs.

  • @kalkalasch
    @kalkalasch 4 года назад +1

    very high quality explanation + video. thanks a lot.

  • @sjsphotog
    @sjsphotog 3 года назад

    Great info. My old router didnt have the ability to use DHCP Reservations but my new one does. I lost access to my home NAS that I run my Plex server on when they swapped out my router to upgrade my spped recently, and my NAS was set for static IP. Luckily I was able to reset my NAS to reset it back to DHCP without losing data. I think I will now use DHCP Reservations for my printers and IoT devices. But you still suggest setting a NAS to Static IP even though it only for my music files and not for mission critical daily work? Thanks.

    • @StephenWagner
      @StephenWagner  3 года назад +1

      Happy if the post helps!
      I would recommend using a static IP for the NAS. If you configure it for DHCP, it will rely on the DHCP server to function (ie. DHCP server offline, and you turn the NAS on, the NAS won't get an IP). I consider storage an important service.

  • @ryanhogan475
    @ryanhogan475 2 года назад +1

    Great video dude

  • @toddhewell266
    @toddhewell266 4 года назад +1

    DHCP reservations are great, we have been using in our environment. Does anyone have suggestions for backing up/archiving DHCP reservations? Believe it can be done through Windows Server.

    • @StephenWagner
      @StephenWagner  4 года назад

      Hey @Todd Hewell,
      Depending on your version of Windows Server, I think you can back up the information directly from the MMC snap-in. Just open up the DHCP MMC Snap-in, right click on the server, and there should be a menu to backup and restore!
      Cheers,
      Stephen

  • @Dean-vd5wr
    @Dean-vd5wr 3 года назад

    Hi Stephen, would you recommend static ips for say 8 devices on your home network?

    • @StephenWagner
      @StephenWagner  3 года назад +1

      Hi @1873Dean,
      It depends on what the devices are and the purpose.

  • @serenditymuse
    @serenditymuse Год назад

    I have a true static IP address from my ISP NOT something in a DHCP range. To me that is true static IP not fixed address in DHCP address. How to I set this?

    • @StephenWagner
      @StephenWagner  Год назад

      You'll need to get the information from your ISP for the Static IP, and then set it in your network configuration.

  • @orionpco
    @orionpco 3 года назад

    Good morning. I am using a cisco sg350 on a project, I have always used stratix switches which are also built by Cisco. With the stratix switch I am able to assign a persistent ip address to a physical port.. I am unable to achieve this so far with the sg350. Any advice?

    • @StephenWagner
      @StephenWagner  3 года назад

      Hey Larry, unfortunately I don't have much experience with Cisco or Stratix switches so I can't comment. Sorry about that... I wouldn't even know where to begin to look other than Google.

  • @chrismelton4302
    @chrismelton4302 2 года назад

    I am working with network printers in my office and would like to know if a device can get a statically requested IP if there is a reservation on that IP by another device, and that device is offline? IE: do static requests ignore reservations if the IP is available? Thanks!

    • @StephenWagner
      @StephenWagner  2 года назад

      Hi Chris, try to realize that a static IP is an IP that is "forced" on to a NIC. It's not actually a request. It's like saying "Hey, this is my address" without being assigned an address or checking if it's ok. With static IPs there are no requests or replies.
      DHCP reservations are handled by a DHCP server, where a client sends out a request for configuration, and a DHCP server replies with an IP address (can be a reservation or dynamic IP).
      If you have a deice configured statically for an IP, and have another device with a DHCP reservation for the same IP, there will be an IP conflict if they are both on at the same time.
      Hope that helps!

    • @chrismelton4302
      @chrismelton4302 2 года назад

      @@StephenWagner Thanks! I think that answers my question. :)

    • @chrismelton4302
      @chrismelton4302 2 года назад

      @@StephenWagner Just to explain my situation. I work site support for a large company and do not have access to the DHCP server is create reservations. It easiest for me to use static IPs and I do not want DHCP to hand those address out when the static devices are offline. I was denied when I requested to set aside a scope that DHCP would not hand out. My solution is to request that "phony" reservations be created for the IPs that I want to use statically, thus preventing them from being handed out.

    • @StephenWagner
      @StephenWagner  2 года назад

      @@chrismelton4302 So in that situation if they will create the reservations but not a exclusion, then it would accomplish what you're doing.

  • @lanardfletcher1422
    @lanardfletcher1422 4 года назад

    How do you create a static ip in an enterprise environment? Like how do network admins create them?

    • @StephenWagner
      @StephenWagner  4 года назад +1

      On the DHCP server, you'd create an IP reservation and associate it with a MAC address. There's usually a section on the DHCP server.

    • @lanardfletcher1422
      @lanardfletcher1422 4 года назад

      @@StephenWagner Thanks a lot man!

  • @MikeT-yy3
    @MikeT-yy3 3 года назад

    Far too technical for me but you should be able to help me with a question I have had no success in answering.
    On a normal Iphone which can create a hotspot - can this hotspots IP address be fixed so it never changes regardless of the phones physical location in the UK or even abroad?
    Thank you, an answer would be much appreciated.

    • @StephenWagner
      @StephenWagner  3 года назад

      Hi @Mike,
      If your cell provider provides a Static IP service (usually through a non-default APN) and you sign up and configure it, you should always get the same static IP from your provider.
      I'm not sure if this would function while roaming to other providers though.

    • @MikeT-yy3
      @MikeT-yy3 3 года назад

      @@StephenWagner Thanks for a quick response. My ISP provider will not give me a static address.
      I ftp camera images to a server on my ipad and was hoping the iphone hotspot would be static wherever I happen to be. Is this true or not?
      My other idea was to use a Rav file hub which generates its own hotspot without any internet help. If I connect my Ipad and Camera to this hotspot, I can't really see how this hotspot can change, its IP address is 10.10.10.1 in my house, am I wrong here?
      Regards
      Mike

    • @StephenWagner
      @StephenWagner  3 года назад

      Hi @@MikeT-yy3,
      If your Cell Provider won't give you a static IP for your data plan, then you will not have a static IP and should plan on it changing with frequency depending on what they have configured for their network.
      I'm not familiar with what a Rav file hub is, so I can't comment on it, but if the provider doesn't provide a Static IP you should also plan on that one changing.
      The IP address you mentioned sounds like an internal IP and not an internet external IP.
      Cheers

    • @MikeT-yy3
      @MikeT-yy3 3 года назад

      @@StephenWagner Sorry if I confused you, the Rav File hub is like a mini portable router that generates its own unassisted hotspot anywhere, even in the middle of a forest.
      When I go connect my Ipad to it and tap the blue circle on the info box next to the connected connection, it displays the address 10.10.10.1 in the Configure section below marked IPV4 IP address.
      Because the cameras ftp set up is quite awkward, I need a permanent Address to connect the camera and server, whenever I change locations.
      I'm about to give up on the idea, it sounds as though it should be simple in this day and age.
      Many thanks for your help

  • @ewilliamsdba
    @ewilliamsdba 4 года назад +3

    DHCP isn't dynamic host CONTROL protocol, but is rather dynamic host CONFIGURATION protocol. Other than that, it's a nice video.

    • @StephenWagner
      @StephenWagner  4 года назад +2

      Hey Eric, nice catch and thanks for pointing that out! I did the video super quick and made that slip-up.

    • @ewilliamsdba
      @ewilliamsdba 4 года назад +2

      @@StephenWagner It actually took me a double-take to catch myself. But like I said, a very solid video with real-world examples. Keep them coming as I'm sure there are people that would benefit from them.

  • @lwa.dev74
    @lwa.dev74 3 года назад +1

    thanks mate :-)

  • @maxi-g
    @maxi-g 3 года назад

    soo… you are from canada, huh….

  • @terrydouglas5008
    @terrydouglas5008 3 года назад

    Static good DHCP/Bind sucks!

  • @mahdyfouad
    @mahdyfouad 2 месяца назад

    your mouth is very close to mic sound very sssssss thththth that very bad for headphones users