Routing
Highlighted
Routing

SRX100 - redirect traffic by protocol

‎11-20-2017 08:31 AM

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 REPLIES 2
Highlighted
Routing
Solution
Accepted by topic author jostir
‎11-20-2017 10:15 PM

Re: SRX100 - redirect traffic by protocol

‎11-20-2017 02:06 PM

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

 

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Highlighted
Routing

Re: SRX100 - redirect traffic by protocol

‎11-20-2017 10:15 PM

Thank you for your answer.

 

I try this  kb article  tonight.

 

Have  a nice day.