A
Anonymous
Guest
I thought this was easy, but it didn't work as expected.
PRESENT SITUATION (working)
A WAN/LAN gateway utilizing ipfw/NAT over two interfaces, em0 connected to the LAN, having an internal IP, and em1 connected to the WAN, having a public IP, by ISP1. The NAT interface is em1, and the default gateway as reported by netstat -nr is set to the router IP of the WAN interface.
NEW SETUP (not working)
I added another NIC em2 to the gateway having another static public IP attributed by another ISP2. I can make em2 the NAT interface, and the router of ISP2 the default route, and the WAN/LAN gateway is effectively switched over to the new ISP2 - and this part is working so far.
However, for the time being (until DNS/rDNS is transferred to the new ISP), I need to keep the old link over em1 from/to the internet by the old ISP1 active for web and mail services (80/443, 25,587, 110/995, 143/993) which are running directly on the gateway machine. The problem is, that em1 via ISP1 is no more accessible from the internet when switching the WAN/LAN gateway to em2 via the new ISP2.
Is this kind of setup possible at all, if yes how?
PRESENT SITUATION (working)
A WAN/LAN gateway utilizing ipfw/NAT over two interfaces, em0 connected to the LAN, having an internal IP, and em1 connected to the WAN, having a public IP, by ISP1. The NAT interface is em1, and the default gateway as reported by netstat -nr is set to the router IP of the WAN interface.
NEW SETUP (not working)
I added another NIC em2 to the gateway having another static public IP attributed by another ISP2. I can make em2 the NAT interface, and the router of ISP2 the default route, and the WAN/LAN gateway is effectively switched over to the new ISP2 - and this part is working so far.
However, for the time being (until DNS/rDNS is transferred to the new ISP), I need to keep the old link over em1 from/to the internet by the old ISP1 active for web and mail services (80/443, 25,587, 110/995, 143/993) which are running directly on the gateway machine. The problem is, that em1 via ISP1 is no more accessible from the internet when switching the WAN/LAN gateway to em2 via the new ISP2.
Is this kind of setup possible at all, if yes how?