Alteon Application Switch Operating System Application Guide
Filtering and Traffic Manipulation
360
Document
ID:
RDWR-ALOS-V2900_AG1302
Filtering with Network Classes
You can perform faster searches of ranges, subnets, or single IP addresses by assigning a network
class to a filter, identified by a network class name. Using network classes, you can add or remove IP
addresses without changing filter or Alteon configurations.
You use a network class to define a filter source IP (sip) or filter destination IP (dip).
For more information on network classes, see
Server Load Balancing, page 165
To assign a network class to a filter
1. Access the Filter menu.
2. Enter sip to specify the source IP address of the filter.
3. Enter the network class ID.
IP Address Ranges
You can specify a range of IP addresses for filtering both the source and/or destination IP address
for traffic. When a range of IP addresses is needed, the source IP (sip) address or destination IP
(dip) address defines the base IP address in the desired range. The source mask (smask) or
destination mask (dmask) is the mask that is applied to produce the range.
For example, to determine if a client request’s destination IP address should be redirected to the
cache servers attached to a particular Alteon, the destination IP address is masked (bit-wise AND)
with the dmask and then compared to the destination IP address.
Example
IP Address Ranges
Alteon can be configured with two filters so that each would handle traffic filtering for one half of the
Internet. To do this, you could define the following parameters:
>> # /cfg/slb/filter 22
>> Filter 22 #sip
Current IP source address or a network class Id : 0.0.0.0
Enter new IP source address or a network class Id :
Table 30: Filtering IP Address Ranges
Filter
Internet Address Range
dip
dmask
1
0.0.0.0–127.255.255.255
0.0.0.0
128.0.0.0
2
128.0.0.0–255.255.255.255
128.0.0.0
128.0.0.0