4 Replies Latest reply on May 19, 2010 8:08 AM by ricardobarbosa

    routing by source

      Hi,

       

      I am installing the sidewinder in an environment with two service provider. And I looked at the documentation (admin guide) to make routing by source and not found anything anyone could tell me if the sidewinder makes routing by the source? I know that is through the parameter freebsd route-to but the sidewinder?

      Att.
        • 1. Re: routing by source
          sliedl

          The Sidewinder cannot do source routing.  The routes on the Sidewinder are controlled by the 'cf static' command, meaning they are in a database.  This database is applied to the routing table when you make changes via the GUI or the 'cf' commands.

           

          The standard routing commands do work on the Sidewinder (e.g. 'route add' works), but they do not carry across reboots.  You can add routing commands to the /etc/rc.local file to have them carry across reboots.  I do not know if the route-to command will work on the Sidewinder or how it will interact with the routes pushed by the Sidewinder via the 'cf static' command (i.e. it may overwrite your 'route-to' routes or it may cause a conflict causing your traffic to stop working).

          • 2. Re: routing by source

            Hi sliedl, thank you for answering, you could tell me if the sidewinder would load-balancing between two interfaces?

            Att.

            • 3. Re: routing by source
              oreeh

              It doesn't do load balancing between interfaces.

              If you want to do such things you have to use dedicated load balancers.

               

               

              on 4/23/10 5:46:10 PM CEST
              1 of 1 people found this helpful
              • 4. Re: routing by source

                Hi, sliedl and oreeh,

                 

                 

                Yet about the origin by routing wanted to  test the command route-to command line but not the command or pfctl  ipfilter runs.

                 

                Follows  the following rule

                 

                pass in quick on em0 route-to (em0 19.168.1.1) proto tcp from 192.168.0.0/24 to any port 80 flags S/SA modulate state

                where:

                em0 - interface outgoing,

                192.168.1.1 - gateway

                192.168.0.0/24 - lan network


                That and possible? know which utility can do this in FreeBSD  use pfctl-f /file where file contains the rules is there any way to do  this in sidewinder??

                 

                Regards.

                 

                 


                 

                 

                Message was edited by: Ricardo Barbosa on 5/19/10 8:08:51 AM CDT