Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

netaggregate is a program to aggregate/summarize a list of IPv6 or IPv4 networks/addresses

License

NotificationsYou must be signed in to change notification settings

afpd/netaggregate

Repository files navigation

netaggregate is a tool to aggregate/summarize a list of IPv6 or IPv4 networks, addresses, CIDRs, prefixes.It expects IPv6 or IPv4 networks or address/length combination on stdint and outputs results of the aggregation to stdout.One can mix IPv6 and IPv4.IPs without mask are considered having prefix length of /128 and /32 respectively.If address/length is supplied, address part is truncated to the correct network prefix, i.e. bits are zeroed to match the length.Example of the input:

2001:DB8::/12010.10.0.1/162001:dB8::123172.16.14.142001:Db8::FfFf/96

Corresponding output:

10.10.0.0/16172.16.14.14/322001:db8::/96

Usage examples:

netaggregate < test-in.txt > result-out.txt
echo -e '2001:DB8::/120\n2001:DB8::FfFf/96' | netaggregate

About

netaggregate is a program to aggregate/summarize a list of IPv6 or IPv4 networks/addresses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp