Skip to content

Conversation

@mobileha
Copy link

In this scenario, 2nd backend pool is needed, as in current scenario, both backend VMs respond to both frontend IPs. This effectively breaks DHCP relay HA scenario, as requests to both Frontend Addresses may go to the same backend server, breaking HA provided by Load Balancer. Also, taking into consideration that source port of DHCP RElay is always 67, load balancing will not work as you would expece for ordinary connections (both Src IP and Port, and DST IP And port are always the same), this means connections will stick to some servers. In situation, where DHCP Servers on VMs may be also configured in HA LB mode, this can fully break DHCP functionality.

VMs LB template that included into this document also needs reviewing or adding here as static text.

In this scenario, 2nd backend pool is needed, as in current scenario, both backend VMs respond to both frontend IPs. This effectively breaks DHCP relay HA scenario, as requests to both Frontend Addresses may go to the same backend server, breaking HA provided by Load Balancer.
Also, taking into consideration that source port of DHCP RElay is always 67, load balancing will not work as you would expece for ordinary connections (both Src IP and Port, and DST IP And port are always the same), this means connections will stick to some servers.
In situation, where DHCP Servers on VMs may be also configured in HA LB mode, this can fully break DHCP functionality.
@mobileha
Copy link
Author

@microsoft-github-policy-service agree company="Microsoft"

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 11fbac5:

✅ Validation status: passed

File Status Preview URL Details
articles/virtual-network/how-to-dhcp-azure.md ✅Succeeded

For more details, please refer to the build report.

@prmerger-automator
Copy link
Contributor

@mobileha : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@ttorble
Copy link
Contributor

ttorble commented Oct 27, 2025

@asudbring

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Oct 27, 2025
@ttorble ttorble requested a review from Copilot October 27, 2025 15:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a critical DHCP relay high availability issue where both backend VMs were responding to both frontend IPs, breaking the HA scenario. The changes introduce a second backend pool to ensure proper traffic distribution and prevent DHCP functionality issues caused by sticky connections.

Key changes:

  • Renamed the original backend pool from backend-pool to backend-pool-1 for consistency
  • Added a second backend pool (backend-pool-2) with configuration instructions
  • Updated load balancer rules to reference the appropriate backend pools

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit b896e57:

✅ Validation status: passed

File Status Preview URL Details
articles/virtual-network/how-to-dhcp-azure.md ✅Succeeded

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit c98077e:

✅ Validation status: passed

File Status Preview URL Details
articles/virtual-network/how-to-dhcp-azure.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants