Skip to content

Commit

Permalink
ReadMe updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelBoucey committed Aug 15, 2024
1 parent 98f57cb commit a9293a1
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 1. Goal

ip6addr is a commandline tool that validates and generates IPv6 address text representations:
`ip6addr` is a commandline tool that validates and generates IPv6 address text representations, based upon (the library IPv6Addr)[https://github.com/MichelBoucey/IPv6Addr] :

* Canonical, in conformation with RFC 5952 (default output)
* Pure, i.e. rewriting IPv4 address if present
Expand Down Expand Up @@ -39,23 +39,23 @@ Available options:
```bash
[user@box ~]$ ip6addr 0:0::FFFF:192.0.2.128
::ffff:192.0.2.128
[user@box ~]$ ip6addr -n 0:0::FFFF:192.0.2.128
[user@box ~]$ ip6addr --no-ipv4 0:0::FFFF:192.0.2.128
::ffff:c000:280
[user@box ~]$ ip6addr -p 0:0::FFFF:192.0.2.128
0.8.2.0.0.0.0.c.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA.
[user@box ~]$ ip6addr -w 2001:db8:85a3:8d3:1319:8a2e:370:7348
2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net
[user@box ~]$ ip6addr -f 0:0::FFFF:192.0.2.128
0000:0000:0000:0000:0000:ffff:c000:0280
[user@box ~]$ ip6addr -r
ca18::654a:57ab:2ed7
[user@box ~]$ ip6addr -r -q 4
488:f7f3:7f7e::6ffd
5b8b:8ab4::f0b8
f191:ecc9:8193:8a2:104c:fec1:0:8c4d
af3b:3ffd:8302:6c56::8623:26
[user@box ~]$ ip6addr -r -q 3 -p 1234:1ab2::
1234:1a2b::cda6:cf2a:bb1d:d70b
[user@box ~]$ ip6addr --ptr 0:0::FFFF:192.0.2.128
0.8.2.0.0.0.0.c.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA.
[user@box ~]$ ip6addr --windows-unc 2001:db8:85a3:8d3:1319:8a2e:370:7348
2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net
[user@box ~]$ ip6addr --full-length 0:0::FFFF:192.0.2.128
0000:0000:0000:0000:0000:ffff:c000:0280
[user@box ~]$ ip6addr --random
ca18::654a:57ab:2ed7
[user@box ~]$ ip6addr --random --quantity 4
488:f7f3:7f7e::6ffd
5b8b:8ab4::f0b8
f191:ecc9:8193:8a2:104c:fec1:0:8c4d
af3b:3ffd:8302:6c56::8623:26
[user@box ~]$ ip6addr --random --quantity 3 --prefix 1234:1ab2::
1234:1a2b::cda6:cf2a:bb1d:d70b
1234:1a2b::362c:8295:f546:a43a
1234:1a2b::1121:ca16:ab5:688a
```
Expand Down

0 comments on commit a9293a1

Please sign in to comment.