1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-06-26 11:09:04 +00:00
NetworkLabNotes/chapter/section/intervlanrouting.tex

51 lines
1.4 KiB
TeX
Raw Normal View History

2017-05-31 14:35:58 +00:00
\section{Vlan-to-vlan routing}
\myquote{}{Guidance and Understanding of the art of Layer 3 networks. Routing between different slash 24\tsq{s}.\\ \textit{Aka. Inter-vlan routing.}}
There are different ways to go \tsq{bout} Inter-vlan routing and doing it.
\begin{itemize}
\item \textbf{Some are using:}
\begin{enumerate}
\item external router,
2017-05-31 19:28:45 +00:00
\item switch virtual interfaces\footnote{\texttt{Switches interface -> Vlan interfaces}},
2017-05-31 20:31:14 +00:00
\item routed ports\footnote{\texttt{Routed interface -> Subinterfaces}},
\item bridge virtual interface\footnote{\texttt{L3 bridging interface}}
2017-05-31 14:35:58 +00:00
\end{enumerate}
2017-05-31 19:28:45 +00:00
\item \textbf{Ways to do it:}
\begin{enumerate}
\item router-on-a-stick if the network is running collapsed core or not have a distribution switch in the middle.
\item (...)
\end{enumerate}
\end{itemize}
2017-05-31 20:31:14 +00:00
\pagebreak
\subsection{Interface configs}
\subsubsection{Routed interfaces}
\begin{txt}
interface GigabitEthernet 0/1.10
encapsulation dot1q 10
ip address 192.168.0.1 255.255.255.128
!
interface GigabitEthernet 0/1.20
encapsulation dot1q 20
ip address 192.168.0.129 255.255.255.128
\end{txt}
\subsubsection{Switches interfaces}
\begin{txt}
interface Vlan10
ip address 192.168.1.1 255.255.255.128
!
interface Vlan20
ip address 192.168.1.129 255.255.255.128
!
interface GigabitEthernet 0/2
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20
\end{txt}