LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-24-2008, 11:30 AM   #1
kenwoodgt
LQ Newbie
 
Registered: Apr 2006
Location: Omaha, NE
Distribution: Debian Sarge 3.1
Posts: 13

Rep: Reputation: 0
DHCP - Multiple range in 1 subnet??? - Debian Sarge 3.1, DHCP3.0


Hello to all~

I have a a complicated problem i am trying to work through. (semi-complicated to some of you i am sure). I have searched for some time trying to find the answer and think i may just be searching with the wrong terminology.

Goal:

To get a range of IP's at one of my company's field offices to pull a dhcp address with a different DNS server than the rest of the machines on said subnet. This is being done for remote access users.


Here is the current field office DHCP scope:

# *City-State* Office Lease
subnet 10.12.0.0 netmask 255.255.254.0 {
default-lease-time 5184000;
max-lease-time 5184000;
range 10.12.1.0 10.12.1.254;
option domain-name-servers 10.0.0.12;
option domain-name "city-state.domain.com";
option routers 10.12.0.1;
option broadcast-address 10.12.1.255;
option slp-directory-agent true 10.12.0.2;
# option netbios-name-servers 10.0.0.70;
zone city-state.domain.com. {
primary 127.0.0.1;
}
zone 12.10.in-addr.arpa. {
primary 127.0.0.1;
}
}


10.12.0.0-10.12.0.254 are statics for this office.
10.12.1.0-10.12.1.254 are DHCP assignable for this office.


What i would like is to split the "range 10.12.1.0 10.12.0.254" to look like:


The normal users would get "range 10.12.1.51 10.12.1.254"
"option domain-name-servers 10.0.0.12"

The remote users would get "range 10.12.1.1 10.12.1.50"
"option domain-name-servers 10.12.0.4"

I basically need the remote access users to be issued the 10.12.0.4 DNS server address for a B2B tunneled connection.

Is there any easy way to do this? I will entertain any suggestions. Thank you in advance for your help.


/ryan
/Omaha, NE

Last edited by kenwoodgt; 01-24-2008 at 11:33 AM.
 
Old 01-24-2008, 03:23 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
The easy way (imho) would be to have the offices in different subnets, since they are geographically separated.
Then create a scope for each office with the proper address range, gateway, and DNS settings

Main office
10.12.0.0
defaultgw 10.12.0.1
option domain-name-server 10.0.0.12

Branch office 1
10.12.1.0
defaultgw 10.12.1.1
option domain-name-server 10.12.0.4

branch office 2
10.13.1.0
defaultgw 10.13.1.1
option Domain-name-server 10.12.0.4

etc.. etc..

I thing bridging everyone together in a single subnet actually makes things more difficult than a basic routed network configuration would be.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian Sarge NetInst DHCP Trouble PatrickNew Debian 6 11-10-2006 01:38 PM
Debian 3.1 sarge: DHCP autodetection fails sparka Linux - Networking 4 01-21-2006 09:59 PM
DHCP and WPAPSK on Debian Sarge goozlq Linux - Wireless Networking 4 10-06-2005 07:29 PM
Multiple glibc versions on Debian Sarge Magik Debian 4 06-21-2005 04:49 PM
dhcp3-client won't negotiate with windows dhcp server through cable modem frankster2000 Linux - Networking 0 06-25-2002 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 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