Forum Discussion

nemas_341981's avatar
nemas_341981
Icon for Nimbostratus rankNimbostratus
May 30, 2018

Need to route the network by two way

Two switches connected with F5 and i have 100 vlan configured in F5.

 

Requirement: I need to point 55 vlan to one switch gateway and 45 vlan i need to point second switch gateway. Some of the vlan l3 interface is exist in F5 and some of the vlan L3 interface in switch side.

 

Later as well some more vlan will add. How I can achieve this. Do i need to create two route domain or We can achieve by performace layer 4 VIP like below

 

Create > VS > type performance layer 4 source > 0.0.0.0/0 destination > Switch 1 gateway IP ports > all vlan > allowed 45 vlan

 

Create > VS > type performance layer 4 source > 0.0.0.0/0 destination > Switch 2 gateway IP ports > all vlan > allowed 55 vlan

 

4 Replies

  • If you have two transit network available you could achieve this with route-domain. One other way of doing this, is if the switchs in case are Cisco, there's a feature called GLBP that would work really well for your case.

     

    Do you have a topology?

     

  • 2 interface connected with one switch and another 2 interface connected with second switch. Yes I have two transit vlan one for switch 1 and one for another switch. I have configured 100 VIP without %RD ID it means currently that all VIP belongs to default domain ID (0). If i create second Route-domain with ID 1 and configure self ip, pool, node and VS with %1 then that all VIP, pool, node will route through second route domain. Am i correct?

     

  • I think there's a better solution for that, but I recommend you test it. You could create a pool with both gateways (SW1 and SW2).

     

    After that, you can create a default route that points to the pool: https://support.f5.com/csp/article/K15582

     

    The only thing is that I don't know if this will load balance the routes or if this is just active-standby default gateways. I never tested this.

     

    Cheers!

     

  • Hi nemas,

     

    be carefull, route domain will allow you to isolates network traffic for a particular application on the network. I think before moving forward you need to clearly define your need.

     

    What i understand you just want to route network by 2 way.

     

    But what kind of flow you want to route?

     

    • user flow ? in order to access internet ? can you specify
    • Application flow (backend)...

    Please clarify your need.

     

    Regards