LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Dhpc configuration for different subnet and netmask (https://www.linuxquestions.org/questions/linux-server-73/dhpc-configuration-for-different-subnet-and-netmask-4175519934/)

sagar666 09-24-2014 12:24 AM

Dhpc configuration for different subnet and netmask
 
Hi,

We have dhcp sever configured for only one subnet below is the current configuration

option domain-name "scc-dv.com";
option domain-name-servers 10.10.8.10;
option subnet-mask 255.255.255.0;

default-lease-time 600;
max-lease-time 72400;
ddns-update-style interim;

subnet 10.10.1.0 netmask 255.255.255.0 {

range 10.10.1.10 10.10.1.250;

option routers 10.10.1.1;

}

DHCP SERVER IP is 10.10.1.6

Now i got requirement to configure other subnets.

a.Below are the subnets, netmask and gateway ip that as to add in our dhcp server

1. 10.10.2.0, 255.255.255.0, 10.10.2.1
2. 10.10.3.0, 255.255.255.0, 10.10.3.1
3. 10.64.100.0, 255.255.255.0, 10.64.100.1
4. 10.106.80.0, 255.255.255.0, 10.106.80.1

b. ddns-update-style interim; is not updating IP's and computer names to our DNS server.

Linux guru's Please help on above a and b.

Thanks in advance.

Ser Olmy 09-26-2014 04:45 PM

School assignment, right?

Well, you've got the existing scope/subnet definition from the config file right in front of you. Surely you're able to copy and paste it 4 times, and then alter the necessary parameters?


All times are GMT -5. The time now is 05:50 AM.