* [B.A.T.M.A.N.] [PATCH] batctl: Add documentation for IPv6 translate feature
@ 2013-09-24 18:40 Sven Eckelmann
2013-09-24 18:47 ` Antonio Quartulli
2013-09-25 9:47 ` Marek Lindner
0 siblings, 2 replies; 3+ messages in thread
From: Sven Eckelmann @ 2013-09-24 18:40 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Sven Eckelmann
c760fb3c8029edf40657d283dc47af2fef9b3a6f ("batctl: Add support for IPv6 to
address resolver") added support for translating IPv6 addresses to mac adresses
but didn't update the documentation.
Reported-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
README | 12 +++++++-----
man/batctl.8 | 20 ++++++++++----------
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/README b/README
index f3eb4b3..5af95c8 100644
--- a/README
+++ b/README
@@ -78,10 +78,10 @@ $ batctl statistics
batctl translate
================
-Translates a destination (hostname, IPv4, MAC, bat_host-name) to the originator
-mac address responsible for it.
+Translates a destination (hostname, IPv4, IPv6, MAC, bat_host-name) to the
+originator mac address responsible for it.
-Usage: batctl translate mac|bat-host|host-name|IPv4-address
+Usage: batctl translate mac|bat-host|host-name|IP-address
Example:
@@ -93,13 +93,15 @@ $ batctl translate 192.168.1.2
02:ca:fe:af:fe:05
$ batctl translate fe:fe:00:00:09:01
02:ca:fe:af:fe:05
+$ batctl translate 2001::1
+02:ca:fe:af:fe:05
batctl ping
============
Sends a Layer 2 batman-adv ping to check round trip time and connectivity
-Usage: batctl ping [parameters] mac|bat-host|host-name|IPv4-address
+Usage: batctl ping [parameters] mac|bat-host|host-name|IP-address
parameters:
-c ping packet count
-h print this help
@@ -125,7 +127,7 @@ batctl traceroute
Traceroute sends 3 packets to each hop, awaits the answers and prints out the
response times.
-Usage: batctl traceroute [parameters] mac|bat-host|host-name|IPv4-address
+Usage: batctl traceroute [parameters] mac|bat-host|host-name|IP-address
Example:
diff --git a/man/batctl.8 b/man/batctl.8
index 157f96d..af2729b 100644
--- a/man/batctl.8
+++ b/man/batctl.8
@@ -201,9 +201,9 @@ List of debug tables:
.RE
.RE
.br
-.IP "\fBtranslate\fP|\fBt\fP \fBMAC_address\fP|\fBbat\-host_name\fP|\fBhost_name\fP|\fBIPv4_address\fP"
+.IP "\fBtranslate\fP|\fBt\fP \fBMAC_address\fP|\fBbat\-host_name\fP|\fBhost_name\fP|\fBIP_address\fP"
-Translates a destination (hostname, IPv4, MAC, bat_host-name) to the originator
+Translates a destination (hostname, IP, MAC, bat_host-name) to the originator
mac address responsible for it.
.br
.IP "\fBstatistics\fP|\fBs\fP"
@@ -221,22 +221,22 @@ tt - translation table counters
All counters without a prefix concern payload (pure user data) traffic.
.RE
.br
-.IP "\fBping\fP|\fBp\fP [\fB\-c count\fP][\fB\-i interval\fP][\fB\-t time\fP][\fB\-R\fP][\fB\-T\fP] \fBMAC_address\fP|\fBbat\-host_name\fP|\fBhost_name\fP|\fBIPv4_address\fP"
+.IP "\fBping\fP|\fBp\fP [\fB\-c count\fP][\fB\-i interval\fP][\fB\-t time\fP][\fB\-R\fP][\fB\-T\fP] \fBMAC_address\fP|\fBbat\-host_name\fP|\fBhost_name\fP|\fBIP_address\fP"
Layer 2 ping of a MAC address or bat\-host name. batctl will try to find the bat\-host name if the given parameter was
-not a MAC address. It can also try to guess the MAC address using an IPv4 address or a hostname when
-the IPv4 address was configured on top of the batman-adv interface of the destination device and both source and
-destination devices are in the same IPv4 subnet.
+not a MAC address. It can also try to guess the MAC address using an IPv4/IPv6 address or a hostname when
+the IPv4/IPv6 address was configured on top of the batman-adv interface of the destination device and both source and
+destination devices are in the same IP subnet.
The "\-c" option tells batctl how man pings should be sent before the program exits. Without the "\-c"
option batctl will continue pinging without end. Use CTRL + C to stop it. With "\-i" and "\-t" you can set the default
interval between pings and the timeout time for replies, both in seconds. When run with "\-R", the route taken by the ping
messages will be recorded. With "\-T" you can disable the automatic translation of a client MAC address to the originator
address which is responsible for this client.
.br
-.IP "\fBtraceroute\fP|\fBtr\fP [\fB\-n\fP][\fB\-T\fP] \fBMAC_address\fP|\fBbat\-host_name\fP|\fBhost_name\fP|\fBIPv4_address\fP"
+.IP "\fBtraceroute\fP|\fBtr\fP [\fB\-n\fP][\fB\-T\fP] \fBMAC_address\fP|\fBbat\-host_name\fP|\fBhost_name\fP|\fBIP_address\fP"
Layer 2 traceroute to a MAC address or bat\-host name. batctl will try to find the bat\-host name if the given parameter
-was not a MAC address. It can also try to guess the MAC address using an IPv4 address or a hostname when
-the IPv4 address was configured on top of the batman-adv interface of the destination device and both source and
-destination devices are in the same IPv4 subnet.
+was not a MAC address. It can also try to guess the MAC address using an IPv4/IPv6 address or a hostname when
+the IPv4/IPv6 address was configured on top of the batman-adv interface of the destination device and both source and
+destination devices are in the same IP subnet.
batctl will send 3 packets to each host and display the response time. If "\-n" is given batctl will
not replace the MAC addresses with bat\-host names in the output. With "\-T" you can disable the automatic translation
of a client MAC address to the originator address which is responsible for this client.
--
1.8.4.rc3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batctl: Add documentation for IPv6 translate feature
2013-09-24 18:40 [B.A.T.M.A.N.] [PATCH] batctl: Add documentation for IPv6 translate feature Sven Eckelmann
@ 2013-09-24 18:47 ` Antonio Quartulli
2013-09-25 9:47 ` Marek Lindner
1 sibling, 0 replies; 3+ messages in thread
From: Antonio Quartulli @ 2013-09-24 18:47 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking; +Cc: Sven Eckelmann
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
On Tue, Sep 24, 2013 at 08:40:34PM +0200, Sven Eckelmann wrote:
> c760fb3c8029edf40657d283dc47af2fef9b3a6f ("batctl: Add support for IPv6 to
> address resolver") added support for translating IPv6 addresses to mac adresses
> but didn't update the documentation.
>
> Reported-by: Antonio Quartulli <antonio@meshcoding.com>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Great!
Thanks a lot!
Cheers,
--
Antonio Quartulli
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batctl: Add documentation for IPv6 translate feature
2013-09-24 18:40 [B.A.T.M.A.N.] [PATCH] batctl: Add documentation for IPv6 translate feature Sven Eckelmann
2013-09-24 18:47 ` Antonio Quartulli
@ 2013-09-25 9:47 ` Marek Lindner
1 sibling, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2013-09-25 9:47 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Sven Eckelmann
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
On Tuesday 24 September 2013 20:40:34 Sven Eckelmann wrote:
> c760fb3c8029edf40657d283dc47af2fef9b3a6f ("batctl: Add support for IPv6 to
> address resolver") added support for translating IPv6 addresses to mac
> adresses but didn't update the documentation.
>
> Reported-by: Antonio Quartulli <antonio@meshcoding.com>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> README | 12 +++++++-----
> man/batctl.8 | 20 ++++++++++----------
> 2 files changed, 17 insertions(+), 15 deletions(-)
Applied in revision b2eba82.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-25 9:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 18:40 [B.A.T.M.A.N.] [PATCH] batctl: Add documentation for IPv6 translate feature Sven Eckelmann
2013-09-24 18:47 ` Antonio Quartulli
2013-09-25 9:47 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox