|
The SageTV Community Here's the place to discuss what's worth recording, HTPC deals at retail stores, events happening outside of your home theater, and pretty much anything else you'd like. (No For-Sale posts) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Static IPs or DHCP reservations?
I am trying to bring some order to my LAN as I now often have around 100 devices. Should I use static IPs or DHCP reservations?
DHCP reservations are somewhat simpler and you don't have to enter a Gateway and DNS server info. It can also be administered centrally through your router's web UI (I have an Asus RT-N66U router running Merlin). And you can always do a DHCP reservation - with some devices you can't always do a static IP - Harmony Hubs are one example. I don't know if all routers let you do this but my router also lets you do DHCP reservations for IP addresses outside of the DHCP range. For example my DHCP range is 192.168.1.100-185, but I am able to do DHCP reservations with a 192.168.1.200 IP address. Static IPs presumably give you more control and you will always get that particular address, even if it causes a conflict. Anyone have an opinion? And how does this all change in an IPv6 world where we no longer need NAT?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
|||
|
|||
Only use static IPs as a last resort, for all of the reasons that you mentioned.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#3
|
||||
|
||||
Quote:
I maintain a spreadsheet of of my DHCP pools and static IP addresses for all of my subnets. I know configuring DNS, setting the IP addresses and maintaining a spreadsheet sounds like more work, but how many times are you re-imaging/adding to your servers in one year? Once I got in the habit of assigning static IP addresses, I stopped thinking of it as a chore. Also if my DHCP service died irrecoverable for any reason, I don't need to re-enter all of my reservations and I have a real backup of how I configured everything.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#4
|
|||
|
|||
Quote:
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#5
|
|||
|
|||
Quote:
I also maintain a spreadsheet, but I populate it by copying the reservation page from my router. That way I do not fat-finger the MAC addresses.
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7 Servers: ChannelsDVR, Plex, AnyStream, PlayOn, Tuner: HDHomeRun Connect Quatro Tuner: HDHomeRun Connect Duo Sources: OTA, Sling Blue, Prime, Disney+, Clients: ShieldTV (2), Fire TV Stick 4K (4) |
#6
|
|||
|
|||
And just to add to the discussion, I only use reserved addresses if there is a need to. Almost all of the infrastructure (servers, wi-fi access points, printers, etc.) work best with a predictable IP address. Most of my client devices do not have a reserved address, I let DHCP assign the IP address of it's choosing.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#7
|
|||
|
|||
What tools are you folks using to get a dump of all of the IPs, etc from your LAN? Although it is meant for other purposes I find WakeMeOnLan to be very useful as it shows MAC, IP, Network adapter company, etc. And you can then copy the data into a spreadsheet. Are there other tools out there that are better?
FYI, I am working on a simple shell script to allow you to take a text file and use that to add DHCP reservations. My router is an Asus RT-N66U but this should work for most or all Asus routers. The script looks like this: Code:
nvram get dhcp_staticlist | tr -d'\n' > dhcpnew.txt cat dhcp_add.txt >> dhcpnew.txt nvram set dhcp_staticlist="$(cat dhcpnew.txt)" Code:
<A0:30:A6:0D:76:4E>192.168.1.200>WifiLightKitchen<B8:27:EB:BC:F0:2C>192.168.1.201>RasbPi1
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#8
|
|||
|
|||
Quote:
That is become the case more often with IoT devices. I also find it useful to have predictable IP addresses for stuff like Sage extenders, even though it doesn't really matter for functionality.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#9
|
|||
|
|||
Quote:
All of my Sage extenders have a reserved IP address, since there are times that I need to reboot the extender, etc. I don't have Hue lighting, but it sounds like you found a need to use a reserved IP address. My point really was, for client devices like laptops, desktops, tablets, etc., I let DHCP take care of assigning the IP address.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#10
|
||||
|
||||
Quote:
I have plenty of friends that think I'm nuts about this, but I tend to run my house a little like a small enterprise.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#11
|
||||
|
||||
I have friends like that, too. They think I'm nuts, right up until I fix their computers, then everything seems to be okay. Most of them still believe it's some form of magic, which I have encouraged, for obvious reasons.
|
#12
|
||||
|
||||
Most of my friends are at my level of technical expertise and specialize in various things that I know much less about. They know full well when they are taking a shortcut with caveats and I have no problem with pointing it out.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#13
|
|||
|
|||
I use dnsmasq on a couple Linux VMs, (replicated storage via DRBD so I can take a VM offline and not loose DNS/DHCP). I've found this to be much more flexible than when I just used the router's DHCP server. It is also fairly easy to use and made it pretty painless to adopt IPv6. I also maintain a spreadsheet. AND I have a naming convention for devices .
My main rule of thumb is to assign a static IP for devices that need to be accessible remotely through the firewall and leave the rest to DHCP. I don't use static DHCP bindings. Since dnsmasq handles DNS and DHCP I can just go to e.g. pr2s1 to get to the printer in the second floor study.
__________________
Home Network: https://karylstein.com/technology.html Last edited by KarylFStein; 01-02-2017 at 08:59 PM. |
#14
|
||||
|
||||
I use reserved IP for anything I want to control or access a GUI of some sort. The only thing that isn't included in that would be my phones and laptop. My main desktop doesn't have a reservation, but it tends to grab the same IP anyway.
My directv, android TV, AP, wifi camera, etc all have reserved addresses just to make things simple for what I'm wanting those devices to do.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#15
|
|||
|
|||
I will even admit that I have a Network Diagram.
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7 Servers: ChannelsDVR, Plex, AnyStream, PlayOn, Tuner: HDHomeRun Connect Quatro Tuner: HDHomeRun Connect Duo Sources: OTA, Sling Blue, Prime, Disney+, Clients: ShieldTV (2), Fire TV Stick 4K (4) |
#16
|
||||
|
||||
I used to just let DHCP do its thing, then I got bit in the a$$ trying to fix a network issue and recently went to static IP addresses
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#17
|
||||
|
||||
I use a single DHCP reservation for my unRAID server (runs sagetv and a few other things)... everything else is DHCP.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#18
|
|||
|
|||
My router let's me assign a DHCP reservation that is outside of the actual DHCP range. I have the range set to 192.168.1.100-185 but I can assign a DHCP address of 192.168.1.200. Is that the way things typically work?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#19
|
|||
|
|||
Yes.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#20
|
||||
|
||||
I use a combination Static IPs and DHCP reservations (for servers (always static), Printers (static) and reservations for devices that really should always the same IP address, which for me, is any device that is in regular use on my network) and just plain old DHCP so computers and devices not always on my network can still connect.
As a rule of thumb the DHCP range of assignable addresses are limited (usually to around 5 or 10 IPs) and do not overlap the static or reserved addresses (for reserved IPs I let DHCP assign an address first, then create a new reservation outside the range assignable by the DHCP server). To keep track of IP addresses I use 1 of 2 programs to scan and note what devices are on my network. One is Angry IP it is freeware (I think). The other is Solarwinds IP Address Tracker and it is free.
__________________
"Unencumbered by the thought process" The only constant in the Universe is change. Last edited by UgaData; 01-04-2017 at 07:35 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DHCP problems | sglass68 | SageTV Media Extender | 1 | 10-28-2010 07:18 AM |
MediaMVP, wireless, DHCP and static IPs | Joe Bloggins | SageTV Media Extender | 1 | 08-04-2008 06:41 AM |
HD100 and DHCP | ChubbyTiger | SageTV Media Extender | 1 | 06-16-2008 01:30 PM |
DHCP issue-mvp | JUC | SageTV Media Extender | 3 | 04-28-2008 07:57 AM |
DHCP failures on MVP | lotus | SageTV Media Extender | 21 | 10-29-2006 10:43 PM |