Netgate SG-1000 microFirewall

Author Topic: Multiwan with 2 ISP's and one NIC  (Read 138 times)

0 Members and 1 Guest are viewing this topic.

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Multiwan with 2 ISP's and one NIC
« on: February 03, 2018, 02:54:28 pm »
Would like to do multiwan on a system with just one NIC available for its WAN side.

To do this, ADSL router A was connected to ADSL router B via one cable, and to the pfsense system via another cable and all were set to static IP's.

That is, routers A and B were set to 192.168.3.1/24 and 192.168.3.100/24 respectively and pfsense's WAN interface was set to 192.168.3.2/24.

Created a gateway group with the two router IP's above. Put this group as the gateway in the appropriate firewall rule under LAN.

But only one gateway ends up being used (the one you put under "IPv4 Upstream gateway" in the WAN interface configuration).

Any workaround so both gateways are used in turns?

« Last Edit: February 04, 2018, 08:16:40 pm by Ulysses_ »

Offline Ulysses_

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Multiwan with 2 ISP's and one NIC
« Reply #1 on: February 03, 2018, 06:32:36 pm »
Am I allowed to run a command like the following?

ip route add default scope global nexthop via 192.168.3.1 dev em0 weight 1 nexthop via 192.168.3.100 dev em0 weight 1

The above command works in the linux version if you first run ip route del default and replace em0 with eth0.

How is the same done in pfsense?

Alternatively, how about using a pfsense VM to make the one NIC look like two virtual NIC's with different gateways associated, and a second pfsense VM that does standard multiwan?
« Last Edit: February 04, 2018, 08:19:31 pm by Ulysses_ »