Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

StaticIPLookup Element Documentation

NAME

StaticIPLookup — Click element; simple static IP routing table

SYNOPSIS

StaticIPLookup(ADDR1/MASK1 [GW1] OUT1, ADDR2/MASK2 [GW2] OUT2, ...)

Ports: 1 input, any number of outputs
Processing: push

DESCRIPTION

Note: Lookups and table updates with StaticIPLookup are extremely slow; the RadixIPLookup, DirectIPLookup, and RangeIPLookup elements should be preferred in almost all cases. See IPRouteTable for a performance comparison. We provide StaticIPLookup nevertheless for its simplicity.

This element acts like LinearIPLookup, but does not allow dynamic adding and deleting of routes.

ELEMENT HANDLERS

  • table (read-only) — Outputs a human-readable version of the current routing table.
  • lookup (read-only) — Reports the OUTput port and GW corresponding to an address.

SEE ALSO

RadixIPLookup, DirectIPLookup, RangeIPLookup, LinearIPLookup, SortedIPLookup, LinuxIPLookup, IPRouteTable

Generated by click-elem2man from ../elements/ip/lookupiproute.hh:7 on 2018/10/03.

Clone this wiki locally