LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcpd puzzle (https://www.linuxquestions.org/questions/linux-networking-3/dhcpd-puzzle-104855/)

sureshot! 10-16-2003 04:14 PM

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?

born4linux 10-16-2003 10:23 PM

yep. dhcprelay might be the way.

sureshot! 10-22-2003 03:15 AM

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.

Robert0380 10-22-2003 05:54 AM

what relay agent are u using, sounds lik VLANing almost also.


All times are GMT -5. The time now is 03:35 PM.