DHCP for different subnets

How would I go about getting a CISCO router to create 3 DCHP scopes? I have a 2600 series router with an NM 4E 4port ethernet module in it to create 4 different subnets.I have one subnet setup for 10.10.10.x one for 11.11.11.x and one more for 12.12.12.x. I have tried to get the relay agent to forward to a Win2003 server but had no luck. I have read that you can set up a DHCP server on the router itself. I have read the article but am a little confused. How do I designate one pool per subnet? Is this possible?

Thanks for any help

chad

Reply to
CLGIV
Loading thread data ...

You should be able to get IOS to do the DHCP relay. Can you post the configs from your attempt to do this? You essentially just need "ip helper-address" commands on the router pointing to the DHCP server.

Yes, you can do that. Say you have a simple config such as

client1 -----------------(e0) Router (IOS DHCP Server)(e1)

----------------- client2 10.10.10.0/24 20.20.20.0/24

A very basic config on the Cisco router that will work in this network is

service dhcp ! ip dhcp pool 0 network 10.10.10.0 255.255.255.0 ! ip dhcp pool 1 network 20.20.20.0 255.255.255.0 ! interface Ethernet0 ip address 10.10.10.1 255.255.255.0 no keepalive ! interface Ethernet1 ip address 20.20.20.1 255.255.255.0 no keepalive

Note that the IOS DHCP server will know which pool to use for which client depending on which interface the DHCPDISCOVER comes in on and knowing the IP address on that local interface.

The document at

formatting link
is pretty good and should answer your questions to develop more sophisticated configs for running the DHCP server in IOS.

Cisco da Gama

formatting link

Reply to
ciscodagama

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.