From a47b869616194551a300ff376dc2cc1f03f09d95 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 7 Feb 2017 10:57:11 +0200 Subject: Doc: add ipv6 tools to stateless Change-Id: Ic4b097fdbebbcd58b5a5825c1f61a94aebc9f346 Signed-off-by: Yaroslav Brustinov --- doc/images/console_l2_dst_mac.png | Bin 0 -> 15095 bytes doc/images/console_ping.png | Bin 0 -> 9855 bytes doc/images/console_scan6.png | Bin 0 -> 5268 bytes doc/release_notes.asciidoc | 2 +- doc/trex_stateless.asciidoc | 28 ++++++++++++++++++++++++++-- 5 files changed, 27 insertions(+), 3 deletions(-) create mode 100755 doc/images/console_l2_dst_mac.png create mode 100755 doc/images/console_ping.png create mode 100755 doc/images/console_scan6.png (limited to 'doc') diff --git a/doc/images/console_l2_dst_mac.png b/doc/images/console_l2_dst_mac.png new file mode 100755 index 00000000..58ea5c6d Binary files /dev/null and b/doc/images/console_l2_dst_mac.png differ diff --git a/doc/images/console_ping.png b/doc/images/console_ping.png new file mode 100755 index 00000000..4ddf6fbb Binary files /dev/null and b/doc/images/console_ping.png differ diff --git a/doc/images/console_scan6.png b/doc/images/console_scan6.png new file mode 100755 index 00000000..eb609028 Binary files /dev/null and b/doc/images/console_scan6.png differ diff --git a/doc/release_notes.asciidoc b/doc/release_notes.asciidoc index 14f48437..0c6811ee 100755 --- a/doc/release_notes.asciidoc +++ b/doc/release_notes.asciidoc @@ -25,7 +25,7 @@ endif::backend-docbook[] == Release 2.16 == -* IPv6 console basic support TBD link here +* IPv6 console basic support (link:trex_stateless.html#_ipv6_nd_client[ipv6]): ** scan6 function to search for IPv6-enabled neighbors ** ping can be used with IPv6 addresses to ping nearby devices * Stateless Rx capturing mode support TBD link here diff --git a/doc/trex_stateless.asciidoc b/doc/trex_stateless.asciidoc index 2b7951f6..31758891 100755 --- a/doc/trex_stateless.asciidoc +++ b/doc/trex_stateless.asciidoc @@ -590,9 +590,33 @@ client.set_service_mode(enabled = False) <1> Check connectivity -==== IPv6 ND/DHCP client +==== IPv6 ND client + +At this phase, implemented scanning of network for IPv6 enabled neighbors and ping nearby devices from the console. + +Next phase, planned support at the CPP server. + +The advantage of those methods is that they can be easily extended to simulate lots of clients in automation. + +*Scanning example:* + +image:images/console_scan6.png[title="Console scan6", align="left", link="images/console_scan6.png"] + +*Ping example:* + +image:images/console_ping.png[title="Console ping", align="left", link="images/console_ping.png"] + +Those utilities (available from API as well) can help user to configure next hop. +From the console, one could set "l2" destination MAC taken from the scan6 result: + +image:images/console_l2_dst_mac.png[title="Console ping", align="left", link="images/console_l2_dst_mac.png"] + +For setting own IPv6, we use local address as described in link:https://www.ietf.org/rfc/rfc3513.txt[RFC 3513]. + +For scanning of network, we ping the multicast address ff02::1 and establish connection via NS/ND conversations. + +Additional links on scanning network: + +* link:https://tools.ietf.org/html/draft-ietf-opsec-ipv6-host-scanning-00#page-5[RFC draft of scanning] +* Scanning of network in Ubuntu: link:http://manpages.ubuntu.com/manpages/zesty/man1/scan6.1.html[scan6] -in progress === Tutorials -- cgit 1.2.3-korg