I’m having some troubles completing a connection on my Mikrotik router (CHR) on a Proxmox hosted on a Hetzner server.
So we have the same ISP (Hetzner) that’s providing access via vSwitch and via subnet.
Internet access and IP’s are setup and working with the vSwitch but now I want to add a second WAN, on a different ethernet port, but without success. I’ve been searching through topics but without any finality.
I have the configuration in the next way:
ether1 - for vSwitch → IP’s starting with 116.xxx.xxx.xxx → for this I use as GW the IP starting with 116.
ether4 - for subnet → IP’s starting with 46.xxx.xxx.xxx → for this I use as GW the IP starting with 195.
I want to setup 2 WAN on the same time, not failover or another method. I want to access both public IPv4’s from vSwitch and from the subnet that’s routed via the public IP from the Dedicated server.
I think it’s a very easy thing using Mangle and mark routes but I can’t figure it out.
If you want to route between the two subnets, you need to either exclude them from marking, add route(s) to them in other routing table(s), or use simple and foolproof (before all others):