Forum Discussion

Ferg_104721's avatar
Ferg_104721
Icon for Nimbostratus rankNimbostratus
Feb 24, 2011

GTM Wideip Alias list & irules

This is more of a general question than an issue.

 

 

Is there a way to specify aliases from an irule on a wideip

 

 

or the use of wildcard on an alias i.e. testcharacteer.test.com

 

 

can you

 

 

*character.test.com

 

 

or is it like ssl wildcard would be *.testcharacter.test.com

 

 

What i am really trying to do here is see if there is a way for me not to add in 1400 wideip entries and just make one wideip and use a wildcard as an alias.

 

 

The use an irule to capture the http header value and cname it to the orginal wideip agiain so it forwords back to the pool members on the ltm's wiht the header value.

 

 

i know sounds crazy.

 

 

Thanks

 

 

Ferg

 

1 Reply

  • I think you're combining technologies that won't. Yes, you can use aliases to eliminate need for multiple wideIP definitions:

     

     

     

    The following examples are all valid uses of the wildcard characters for the wide IP name, www.mydomain.net.

     

     

    ???.mydomain.net

     

    www.??domain.net

     

    www.my*.net

     

    www.??*.net

     

    www.my*.*

     

    ???.my*.*

     

    *.*.net

     

    www.*.???

     

     

     

    However, that's just a matching technique. The client won't make a request for *.my.test.com, it'll be something like www.my.test.com. You can change the host header no problem in an iRule, but I don't think you'll be able to tie an aliased wideIP dns request to the http request, so you'll need to make sure all your (ex - www.my.test.com) would need to be rewritten.

     

     

    HTH...Jason