DHCP - Somewhat advanced
Posted: Thu Oct 02, 2014 2:44 am
I am trying to change a few settings with my HDA's DHCP server. I need to change the subnet mask from 255.255.255.0 to 255.255.0.0. Second, I need to change the DHCP IP address range.
Quick backstory and explanation:
Years ago, before I studied networking, I decided to stop using the default IP address in my router of 192.168.x.x and started using a random one of 185.158.21.x. The third octet changed with every new router. 185.158.21.x, then 185.158.27.x, and so on. Increasing by 2 each time to differentiate the generation of network/router. I am up to 185.158.33.x. I thought I was being clever. Then I started studying for my CCNA and realized I was an idiot.
Back to the present.
I am now working on switching my network over to the 172.16.x.x - 172.31.x.x private IP address ranges, focusing on 172.16.x.x with a subnet mask of 255.255.0.0. I have reassigned all of the IP addresses for my devices, router, and the HDA. I am running Amahi 7 on Fedora 19, and I used the "hda-change-gw" command to change the gateway, rebooted the HDA, and everything looked good. Well, until I got a DHCP assignment on a device. The HDA is passing out 255.255.255.0 as the subnet mask. I need to change this to 255.255.0.0 as not everything is in the same 8 bit block of IP addresses. I am using the third octet to sort out devices. I am running servers now, and my network is poised to continue to grow. I am also going to be opening my network up to VPN connections so my friends can access and store files centrally, like our own private net. I am setting them up in 172.16.C.x, whilst my router sits in 172.16.A.x, connected clients in 172.16.B.x, servers sit in 172.16.D.x and NAS, SAN, and other network storage sits in 172.16.E.x, and so on. Everyone needs to be able to communicate with each other, and statically assigning IP addresses is not an option as there are enough clients coming and going on DHCP. Any DHCP clients will be stuck in the 172.16.B.x network, unable to communicate with anything else. My HDA resides in the 17.16.D.x, so I also need to be able to change the range of the assigned IPs to 172.16.B.x instead.
My question boils down to this: How do I change the range of IP addresses handed out to match the network I want clients in, and how do I change the subnet mask that is handed out so everyone can communicate nicely? Is this possible in Amahi? Or have my needs outgrown Amahi's capabilities?
Note: I am currently taking CCNA-2, and Linux Admin 2 (covering Fedora server administration) at my college. I am not afraid of editing system files, nor I am a complete noob. I am not an expert by any means. If I was, I wouldn't be asking this question. Also, yes, this complex configuration is necessary to accommodate current and projected growth of my network.
I sincerely hope this post makes sense to the right people. Please forgive incorrect terms or incorrect use of terms, and correct me so I can learn.
Quick backstory and explanation:
Years ago, before I studied networking, I decided to stop using the default IP address in my router of 192.168.x.x and started using a random one of 185.158.21.x. The third octet changed with every new router. 185.158.21.x, then 185.158.27.x, and so on. Increasing by 2 each time to differentiate the generation of network/router. I am up to 185.158.33.x. I thought I was being clever. Then I started studying for my CCNA and realized I was an idiot.
Back to the present.
I am now working on switching my network over to the 172.16.x.x - 172.31.x.x private IP address ranges, focusing on 172.16.x.x with a subnet mask of 255.255.0.0. I have reassigned all of the IP addresses for my devices, router, and the HDA. I am running Amahi 7 on Fedora 19, and I used the "hda-change-gw" command to change the gateway, rebooted the HDA, and everything looked good. Well, until I got a DHCP assignment on a device. The HDA is passing out 255.255.255.0 as the subnet mask. I need to change this to 255.255.0.0 as not everything is in the same 8 bit block of IP addresses. I am using the third octet to sort out devices. I am running servers now, and my network is poised to continue to grow. I am also going to be opening my network up to VPN connections so my friends can access and store files centrally, like our own private net. I am setting them up in 172.16.C.x, whilst my router sits in 172.16.A.x, connected clients in 172.16.B.x, servers sit in 172.16.D.x and NAS, SAN, and other network storage sits in 172.16.E.x, and so on. Everyone needs to be able to communicate with each other, and statically assigning IP addresses is not an option as there are enough clients coming and going on DHCP. Any DHCP clients will be stuck in the 172.16.B.x network, unable to communicate with anything else. My HDA resides in the 17.16.D.x, so I also need to be able to change the range of the assigned IPs to 172.16.B.x instead.
My question boils down to this: How do I change the range of IP addresses handed out to match the network I want clients in, and how do I change the subnet mask that is handed out so everyone can communicate nicely? Is this possible in Amahi? Or have my needs outgrown Amahi's capabilities?
Note: I am currently taking CCNA-2, and Linux Admin 2 (covering Fedora server administration) at my college. I am not afraid of editing system files, nor I am a complete noob. I am not an expert by any means. If I was, I wouldn't be asking this question. Also, yes, this complex configuration is necessary to accommodate current and projected growth of my network.
I sincerely hope this post makes sense to the right people. Please forgive incorrect terms or incorrect use of terms, and correct me so I can learn.