• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

reley dhcp through cisco 1600 router

I Was wandering how i could reley dhcp through my cisco 1600 router.

My main office got dhcp server on a windows2000 server.  Then I got a Branch office that is connected with private line to my cisco 1600 router in my main office with 2mb of bandwith.
I want the branch offiice to get Ip adresses from the dhpc server in the main office.

it looks some thing like this

Win2K server and dhcp server(main office) -> cisco 1600 <- private line <- cisco 1600 <- branch office (currently on a private subnet) .


Ok how can i configure the routers to relay dhcp to the branch office.
 
                                                                     
0
Finnbogi80
Asked:
Finnbogi80
  • 2
1 Solution
 
Don JohnstonInstructorCommented:
On the LAN interface of the branch office router, use the command:

ip helper-address x.x.x.x (ip address of the DHCP server)

-Don
0
 
nprignanoCommented:
>>branch office (currently on a private subnet)

by private subnet do you mean this subnet is different from the main office subnet?  If so, you will need to either A) put the branch office on the same subnet as the main office, or B) put a DHCP server on the same subnet as the branch office.

you could set DHCP on the branch office router if you want to have seperate subnets.  read this document for complete details on how to do it on a Cisco IOS:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t1/easyip2.htm


nprignano
0
 
lrmooreCommented:
Don is correct in the syntax for the command on the router to forward DHCP requests from local lan to the remote DHCP server.
I'd like to point out that the DHCP server has to have an appropriate scope set up with the same IP subnet as the LAN interface of the 1600.

Sorry, nprignano, but you do not have to have a local dhcp server, and the only way to be on the same subnet on both sides of the router is to set up bridging. I certainly would never recommend bridging across a WAN connection unless absolutely necessary for other protocol reasons.
However, the link that nprignano posted shows you how to setup the 1600 router itself to be a dhcp server for the remote site - but only if you have the proper IOS version on the router.
"This command first appeared in Cisco IOS Release 12.0(1)T"
The "T" is important in the release designation.
0
 
nprignanoCommented:
thanks for the correction, lrmoore, i will keep that in mind in the future :)


nprignano
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now