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 10-16-2003, 05:14 PM   #1
sureshot!
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.

1)

- currently my dhcp server leases addresses from eth1 - 192.168.1.1

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

2)

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

- which connects to several PCs

3)

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

4)

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

5)

Is this possible? and how would you do it? and do I need a relay agent for this?
 
Old 10-16-2003, 11:23 PM   #2
born4linux
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, 04:15 AM   #3
sureshot!
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, 06:54 AM   #4
Robert0380
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.
 
  


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


All times are GMT -5. The time now is 09:46 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration