Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-16-2003, 04:14 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
dhcpd puzzle

How can you make your DHCP server give out a different IP address to a different network segment.


- currently my dhcp server leases addresses from eth1 -

- which connects into a Cisco 2600 router eth 0/0 -


- also on the Cisco 2600 router is eth 0/1 -

- which connects to several PCs


my dhcp server can lease addresses of the same subnet to the network without a problem


what i want to do is lease 10.x.x.x IP addresses to the network ( instead of the usual 192.168.0.x IPs )


Is this possible? and how would you do it? and do I need a relay agent for this?
Old 10-16-2003, 10:23 PM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
yep. dhcprelay might be the way.
Old 10-22-2003, 03:15 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Ok I figured it out. Yes you need a relay agent that talks to both the clients and the server. And you need to run either a link state or distance vector protocol that advertises all the networks on your router. So yes, you can lease a 10Net address over 192 Network and route with it.
Old 10-22-2003, 05:54 AM   #4
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
what relay agent are u using, sounds lik VLANing almost also.


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
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 03:58 AM
Binary Puzzle aioss Programming 25 02-08-2004 02:50 PM
rpm puzzle jbmcmillan Linux - Software 3 10-16-2003 02:42 PM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 03:34 PM

All times are GMT -5. The time now is 06:57 PM.

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