LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-24-2014, 09:58 AM   #1
sagar666
Member
 
Registered: Feb 2013
Posts: 212

Rep: Reputation: Disabled
Dhcp confi for extra subnets


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.
 
Old 09-24-2014, 02:09 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
DHCP is a layer 2 protocol, so it will not traverse a router (layer 3). To serve multiple subnets you need to have multiple interfaces, one on each subnet.
 
Old 09-24-2014, 06:59 PM   #3
sagar666
Member
 
Registered: Feb 2013
Posts: 212

Original Poster
Rep: Reputation: Disabled
Hi Smallpond,

Thanks for your answer

I understand in my requirement each subnet need each interface

Can any thing do in networking to allow all above subnets to 10.10.1.0.
 
Old 09-27-2014, 08:29 AM   #4
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
You need access to those networks in order to do this.

You could try aliasing your nic, and see if that would work.
 
Old 09-29-2014, 01:12 AM   #5
sagar666
Member
 
Registered: Feb 2013
Posts: 212

Original Poster
Rep: Reputation: Disabled
Hi Gawdly,
Can you please explain in detail. I dont know nic aliasing
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two DHCP Subnets mpapet Linux - Networking 2 08-02-2013 11:16 PM
DHCP subnets klnasveschuk Linux - Networking 2 11-17-2007 11:04 PM
DHCP for 2 subnets omlex Linux - Networking 11 03-04-2007 06:41 PM
2 x Subnets 2 x DHCP Authority? vaworx Linux - Networking 0 07-17-2006 05:24 AM
DHCP Server for several subnets Simon_Sez Linux - Software 5 12-30-2005 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration