Forum Discussion

Jason_L_40779's avatar
Jason_L_40779
Icon for Nimbostratus rankNimbostratus
Aug 15, 2010

Vlan failsafe-Trunks

Does anyone know or have experience with the suggested timeout period for using vlan failsafe? If I leave it at the default of 90 seconds and the Vlan were to be down on the switch the active unit is cabled to, that is a very long time for it to failover. I turned it down to 10 seconds and did some testing. I lose 2 packets when I kill a link on the active unit and it fails over to the standby. It seems to work pretty well but wondering if there is anything I should be aware of. 10 seconds is the lowest timeout period it will allow me to enter.

 

 

One other question, in regards to using trunks, do people commonly use LACP and if so, what is used for the LACP timeout and LACP link selection policy. I'm going to bond 1.1 and 1.2 links together as a 2 GB link into a Cisco 6509

 

 

Thanks in advance, i'm newer to F5 but am really enjoying this forum and the product.

 

3 Replies

  • Jayson,

     

     

    I have always reduced the timeout to 10 seconds like you did. I think the default time is as high as it is to avoid a flapping state between the boxes. If you have a network with plenty of broadcasts or servers that will always be up, you can be pretty aggressive.

     

     

    As far as your trunking question goes, I definitely use LACP and do so using the default settings. Depending on your requirements, Using "Short" instead of "Long" for "LACP Timeout" wouldn't be a bad idea.
  • thanks Chris. I've had the Vlan failsafe option set to 10 seconds for 4 days now and the boxes have not failed over. You are correct, there is plenty of traffic on our network and I think i'm going to leave it at 10 seconds for the vlans I will be load balancing for. Also, I did set up a mac masquerade for all my vlans and am very impressed with the fail over. Most of the time I won't even lose a packet when I have a ping going against a VIP. The most I have ever lost is one packet.

     

     

    Thanks again..

     

  • Posted By jayson on 08/15/2010 06:22 PM

     

    thanks Chris. I've had the Vlan failsafe option set to 10 seconds for 4 days now and the boxes have not failed over. You are correct, there is plenty of traffic on our network and I think i'm going to leave it at 10 seconds for the vlans I will be load balancing for. Also, I did set up a mac masquerade for all my vlans and am very impressed with the fail over. Most of the time I won't even lose a packet when I have a ping going against a VIP. The most I have ever lost is one packet.

     

     

    Thanks again..

     

     

     

    Failover times are indeed very good. Depending on your application, you can always enable connection mirroring if losing a bit of traffic is unacceptable. Since everything important in my network is HTTP, TCP takes care of the necessary retransmissions.