Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
3 WAN interfaces, 3 IPs, same gateway
« previous
next »
Print
Pages: [
1
]
Author
Topic: 3 WAN interfaces, 3 IPs, same gateway (Read 3484 times)
gbr
Newbie
Posts: 23
Karma: 0
3 WAN interfaces, 3 IPs, same gateway
«
on:
February 01, 2020, 06:02:28 pm »
Hi,
- I have three static IP's from my provider, all with the same gateway.
- I have three network cards
- Each card gets an IP.
- I can't set the gateway on two of the cards, so I leave it at auto-detect
Traffic flows fine on the WAN interface, but I can't get traffic on the other two. I can ping and traceroute from them, but a web server (with a NAT rule) behind the firewall never connects.
It was working fine when I had all three IPs attached to the same network card, but that requires a special config on my providers part (they need to multi-home to the same MAC address). I decided not to use that because their multi-home config stopped working for a day, and took me offline.
My question: Is it possible to have three network interfaces, different IPs, same gateway, configured and working? If the question is yes, I don't know what I'm doing wrong.
I think what is happening is OPNSense is responding from the default IP instead of the interface the request came from, but I'm not sure.
Thanks,
Gerald
Logged
gbr
Newbie
Posts: 23
Karma: 0
Re: 3 WAN interfaces, 3 IPs, same gateway
«
Reply #1 on:
February 01, 2020, 06:18:40 pm »
So, I reboot to see if there was an issue there. On startup, the gateway reported as down, and a ping from the command line lost packets until I disabled the other network cards.
Gerald
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: 3 WAN interfaces, 3 IPs, same gateway
«
Reply #2 on:
February 03, 2020, 01:17:10 pm »
Same-gateway-different-interfaces doesn't work as per FreeBSD. Your only chance is to use VIPs/1:1 NAT from one consolidated WAN interface.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
3 WAN interfaces, 3 IPs, same gateway