SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Multiple interfaces with separate gateways

    Posted 09-26-2014 02:39

    Hello,

     

    I have a problem with configuring multiple interfaces with separate gateways, can someone maybe help me?

     

    Interface ge0/0/0 - network 1 - ip 192.168.100.1

    Interface ge0/0/1 - network 2 - ip 192.168.200.1

    Interface ge0/0/2 - network 3 - ip 192.168.0.1

     

    Network 1 should have 192.168.100.254 as an gateway
    Network 2 should have 192.168.200.254 as an gateway

    Network 3 should have 192.168.0.254 as an gateway

     

    I really can't find a way to do this.

     

    Thanks.



  • 2.  RE: Multiple interfaces with separate gateways

    Posted 09-26-2014 03:26

    Hi Chrizzieej ,

     

    Do you want to configure 3 default routes with 3 different default gateways?

     

    if yes ,you need 2 routing instances for each interfaces interfaces.

     

    For Network 1 should have 192.168.100.254 as an gateway

     

    set routing-options static route 0/0 next-hop 192.168.100.254

     

    For network2  

    set routing-instances test1 interface ge-0/0/1

     

    set routing0-instances test1 routing-options static route 0/0 next-hop 192.168.200.254

     

    For  network 3:

     

    set routing-instances test2 interface ge-0/0/2

     

    set routing0-instances test2 routing-options static route 0/0 next-hop 192.168.0.254

     

    Then if you need communication between each routing instances , then you need share the routes using import and export of routes as per this KB :

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB19787&smlogin=true

     

    Assign each interfaces to security zones and configure security policies to allow or deny traffic.

     

     

    Hope this helps....Smiley Happy

     

    Regards
    rparthi
     

    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too

     



  • 3.  RE: Multiple interfaces with separate gateways

    Posted 09-26-2014 04:19

    This doesn't work, it says that the interface has to be in the same subnet as the other interfaces.



  • 4.  RE: Multiple interfaces with separate gateways

    Posted 09-26-2014 04:27

    Sorry my mistake, it works



  • 5.  RE: Multiple interfaces with separate gateways
    Best Answer

    Posted 09-26-2014 04:30

    Hi Chrizzieej,

     

    Thanks for the update.

     

    To close this thread , please mark this as accepted solution.

     

     

    Regards
    rparthi
     

    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too