Page MenuHomeVyOS Platform

Remove possibility to specify DHCP relay port
Closed, ResolvedPublicFEATURE REQUEST

Description

The IPv4 and IPv6 DHCP relay service implementation supports specifying a listen port to listen for DHCP packets which should be relayed. At the time of this writing only the Linux DHCP client supports requesting an address over a non standard port (UDP 67). Supporting DHCP ports is only useful for debugging but I still don't get the real use-case here.

To get a clean CLI we should remove this option. I have also not found a similar option in Cisco IOS. A migration script is required for this removal.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close

Event Timeline

c-po created this task.Oct 26 2018, 7:48 AM
c-po updated the task description. (Show Details)
syncer triaged this task as Normal priority.Oct 26 2018, 7:50 AM
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc6); removed VyOS 1.2 Crux.

I disagree. The option to add additional ports to be forwarded can be really useful to get other than DHCP broadcast traffic between subnets. The Cisco equivalent command would be 'ip forward-protocol udp [port]'

Line2 added a subscriber: Line2.Oct 26 2018, 11:23 AM

Would 'set service broadcast-relay' be a possibility for that?

Didn't know it existed, yes you are right. Thanks!

c-po added a comment.Oct 26 2018, 1:48 PM

@danhusan, @Line2 is right, If you want a generic broadcast forwarder please use service broadcast-relay - that's why I added this feature in VyOS 1.2.

This request deals with service dhcp-relay and service dhcpv6-relay where a non standard port makes no sense as all clients default to the IANA assigned port number.

pasik added a subscriber: pasik.Oct 26 2018, 2:59 PM
c-po closed this task as Resolved.Nov 2 2018, 3:15 PM
c-po claimed this task.