Skip to content

isc-dhcp relay supports non-default vrf#23306

Open
lucas-li-micas wants to merge 4 commits intosonic-net:202505from
lucas-li-micas:202505
Open

isc-dhcp relay supports non-default vrf#23306
lucas-li-micas wants to merge 4 commits intosonic-net:202505from
lucas-li-micas:202505

Conversation

@lucas-li-micas
Copy link

@lucas-li-micas lucas-li-micas commented Jul 11, 2025

Why I did it

In some cases , when downlink and uplink interfaces of isc-dhcp relay are configured with the same vrf(user configured, non-default vrf), dhcp relay will funcion abnormally.

Work item tracking
  • Micas (number only):

How I did it

Let dhcrelay process run in the vrf user configured. For the time being, it is supported only in IPV4 scenario. Supporting of IPV6 may be optimized later.

How to verify it

Config downlink and uplink interfaces of dhcp relay to the same vrf (default or non-default),IPV4 dhcp relay shall work properly.

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

  • 202505

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 11, 2025

CLA Not Signed

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yejianquan
Copy link
Contributor

Hi @lucas-li-micas , any changes goes to 202505 should firstly go to master branch, and request for approval by labels in master branch, please paste corresponding master PR

@ashutosh-agrawal
Copy link
Member

Hi @lucas-li-micas Just FYI. The new dhcpv4 relay design has support for non-default VRFs with no restrictions. You can find the links to code PRs here:

sonic-net/SONiC#1938

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lucas-li-micas lucas-li-micas changed the title isc-dhcp relay supports vrf isc-dhcp relay supports non-default vrf Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants