Forum Discussion

Gerardo_Fuentes's avatar
Gerardo_Fuentes
Icon for Nimbostratus rankNimbostratus
Jan 14, 2019

Internal vs External request tagging

I have two VIPs, one for routing external requests, one for internal. I need to merge their downstream servers into single server. But to identify if the request is for internal or external in the downstream, is there any way to tell which VIP a request is from by looking at the HTTP header or cookie or to add that information?

 

2 Replies

  • You can add a header or cookie in several ways. Depending on your BIG-IP software version, you may be able to customize an HTTP profile with the "Request Header Insert" option, or insert a cookie or header in an LTM Traffic Policy, or use an iRule to do the same thing.

     

    You're on your own when configuring the single downstream server, since it'll depend on which of the above options you chose.

     

  • An iRule would be less efficient than inserting a header via a custom HTTP profile or by using an LTM traffic policy to add a header or cookie.