Routing

Expand all | Collapse all

SRX100 - redirect traffic by protocol

Jump to Best Answer
  • 1.  SRX100 - redirect traffic by protocol

    Posted 11-20-2017 08:32

    Hi everyone,

     

    Assume that my current configuration interface on SRX100:

    --------------------------------------

    LAN : 192.168.1.1

    DMZ : 10.0.0.1

    ISP1 : 1.1.1.1    GW: 1.1.1.2

    ISP2 : 2.2.2.1    GW:2.2.2.2

    --------------------------------------

     

    I have start to create a load balacing over my 2 ISP link.

     

    routing-options {
         static {
              route 0.0.0.0/0 {
                   next-hop 1.1.1.2;
                   qualified-next-hop 2.2.2.2;
              }
         }
    }

     

     

    This configuration is correct ?

     

    Now, I would like to know how to redirect different services to ISP1 or ISP2.

     

    For exemple, I want to redirect HTTP/HTTPS requests to the ISP1 link and VOIP requests to the ISP2 link.

     

    Thank you in advance for your answers.



  • 2.  RE: SRX100 - redirect traffic by protocol
    Best Answer

     
    Posted 11-20-2017 14:07

    routing-options {
         static {
              route 0.0.0.0/0 {
                   next-hop 1.1.1.2;
                   qualified-next-hop 2.2.2.2;
              }
         }
    }

     

    the qualified next hop is not load balancing.  This is a method to have an alternative next hop when the primary one is no longer availabe.  A failover basically.

     

    To setup traffic by port and protocol you would use Filter Based Forwarding.  This is the kb article with a general example of FBF for dual ISP to direct web traffic.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB17223

     

     



  • 3.  RE: SRX100 - redirect traffic by protocol

    Posted 11-20-2017 22:15

    Thank you for your answer.

     

    I try this  kb article  tonight.

     

    Have  a nice day.