Duplicating two different Static IP for testing



  • Is there a way to duplicate two static WAN IP's(different ISP's) in my lab(or offsite) to test router for failover?


  • Netgate

    I do this with a layer 3 switch. Any router you can use for the upstreams that can perform NAT for the addresses you don't want to leak out would work.


  • Rebel Alliance Developer Netgate

    I have a pfSense VM setup for just this. It's WAN is inside my usual lab network, but in its outbound NAT it translates anything that leaves (except its own WAN address). Then on the LAN side I have the rules allow any/any and I add VIPs to the LAN that mimic the "ISP" side of the statics I am testing.

    If the VMs on the inside have VPNs or DynDNS I try to block those in the LAN rules before firing them up so they do not interfere.