Moving to UDM Pro from Cloud key and pfsense having routing issues

Hi everyone I’m Moving to UDM Pro from Cloud key and pfsense and having routing issues.

I’m running new Udm Pro with version 5.0.16 and network version 10.2.105 my issue is:

I have 5 static ip’s from my provider (Spectrum Business) lets say .154, .155, .156, .157, .158

when I setup and plugged my Udm into a port on my router to port #9 WAN1 on my UDM I set the static for the WAN1 with the .155 ip, gateway, subnet mask and DNS Spectrum gave me.

I added the rest of my static ip’s to WAN1 .156, .157, .158 I made 4 test VLANs and assigned them to the remaining ip’s. But when testing only VLANs assigned to the .155 ip I set the WAN1 up with will go out to the internet. I know I need to route the other VLAs to the other ip’s to make them go out on the other ip’s. But I’m unable to find any documentation on this. Any help figuring this out would be very appreciated Thank you…

I found an older youtube video with Cory from Mactel doing it but the interface on the older Udm Pro was diffrent.

It sounds like the core issue is that UniFi OS defaults to the primary IP for outbound traffic. You need to configure Routing Policies (specifically Source NAT or Policy Based Routing) to map specific VLANs to the specific IP aliases. Without this, the router won’t know to use .156 for VLAN 2, for example.

Yes I understand that but I have not been able to documents showing me how to do that.

I’ve tried a bunch setups in PBR none have worked that why I looking for some one that has done this.

I think I need to setup SNAT here is a paper on that.

https://help.ui.com/hc/en-us/articles/16437942532759-DNAT-SNAT-and-Masquerading-in-UniF

Hi anyone at all trying to do the same thing?