Login to Exchange On-prem with your domain/user.name and password:
Search for the mailbox and click on edit:
Under email address tab, add or edit the email address you want to set and assign it to Set as remote routing address to make it default for the mailbox: