Forum Discussion

fredsmiff_35856's avatar
fredsmiff_35856
Icon for Nimbostratus rankNimbostratus
Jun 07, 2018

HA Pair Default Gateways

I have 2 F5's in a HA config(active/standby).

 

I need to add a default gateway for each F5. box 1 needs 192.168.102.1 and box 2 needs 192.168.102.2.

 

I have both gateways in a gateway pool but not sure how to ensure each box uses it's correct gateway whan active.

 

Many thanks...

 

4 Replies

  • Hi,

     

    When you say default gateway for each F5. box 1 needs 192.168.102.1 and box 2 needs 192.168.102.2, can you confirm if each box use the same VLAN but different GW or use different subnet/vlan.

     

  • Yousef.Hi. both boxes are in the same VLAN and same subnet. box 1 is 192.168.102.10, box 2 is 192.168.102.20, traffic-group-1 is 192.168.102.15.

     

    we have a stretched vlan between 2 sites so both F%'s can see both gateways but i need active F5 to route via local gateway...

     

  • I assume you are doing this as you devices are in geographically different locations. Just configure a static default gateway for each device and don't use a gateway pool.

     

    Routing information such as this is stored in the bigip_base.conf file and is not synchronised to its peer

     

  • Hi fred,

     

    Yes of course, In this case you can use priority group.

     

    Just don't forget to set reliable monitors (transparent) in order to monitor something behind your gateway in order to be sure that your GW work fine.

     

    So suppose that you have sour site1 (active) and site2 (standby)

     

    • set node GW1 to priority grp at 4
    • set node GW2 to priority grp at 2

    And in this case it will work as you want.

     

    Keep me update it it respond to your needs.

     

    regards