Skip to content

Commit

Permalink
Merge branch 'full-describe-gns3' of https://github.com/UT-Network-La…
Browse files Browse the repository at this point in the history
…b/TCP-IP-Laboratory into full-describe-gns3
  • Loading branch information
amirhakh committed Jan 5, 2021
2 parents b913f91 + bf00467 commit 0cb7913
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,21 @@ \section{Linux Multicast Routing Table\label{sec:rt}}
\footnote{This command can be appended to the \path{/etc/rc.local} file, so that it will be executed automatically when the system bootstraps.
Each time when the network interface is brought down and up again by the \lstinline{ifconfig} command, you may need to run the \lstinline{route} command to re-insert the multicast routing entry.}

\fcolorbox{blue}{yellow!10}{{h\textsubscript{0}}}
\fcolorbox{blue}{yellow!10}{{all hosts}}
\lstset{backgroundcolor=\color{yellow!10}}
\begin{lstlisting}[emph=eth0]
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
\end{lstlisting}

Execute this command on all hosts.

Save the new routing table.

\fcolorbox{blue}{yellow!10}{{h\textsubscript{0}}}
\lstset{backgroundcolor=\color{yellow!10}}
\begin{lstlisting}
netstat -rn
\end{lstlisting}

\begin{report}
\item Submit the routing table you saved.
Expand Down Expand Up @@ -690,7 +697,7 @@ \section{Multicast Tree}
mstat 128.238.61.100 128.238.65.100 224.111.111.111
\end{lstlisting}

Generate multicast packet when execute command for specific source.
Generate multicast packet when execute command for \textit{h6} (to see statistics change).

\begin{report}
\item Draw multicast tree from \textit{h0} (128.238.61.100) to \textit{h6} (128.238.65.100) via 224.111.111.111 group.
Expand Down

0 comments on commit 0cb7913

Please sign in to comment.