Static IP vs DHCP Reservation

  Рет қаралды 20,980

SW The Tech Journal

SW The Tech Journal

Күн бұрын

See More for more information and the blog post!
Blog Post: www.stephenwagner.com/2019/05...
Back to network basics... What is a Static IP? What is a DHCP lease? What is a DHCP Reservation? I answer these and other questions in this video, I also explain the differences between Static IPs and DHCP Reservations, the pros and cons, as well as use case scenarios for each.
Static IPs and DHCP Reservations can be used on:
-Servers
-Storage (SAN and NAS)
-Network Switches, Routers, Gateways, and Load Balancers
-Printers
-Wireless Access Points
-Computers and Workstations that host services
-VoIP Telephony
-IoT Devices
Learn when and where to use them.
For more content visit my blogs:
www.stephenwagner.com/categor...
To hire me and my company, visit:
www.stephenwagner.com/hire-st...
www.digitallyaccurate.com/con...

Пікірлер: 59
@RicardoValero95
@RicardoValero95 3 жыл бұрын
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 10 ай бұрын
sheesh bro that sounds like a huge mess lolllll
@kalkalasch
@kalkalasch 4 жыл бұрын
very high quality explanation + video. thanks a lot.
@StephenWagner
@StephenWagner 2 жыл бұрын
You are welcome! :)
@bruce-le-smith
@bruce-le-smith 2 жыл бұрын
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!
@ryanhogan475
@ryanhogan475 Жыл бұрын
Great video dude
@StephenWagner
@StephenWagner Жыл бұрын
Thanks Ryan!
@murtadha96
@murtadha96 3 жыл бұрын
DHCP actually stands for Dynamic Host CONFIGURATION Protocol
@rango-konk
@rango-konk 3 жыл бұрын
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 жыл бұрын
@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.
@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?
@dennbauer
@dennbauer 11 ай бұрын
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 11 ай бұрын
I would say both are equally effective! 😎👌
@Quietschbeu
@Quietschbeu 3 жыл бұрын
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
@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.
@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.
@GregInHouston2
@GregInHouston2 2 жыл бұрын
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.
@orionpco
@orionpco 2 жыл бұрын
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 2 жыл бұрын
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.
@lwa.dev74
@lwa.dev74 2 жыл бұрын
thanks mate :-)
@StephenWagner
@StephenWagner 2 жыл бұрын
Happy if it helped! 😁👌
@serenditymuse
@serenditymuse 9 ай бұрын
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 9 ай бұрын
You'll need to get the information from your ISP for the Static IP, and then set it in your network configuration.
@DavidM2002
@DavidM2002 3 жыл бұрын
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 жыл бұрын
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.
@Dean-vd5wr
@Dean-vd5wr 2 жыл бұрын
Hi Stephen, would you recommend static ips for say 8 devices on your home network?
@StephenWagner
@StephenWagner 2 жыл бұрын
Hi @1873Dean, It depends on what the devices are and the purpose.
@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 жыл бұрын
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.
@toddhewell266
@toddhewell266 3 жыл бұрын
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 3 жыл бұрын
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
@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 Жыл бұрын
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?
@spocksvulcanbrain
@spocksvulcanbrain 3 жыл бұрын
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! :)
@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.
@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
@lanardfletcher1422
@lanardfletcher1422 3 жыл бұрын
How do you create a static ip in an enterprise environment? Like how do network admins create them?
@StephenWagner
@StephenWagner 3 жыл бұрын
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 3 жыл бұрын
@@StephenWagner Thanks a lot man!
@ewilliamsdba
@ewilliamsdba 4 жыл бұрын
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 жыл бұрын
Hey Eric, nice catch and thanks for pointing that out! I did the video super quick and made that slip-up.
@ewilliamsdba
@ewilliamsdba 4 жыл бұрын
@@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.
@maxi-g
@maxi-g 3 жыл бұрын
soo… you are from canada, huh….
@StephenWagner
@StephenWagner 3 жыл бұрын
@Maxi, Indeed I am! :)
@terrydouglas5008
@terrydouglas5008 3 жыл бұрын
Static good DHCP/Bind sucks!
DHCP Explained - Dynamic Host Configuration Protocol
10:10
PowerCert Animated Videos
Рет қаралды 2,9 МЛН
Network Switches - Before You Buy!
22:16
NASCompares
Рет қаралды 220 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 42 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 55 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 9 МЛН
Finding And Stopping Rogue DHCP Servers On MikroTik
12:00
The Network Berg
Рет қаралды 22 М.
Port Forwarding Explained + The Risks You Need to Know
14:03
DHCP Reservations / Static Mapping - UniFi & EdgeOS
8:24
Crosstalk Solutions
Рет қаралды 31 М.
Switching from PFsense to OPNsense? Here's a basic setup
12:47
Mactelecom Networks
Рет қаралды 37 М.
How to get Faster Internet speed when you change a simple setting
8:22
Introduction to DHCP
21:36
Eli the Computer Guy
Рет қаралды 287 М.
Static IP Addresses and Port Forwarding Tutorial
12:48
AudioLink_MA
Рет қаралды 54 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 4 МЛН
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 2,5 МЛН
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 17 МЛН