Forum Discussion
Tham_T__330907
Nimbostratus
Apr 24, 2018The "IP::client address" in iRules drop packet from broadcast address or not?
if ([class match [IP::client_addr] equals DATA_GROUP])
forward
}
else{
reject
}
DATAGROUP = 192.168.1.0/24 As the code above if the request from 192.168.1.255 coming in ... ...
jaikumar_f5
Noctilucent
Apr 24, 2018when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals DATA_GROUP] } {
forward
} else reject
}
forward
Sets the connection to forward IP packets. This is strict forwarding and will bypass any pool configured on the virtual server.
The request will be forwarded out the appropriate interface according to the routes in the LTM routing table. No destination address or port translation is performed.
If the client ip matches if condition, it forwards. In your case the ip comes in the /24 range. If it doesn't match, it rejects.Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects