Multiple default gateway
Masachika ISHIZUKA
ishizuka at ish.org
Thu Nov 4 04:14:36 PST 2004
> Is there any (future) release of FreeBSD concern about multiple default
> gateway ?
> Supposed i want to have load balancing and round robin connection in my
> FreeBSD firewall without routing daemon.
It can be done using ipfw, if you want to use only IPv4.
An example is shown below. (Although it is not round robin
connections.)
# route add default GW1
# ipfw add prob 0.5 fwd GW2 ip from any to any out
# ipfw add allow ip from any to any
--
ishizuka at ish.org
More information about the freebsd-net
mailing list