Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

DHCP Relay agent

Hi,

I have a 2921 with 4 segments:

Let's say:

172.16.0.0/27 Gi0/1 (172.16.0.1)

172.16.2.0/23 Gi0/2 (172.16.2.1)

172.16.5.0/24 Gi0/3  (172.16.5.1)

172.16.10.0/26 Gi0/4 (172.16.10.1)

My DHCP server is 172.16.5.2 and I need to serve clients from 172.16.2.0/23 by MAC address and only to that segment.

I'm kind of very new with Cisco....

How can I do that?

Thank you!

  • LAN Switching and Routing
Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
New Member

DHCP Relay agent

Hi Adrian,

Go under interface gi0/2 and apply the config below:

ip helper-address 172.16.5.2.

This will relay all your dhcp request to that specified DHCP server. You will need to create a dhcp pool for that subnet on your DHCP server.

HTH.

Regards,

Terence

2 REPLIES
New Member

DHCP Relay agent

Hi Adrian,

Go under interface gi0/2 and apply the config below:

ip helper-address 172.16.5.2.

This will relay all your dhcp request to that specified DHCP server. You will need to create a dhcp pool for that subnet on your DHCP server.

HTH.

Regards,

Terence

New Member

DHCP Relay agent

Thank you!

349
Views
0
Helpful
2
Replies