summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-10-12 12:13:55 +0000
committerLuka Perkov <luka@openwrt.org>2012-10-12 12:13:55 +0000
commit6f21471e98d90948b268fbae2087408010efd18a (patch)
treea148a90d9722a3b00d48f0a59ad5ec85e300c4e8 /docs
parent8bf6f0d579ffdbcaa0286dd546c5d9fc173b5976 (diff)
downloadmtk-20170518-6f21471e98d90948b268fbae2087408010efd18a.zip
mtk-20170518-6f21471e98d90948b268fbae2087408010efd18a.tar.gz
mtk-20170518-6f21471e98d90948b268fbae2087408010efd18a.tar.bz2
update VLAN tag example
SVN-Revision: 33732
Diffstat (limited to 'docs')
-rw-r--r--docs/network.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/network.tex b/docs/network.tex
index c14c4db..5516bd9 100644
--- a/docs/network.tex
+++ b/docs/network.tex
@@ -22,11 +22,13 @@ of interfaces and add:
\end{Verbatim}
It is possible to use VLAN tagging on an interface simply by adding the VLAN IDs
-to it, e.g. \texttt{eth0.1}. These can be nested as well. See the switch section for
+to it, e.g. \texttt{eth0.15}. These can be nested as well. See the switch section for
this.
\begin{Verbatim}
-config inter
+config interface
+ option ifname "eth0.15"
+ option proto "none"
\end{Verbatim}
This sets up a simple static configuration for \texttt{eth0}. \texttt{proto} specifies the