Quote:
add an ip helper under IOS - "ip helper-address ip.of.dh.cp" under which interface you want to enable it on.
|
not a good idea!
Take a look at what this command actually does:
http://www.cisco.com/en/US/docs/ios/...html#wp1169356
Why?
1. It's an interface command, but such configurations are generally put in global configuration. If you think about it, what if you have 20 networks, would you configure for 20 interfaces? what about 50?
2. This command will forward ALL broadcasts to this address and you don't want that really.
This is what you need to use:
http://www.cisco.com/en/US/docs/ios/...html#wp1168014
This is what I would do:
The configuration you are looking for is defining 3 VLANs each for each subnet.
The port that connects to the DHCP server will have 3 subinterfaces each with an address from each of the subnets. For instance you would have 10.0.1.0/24, 10.0.2.0/24 and 10.0.3.0/24 with fa0/4 (for example) going to the DHCP server.
Then fa0/4.1 will be 10.0.1.1/24, fa0/4.2 will be 10.0.2.1/24, and fa0/4.3 will be 10.0.3.1/24. fa0/4 goes to the DHCP server which also has subinterfaces defined for each of the subnets. Make sure all networks are in the routing table, that broadcast forwarding is allowed (or use the ip helper / ip dhcp-server commands) and you are good to go.