cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2478
Views
10
Helpful
3
Replies

DHCP snooping on a relay agent

malshara
Cisco Employee
Cisco Employee

Hi all,

DHCP ==CLOUD ===2900 router ==== 3560 switch ---- PCs

I have configured DHCP snooping on the 3560 switch and 2900 router ,and configured the uplinks as a trusted interfaces ,but I have a clints connected to the router directly ,the router configured with ip-helper ,but the issue that when I enabled DHCP snooping on the 2900 router ,all the clients didn't get an IP address .

my question :Is it possible to configure DHCP snooping on the 2900 router while ip-helper configured on it ?

Thanks in advance

Regards

1 Accepted Solution

Accepted Solutions

Hello,

Try these two commands. Your problem should be solved only with one of them. Please give me feedback.

On router:

ip dhcp relay information trust-all

on switch :

no ip dhcp snooping information option

Hope it helps,

Masoud

View solution in original post

3 Replies 3

Hello,

Try these two commands. Your problem should be solved only with one of them. Please give me feedback.

On router:

ip dhcp relay information trust-all

on switch :

no ip dhcp snooping information option

Hope it helps,

Masoud

malshara
Cisco Employee
Cisco Employee

Hi Masoud,

thanks for your answer ,even ip dhcp relay information trust-all solved the issue ,but I can see that there are no option 82 configuration on both sides ,the switch and the router . :) .

so what is happening here :) ,I will try to get a sniffer capture and check if the giaddr= =0 .

thanks in advance

Regards

Hello,

Switch adds option 82 and sets giaddr to 0.0.0.0 on dhcp messages when you activate snooping. Router receives those messages and drops them. 

I am glad your problem was solved.

Masoud.