C H A P T E R 4
Expression
dst host <host>
src host <host>
host <host>
ether dst <ehost>
ether src <ehost>
ether host <ehost>
gateway <host>
dst net <net>
src net <net>
net <net>
net <net> mask <mask>
net <net>/<len>
dst port <port>
src port <port>
port <port>
ip proto <protocol>
ether broadcast
ip broadcast
126
HP Traffic Director Server Appliances User Guide
Evaluation
True if the IP destination field of the packet is <host>
True if the IP source field of the packet is <host>
True if either the IP source or destination field of the packet is
<host>
True if the ethernet destination address is <ehost>
True if the ethernet source address is <ehost>
True if either the ethernet source or destination address is <ehost>
True if the packet used <host> as a gateway
True if the IP destination address of the packet has a network
number of <net>
True if the IP source address of the packet has a network number
of <net>
True if the IP source or destination address of the packet has a
network number of <net>
True if the IP address matches <net> with the specific netmask
True if the IP address matches <net> a netmask <len> bits wide
True if the packet is IP/TCP and has a destination port value of
<port>
True if the packet has a source port value of <port>
True if either the source port value or destination port has a value
of <port>
True if the packet is an ip packet of protocol type <protocol>,
where <protocol> can be "ICMP" or "TCP"
True if the packet is an ethernet broadcast packet
True if the packet is an IP broadcast packet