Scenario:
LAN network (PublicIPs Vlan10, PrivateIPs Vlan20) > [Vlan10/Vlan20 (Router) Vlan4]>ISP
Vlan 10: Public IPs LAN /29, SFP2
Vlan 20:Private IPs LAN /24, SFP2 natted
Vlan 4: Public IPs WAN /30, SFP1 directly connected to ISP
SCT-NAT/masquerade for private subnet works fine when the out interface is set to WAN(Vlan 4), but I can’t figure out how to nat Vlan 20 behind Vlan 10.
Sorry if I didn’t explain the issue properly.
So.. I got two Public IP subnets. Vlan 4 connected directly to ISP and Vlan 10 also Public IPs for my devices.
I want to NAT a private subnet(Vlan20) to use an IP from Vlan10 to access internet.