Hi Sato, Yes, You can build a simple load balancer with the the "forwarding" feature of IPFW3.
In below example: ipfw3 add forward 192.168.1.1,192.168.1.2 round-robin icmp the ICMP packets to 192.168.1.1 or 192.168.1.2, if you are trying to ping 8.8.8.8, then you need to ensure you packets can still reach 8.8.8.8 after it has been forwarded to the 192.168.1.1 or 1.2 And the also ensure the reason traffic can be routed back to your source machine. Regards, Bill Yuan On 28 May 2016 at 22:36, <[email protected]> wrote: > Hello. > we are create a load balancer. > but the example command is always not work on my testing pc. > ipfw3 add forward 192.168.1.1:80,192.168.1.2:80 round-robin all > any document to demo how it works? > Thanks You. > Sato. >
