Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dhcp on ethernet int.

Status
Not open for further replies.

doubleJ

Technical User
Sep 20, 2000
48
0
0
US
Does the 2611 do dhcp for the ethernet interface
 
DHCP Client or DHCP Server? Anyways, yes on both. But, I've had some issues with doing DHCP Client depending on IOS level.

-Mike
 
Server

thanks Mike,

Do you have a sample script for the router config. Or white paper enabling 2600 router for dhcp.
 
Mike, would a 7206VXR have the DHCP server feature also? I am trying to find some links on the Cisco site on how to set up a router to act as a DHCP server, and I am not even sure if a 7200 even has that feature. Im used to working with the 7100's, where it is supported. Thanks...
 
Thanks Fat. I actually did end up finding one similar...

but yours is better.

I understand you can create multiple address pools. My question is, how do clients know which pool to grab an address from? Lets say if I have two edge routers (A and B) connected to my core router which is running DHCP services. I create two pools, one for each router. Address pool A is for the clients connected to router A, and pool B is for the clients on router B. How do the clients from router A obtain an address from pool A? DHCP is configured in global mode, so I cant stick an address pool on each physical interface. Somehow Im missing a command to make this happen, but I dont see any in the literature I am reading. Thanks for the help...
 
Correct me if I’m wrong! The Cisco router acts as the DHCP server and I can specify the internal IP range on the Ether Interface? So when an internal client / computer connects to the router the router can automatically assign an IP address from the range?

thanks
 
doubleJ, the IP address range on your DHCP server (router) is configured globally - and not on a specific interface. At least that is my understanding.
 
The IP address pools are configured globally but obviously the IP ranges are distributed per the subnetted interfaces they go with.

Eg - subnet one would not go onto subnet twos interface as the IP traffic doesnt route.

Ta

AJ

===

Fatman Superstar (Andrew James)

CCNA,
(CCNA Cisco Academy Instructor Trained)
 
So it’s as simple as the documentation states:
Config dhcp db agent or disable dhcp conflict logging
Excluding IP addresses (first and last ip in the range)
Configure dhcp address pool.

Thanks All
 
Double J,

I realize I'm late on the day with the thread, but understand the IPs that enter that router, are in fact routable. This is assuming that you have static routes or a routing protocol enables on your network.

I personally run a 2511 outer router, in nat outside ether0
serial back to back with 2507. Thsi provides my ethernet segment internally, i use 192.168.1.96 /28.

I have on that subnet my workstation and all of my other routers us OSPF in a BROADCAST network. 16 Port HUB router, 16 node address space. On that network is a 2522 that has 2 2501s serial to S0 and S2. S1 is a redundant line for one 2501. The 2501s are connected back to back Ethernet. This creates my loop.

This lab is used for people I work with and your question came up. Refence topology in the BSCI Cisco Press book. Chapter 1

On the ethernet subnet at the bottom if you will, between the 2501s we used 192.168.1.64 /26. 32 clients as we have switches on those interfaces. That segment receives it's IP addresses from my 2507 all the way at the top in an address pool called DOT64

It also controls the broadcase network with a pool called DOT96

Both of these address pools arrive on the router at E0 through the hub plate. When a client requests a MAC Broadcast for a DHCP server, if it's not local you have ot use:

conf t
int X
ip helper-address dhcp-server interface ip address

When that packet arrives on the interface of the router with helper-address enabled, it will be converted to ip directed-broadcast traffic.

In my network this packets leaves the 2501 and goes to the 2522, then out ethernet 0 to the 2507 interface or 192.168.1.97

The source address for that request. The DHCP server will only reply an address if it contains a scope that encapsulates the original subnet....

This can be tested by taking a client from one subnet, drawing an address, then, while debuggin ip dhcp events on the dhcp server, release that ip to the server, then plug the ethernet cable into the segment of the other scope,

The router will respond with a console message that the requested IP is not on that subnet, and will make an offer for the correct subnet.

Basically addressing is controlled by "where" the request came from...

I know this is lengthy, so I've put my show running-config statement from my dhcp router (2507) 16 Port HUB 1Ethernet and 2 Serials....

again, sorry for the length

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top