Forum Discussion
Masaru_Takahash
Nimbostratus
Mar 23, 2005IPv6 address prefix difinition
Please teach the definition method when the IPv6 address is used.
I did not do the operation for which I had hoped though I tried various rule.
I want to make the rule that limits only the access from 3ffe:1234:1234:5678::/64 prefix.
However, it did not operate in the following rule.
[Rule 1]
-------------------------------------------------------
when CLIENT_ACCEPTED {
if { [IP::remote_addr] eq 3ffe:1234:1234:5678::/64 ] }
{
pool lb_pool
} else {
discard
}
}
-------------------------------------------------------
[Rule 2]
-------------------------------------------------------
when CLIENT_ACCEPTED {
if { [IP::remote_addr] eq 3ffe:1234:1234:5678::0 netmask ffff:ffff:ffff:ffff::0 ] }
{
pool lb_pool
} else {
discard
}
}
-------------------------------------------------------
Please teach the method of defining rule that can recognize the Prefix
3 Replies
Sort By
- unRuleY_95363Historic F5 AccountAs drteeth pointed out in an earlier post today: "Listen to the forum"!
when CLIENT_ACCEPTED { if { [IP::addr "[IP::remote_addr]/64" eq 3ffe:1234:1234:5678::] } { pool lb_pool } else { discard } }
when CLIENT_ACCEPTED { if { [IP::addr "[IP::remote_addr] mask ffff:ffff:ffff:ffff::0" eq "3ffe:1234:1234:5678::"] } { pool lb_pool } else { discard } }
when CLIENT_ACCEPTED { if { [IP::addr [IP::remote_addr] eq 3ffe:1234:1234:5678::/64] } { pool lb_pool } else { discard } }
- Masaru_Takahash
Nimbostratus
I tested by both V9.0.2 and V9.0.4. - unRuleY_95363Historic F5 AccountCan you please open a support case with the information about when it does not work as expected? That is the best route to getting things corrected in a future release. Thanks.
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