Dell 3-DNS Dokumentacja Strona 134

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 426
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 133
Chapter 4: Configuring the High-Level Network
4-54
To configure a rule to select a pool based on the ToS level of a packet, you
can use the ip_tos rule variable, as shown in the example in Figure 4.24.
Figure 4.24 A rule based on a Type of Service (ToS) level
For information on setting ToS values on packets based on the pool selected
for that packet, see Type of Service (ToS) level, on page 4-44.
Pool selection based on one of operator
BIG-IP includes a rule operator that you can use to select a pool based on
whether the variable being used in the rule represents a member of a specific
class.
Example
For example, prior to the availability of the one of operator, a rule that was
intended to send incoming AOL connections to the pool aol_pool was
written as shown in Figure 4.25, where multiple values for the client_addr
variable had to be individually specified.
Figure 4.25 Example of a rule without the one of operator
rule my_rule {
if (ip_tos == 16) {
use (telnet_pool)
}
else {
use (slow_pool)
}
}
rule my_rule {
if ( client_addr equals 152.163.128.0 netmask 255.255.128.0
or client_addr equals 195.93.0.0 netmask 255.255.254.0
or client_addr equals 205.188.128.0 netmask
255.255.128.0 ) {
use (aol_pool)
}
else {
use (all_pool)
}
}
Przeglądanie stron 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 425 426

Komentarze do niniejszej Instrukcji

Brak uwag