1ipv6calc(8)                  system administration                 ipv6calc(8)
2
3
4

NAME

6       ipv6calc - a small utility written in C to manipulate IPv6 addresses.
7

SYNTAX

9       ipv6calc [option] <input data>
10

DESCRIPTION

12       ipv6calc is a small utility in C to manipulate IPv6 addresses.
13
14       This utility is used to extend features on network-functions-ipv6.
15

OPTIONS

17       General options :
18
19       [--debug | -d <debug value>] : debug value (bitwise like)
20
21       [ -q | --quiet ] : be more quiet
22
23       Usage with new style options :
24
25       [--in <input type>] : specify input  type (default: autodetect)
26              We  can  see  available  input types to type "ipv6calc --in -?",
27              "ipv6calc --in -h" or "ipv6calc --in --help" .
28
29       Available input types :
30
31       auto : automatic detection
32
33       revnibbles.int : dot separated nibbles reverse, ending with ip6.int.
34
35       revnibbles.arpa : dot separated nibbles reverse, ending with ip6.arpa.
36
37       bitstring : bitstring labes, ending with ip6.arpa.
38
39       ipv6addr : IPv6 address
40
41       ipv4addr : IPv4 address
42
43       mac : MAC address (48 bits)
44
45       base85 : Base-85 string
46
47       ifinet6 : Like line in /proc/net/if_inet6
48
49       iid+token : Interface identifier and token
50
51       ipv6logconv : ipv6logconv (currently not supported)
52
53       prefix+mac : IPv6 prefix and a MAC address
54
55       For examples and available format options use:
56              --in <type> --examples
57
58       [--out <output type>] : specify output type (sometimes: autodetect)
59
60       We can  see  available  output  types  to  type  "ipv6calc  --out  -?",
61       "ipv6calc --out -h" or "ipv6calc --out --help".
62
63       Available output types :
64
65       revnibbles.int : dot separated nibbles reverse, ending with ip6.int.
66
67       revnibbles.arpa : dot separated nibbles reverse, ending with ip6.arpa.
68
69       bitstring : bitstring labes, ending with ip6.arpa.
70
71       ipv6addr : IPv6 address
72
73       ipv4addr : IPv4 address
74
75       mac : MAC address (48 bits)
76
77       eui64 : EUI-64 identifier (64 bits)
78
79       base85 : Base-85 string
80
81       ifinet6 : Like line in /proc/net/if_inet6
82
83       iid : Interface identifier
84
85       iid+token : Interface identifier and token
86
87       addrtype : Address type
88
89       ouitype : OUI (IEEE) type
90
91       ipv6addrtype : IPv6 address type
92
93       any : any type (currently not supported)
94
95       revipv4 : reverse IPv4, ending with in-addr.arpa
96
97       For examples and available format options use:
98              --out <type> --examples
99
100       [--action <action>] : specify action (default: format conversion, some‐
101       times: autodetect)
102
103       We can see available action  types  to  type  "ipv6calc  --action  -?",
104       "ipv6calc --action -h" or "ipv6calc --action --help".
105
106       Available action types :
107
108       auto : Automatic selection of action (default)
109
110       geneui64 : Converts a MAC address to an EUI-64 address
111
112       conv6to4 : Converts IPv4 address <-> 6to4 IPv6 address (prefix)
113
114       genprivacyiid : Generates a privacy interface ID out of a given one and
115       a token
116
117       prefixmac2ipv6 : Generates an IPv6 address out of a prefix  and  a  MAC
118       address
119
120       [<format option> ...] : specify format options
121
122       <input data> [...] : input data.
123              For example, "127.0.0.1", "::1".
124
125       Other usage :
126
127       --showinfo  |  -i  [ --machine_readable | -m ] : show information about
128       input data
129
130       --showinfo | -i --show_types : show available types on '-m'
131
132       To see old-style option use : --printoldoptions
133
134       --printoldoptions :
135
136       --addr2ip6_int
137
138       --addr_to_ip6int
139
140       --addr2ip6_arpa
141
142       --addr_to_ip6arpa
143
144       --addr_to_bitstring
145
146       --addr2compaddr
147
148       --addr_to_compressed
149
150       --addr2uncompaddr
151
152       --addr_to_uncompressed
153
154       --addr_to_base85
155
156       --base85_to_addr
157
158       --mac_to_eui64
159
160       --addr2fulluncompaddr
161
162       --addr_to_fulluncompressed
163
164       --addr2if_inet6
165
166       --addr_to_ifinet6
167
168       --if_inet62addr
169
170       --ifinet6_to_compressed
171
172       --eui64_to_privacy
173
174       --ipv4_to_6to4addr
175
176       --version : print version.
177

EXAMPLES

179       To run this program the standard way type:
180
181       ipv6calc --showinfo -i -m ::1
182
183       ipv6calc --showinfo -m 127.0.0.1
184
185       ipv6calc --showinfo --show_types
186
187       ipv6calc --ipv4_to_6to4addr 127.0.0.1
188
189       ipv6calc --addr_to_uncompressed ::1
190

AUTHORS

192       Peter Bieringer <pb@bieringer.de>
193
194
195
196Masamichi Goudge M.D. <Matanuki@Goudge0..o0r.g2>                        ipv6calc(8)
Impressum