LOAD BALANCING WITH 2 OR MORE RED NICS *************************************
The objective of this small howto is to make a load balance of the internet traffic between 2 or more red nics with STATIC IP (is a must) 1. Configure 1 red nic using the web interface 2. Open a ssh connexion as root to the firewall and enter to the folder /var/efw/uplinks ("cd /var/efw/uplinks") 3. run the command "cp -p -r ./main ./link2 (if you have more red nics repeat this step but with ./link3 ./link4 ./link... you get the point) 4. Enter to each one of the copied folders and edit all of the parameter in the file "settings" except DEFAULT_GATEWAY, leave that one blank 5. Do the previous step with the folder main ( /var/efw/uplinks/main) 6. Recheck that all parameter for all of your links are set OK, and that all DEFAULT_GATEWAY fields are blank (is a must or else it wont balance the traffic) 7. Enter the directory /var/efw/inithooks ("/var/efw/inithooks") 8. add to the files start.local updatered.active.local updatered.inactive.local updatered.local and updatewizard.local route del default route del default route del default route del default ip route add default equalize scope global \ nexthop via <gateway link1> dev <iface link1> weight 1 \ nexthop via <gateway link2> dev <iface link2> weight 1 \ nexthop via <gateway link3> dev <iface link3> weight 1 \ . . . NOTE: remove the " \ " in the last line NOTE: i modify ALL those files because i do not know witch one endian use to generate the routing tables. 9. Restart your endian firewall 10. Wait 5 minutes or so an log to the firewall 11. Check your routes with the command "ip route", it shoud show you all the gateways that are using in a round robin balance for the packets that goes out from your network to the internet. 12. HAVE FUN P.S: if any one can make a scrit or some howto to create such route with a DHCP or pppoe red iface it would be great. Bye Fernando Cabrera Jaramillo -- View this message in context: http://www.nabble.com/HOW-TO---LOAD-BALANCE-WITH-2-OR-MORE-RED-NICs-tf3367360.html#a9368851 Sent from the efw-user mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Efw-user mailing list Efw-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/efw-user