• May 21, 2012, 08:32:25 AM
Welcome, Guest. Please login or register. Registration is free.
Did you miss your activation email?

Author Topic: How to config DHCP relay on 8306  (Read 414 times)

0 Members and 1 Guest are viewing this topic.

Offline radeon9100

  • Jr. Member
  • **
  • Posts: 39
How to config DHCP relay on 8306
« on: October 18, 2011, 10:54:54 AM »
Hi All,
   
  I try to config ip dhcp-relay on 8306 but it seem not work fine, I try to forword UDP port 57-58 but It's can't. Please suggest way to completed that for me regards,

Radeon9100


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2503
    • Michael McNamara
Re: How to config DHCP relay on 8306
« Reply #1 on: October 18, 2011, 12:15:08 PM »
Here are the commands you need;


config vlan <VLAN ID> ip dhcp eanble
config ip dhcp-relay create-fwd-path agent <IP interface of switch> server <DHCP server> mode bootp_dhcp state enable


Good Luck!
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline radeon9100

  • Jr. Member
  • **
  • Posts: 39
Re: How to config DHCP relay on 8306
« Reply #2 on: October 19, 2011, 12:47:26 AM »
I had creat fwd-path already and broadcast on interface. but it still not work
do you have any recommend about udp protocol forward on ERS8300

Regards,
Radeon9100

Online bylie

  • Sr. Member
  • ****
  • Posts: 120
Re: How to config DHCP relay on 8306
« Reply #3 on: October 19, 2011, 07:56:06 AM »
I think "the way" to do DHCP relaying is not through simple forwarding, which is what you were trying to do if I'm not mistaken, but through the use of dhcp-relay helpers on the switch (as Michael explained). If I recall correctly the dhcp-relay helpers also put something extra into the packet of the DHCP request before forwarding it to the DHCP server so that the DHCP server knows from which subnet the DHCP request originated and from which DHCP pool it should offer an IP, simple forwarding ofcourse will not do this.

A packetcapture on the DHCP server and client might also be a good idea to verify that both of them are communicating through the use of the usual DHCP messages (DORA...).
« Last Edit: October 19, 2011, 02:14:44 PM by bylie »

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2503
    • Michael McNamara
Re: How to config DHCP relay on 8306
« Reply #4 on: October 19, 2011, 07:41:47 PM »
I had creat fwd-path already and broadcast on interface. but it still not work
do you have any recommend about udp protocol forward on ERS8300

The commands I've documented above are all that you should need.... as mentioned by @bylie try performing a packet capture from the DHCP server, do you see the DHCP discover requests hitting the DHCP server? If you do then the problem is with your DHCP server and not the ERS8300.

Good Luck!
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline radeon9100

  • Jr. Member
  • **
  • Posts: 39
Re: How to config DHCP relay on 8306
« Reply #5 on: October 20, 2011, 10:29:19 AM »
finally I can broadcast DHCP on interface
Just apply command #ip dhcp-relay  on each interface and it work fine. Thank you all guys  8)