-
Notifications
You must be signed in to change notification settings - Fork 321
StaticIPLookup
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
StaticIPLookup — Click element; simple static IP routing table
StaticIPLookup(ADDR1/MASK1 [GW1] OUT1, ADDR2/MASK2 [GW2] OUT2, ...)
Ports: 1 input, any number of outputs
Processing: push
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.
- 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.
RadixIPLookup, DirectIPLookup, RangeIPLookup, LinearIPLookup, SortedIPLookup, LinuxIPLookup, IPRouteTable
Generated by click-elem2man from ../elements/ip/lookupiproute.hh:7
on 2017/10/17.