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

NAME

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

SYNOPSIS

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       [--out <output type>] : specify output type (sometimes: autodetect)
58
59       We can  see  available  output  types  to  type  "ipv6calc  --out  -?",
60       "ipv6calc --out -h" or "ipv6calc --out --help".
61
62       Available output types :
63
64       revnibbles.int : dot separated nibbles reverse, ending with ip6.int.
65
66       revnibbles.arpa : dot separated nibbles reverse, ending with ip6.arpa.
67
68       bitstring : bitstring labes, ending with ip6.arpa.
69
70       ipv6addr : IPv6 address
71
72       ipv4addr : IPv4 address
73
74       mac : MAC address (48 bits)
75
76       eui64 : EUI-64 identifier (64 bits)
77
78       base85 : Base-85 string
79
80       ifinet6 : Like line in /proc/net/if_inet6
81
82       iid : Interface identifier
83
84       iid+token : Interface identifier and token
85
86       addrtype : Address type
87
88       ouitype : OUI (IEEE) type
89
90       ipv6addrtype : IPv6 address type
91
92       any : any type (currently not supported)
93
94       revipv4 : reverse IPv4, ending with in-addr.arpa
95
96       For examples and available format options use:
97              --out <type> --examples
98
99       [--action <action>] : specify action (default: format conversion, some‐
100       times: autodetect)
101
102       We can see available action  types  to  type  "ipv6calc  --action  -?",
103       "ipv6calc --action -h" or "ipv6calc --action --help".
104
105       Available action types :
106
107       auto : Automatic selection of action (default)
108
109       geneui64 : Converts a MAC address to an EUI-64 address
110
111       conv6to4 : Converts IPv4 address <-> 6to4 IPv6 address (prefix)
112
113       genprivacyiid : Generates a privacy interface ID out of a given one and
114       a token
115
116       prefixmac2ipv6 : Generates an IPv6 address out of a prefix  and  a  MAC
117       address
118
119       [<format option> ...] : specify format options
120
121       <input data> [...] : input data.
122
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