Skip to content

Commit 6a911d1

Browse files
committed
Fixed typos
1 parent 94cff72 commit 6a911d1

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

exercises/ipv6.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ The syntax of IPMininet_ is relatively simple and can be learned by looking at a
532532
Let us start our exploration of IPv6 routing with a simple network topology that contains two hosts and three routers and uses static routes.
533533

534534
.. tikz:: Simple network
535-
:libs: positioning,matrix,arrow
535+
:libs: positioning,matrix,arrows
536536

537537
\tikzstyle{arrow} = [thick,->,>=stealth]
538538
\tikzset{router/.style = {rectangle, draw, text centered, minimum height=2em}, }
@@ -747,9 +747,14 @@ The ``nodes`` command lists the routers and hosts that have been created in the
747747
r1-eth1<->r3-eth0 (OK OK)
748748
r2-eth1<->r3-eth1 (OK OK)
749749
r3-eth2<->b-eth0 (OK OK)
750-
mininet>
750+
mininet>
751+
752+
.. spelling::
753+
754+
inet
755+
inet6
751756

752-
It is possible to execute any of the standard Linux commands to configure the network stack on any of the hosts by prefixing the command with the corresponding host. Remember to always specify inet6 as the address family to retrieve the IPv6 information.
757+
It is possible to execute any of the standard Linux commands to configure the network stack on any of the hosts by prefixing the command with the corresponding host. Remember to always specify ``inet6`` as the address family to retrieve the IPv6 information.
753758

754759
.. code-block:: console
755760
@@ -785,7 +790,7 @@ On its ``a-eth0`` interface, host ``a`` uses IPv6 address ``2001:db8:1341:1::a/6
785790
786791
There are three routes in this table. The first two correspond to the two prefixes that are used over the ``a-eth0`` interface. These routes are automatically created when an IPv6 address is configured on an interface. The last route is the default route (``::/0``) which points towards ``2001:db8:1341:1::1``, i.e. router ``r1``.
787792

788-
Another useful command is ``xterm`` 'node' that allows to launch a terminal on the specified node. This gives you a interactive shell on any node. You can use it to capture packets with tcpdump_. As an example, let us use :manpage:`traceroute6(8)` to trace the path followed by packets from host ``a`` towards the IPv6 address of host ``b`` i.e. ` 2001:db8:1341:3::b``. The output of this command shows that the path passes through routers ``r1``, ``r2`` and ``r3``.
793+
Another useful command is ``xterm`` 'node' that allows to launch a terminal on the specified node. This gives you a interactive shell on any node. You can use it to capture packets with tcpdump_. As an example, let us use :manpage:`traceroute6(8)` to trace the path followed by packets from host ``a`` towards the IPv6 address of host ``b`` i.e. ``2001:db8:1341:3::b``. The output of this command shows that the path passes through routers ``r1``, ``r2`` and ``r3``.
789794

790795
.. code-block:: console
791796
@@ -807,7 +812,7 @@ Another interesting mininet_ command is ``pingall`` it allows to check that any
807812
b --IPv6--> a
808813
*** Results: 0% dropped (2/2 received)
809814
810-
815+
811816
When debugging a network, it can be interesting to capture packets using tcpdump_ on specific links to check that they follow the expect. If you use tcpdump_ without any filter, you will capture the packets generated by xterm. To capture packets, you need to specify precise filters that will match the packets of interest. For traceroute6, you need to match the IPv6 packets that contain UDP segments and some ICMPv6 packets. The script below provides a simple filter that you can reuse. It takes one argument: the name of the interface on which tcpdump_ needs to run.
812817

813818
.. code-block:: bash

0 commit comments

Comments
 (0)