You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Costa Tsaousis edited this page Apr 4, 2026
·
1 revision
Intersection
Print only the IPs that appear in all input files.
Aliases: --common, --intersect, --intersect-all
How it works
Each input file is optimized, then the intersection is computed pairwise. An IP appears in the output only if it is covered by every input file. If the files have no overlap, the output is empty.
Only the upper half of 10.0.0.0/24 (which is 10.0.0.128/25) overlaps with list-b.txt's 10.0.0.128/25. 192.168.1.0/24 is in both files. 10.0.1.0/24 and 10.0.2.0/24 have no overlap and are excluded.