Forum Discussion

Nick_T_68319's avatar
Nick_T_68319
Icon for Nimbostratus rankNimbostratus
Aug 13, 2009

GTM Requests

I have a wide ip setup that returns the public address that is nat'd to a private address. I know you can setup a view so you can return an internal or external dns zone, but this does not seem to apply for a wideip. Is it possible to make an internal view that will make the wideip return the internal ip instead of the external ip?

4 Replies

  • How about the following:

     
     when DNS_REQUEST { 
       if { [IP::addr [IP::remote_addr]/24 equals 10.10.1.0/24] } { 
         host 10.20.20.20 
          } 
     } 
     

    The way this iRule works is bastically returns back A record (10.20.20.20) only to clients that fall within the range 10.10.1.0/24, everything else will return your public address.

    Hopefully this example helps

    CB
  • I'm pretty sure you could also use topology to give an internal IP to internal clients.

     

     

    Aaron