Forum Discussion
DataGroups - Route Domains - iRules
When I create a new datagroup to be used in I-Rules that use the new route domain "1", do I need to %1 after all IP addresses I use in the groups?
The reason I ask is because each time I assign this I-Rule "pay-sys-snat-rule" to forwarding VIP it disconnects all connectivity on the payp vlan32.
----------------------------------------
class class1
{ host 10.133.137.151%1 }
!
class snat-list { {
host 64.94.118.33
host 151.151.65.214
host 199.200.26.170
network 206.253.184.0/24
host 207.241.10.136 } }
!
snatpool snat-pool { members 165.79.4.6%1 }
!
rule pay-sys-snat-rule
SNAT 'class1' if these matches 'snat-list' to 'snat-pool'
when CLIENT_ACCEPTED {
if { ([matchclass [IP::local_addr] equals $::snat-list ] ) and
( [matchclass [IP::remote_addr] equals $::class1 ] ) } {
use snatpool snat-pool
}
}
END
----------------------------------------
- hooleylistCirrostratusCheck this post for status and a few workarounds for using route domains with a iRule and address datagroup:
- Thanks again Aaron - Using the two SOL's below fixed the issue:
- hooleylistCirrostratusThanks for pointing out SOL12301. I'm not sure that's a great solution though as it only supports hosts--not networks.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com