aboutsummaryrefslogtreecommitdiffstats
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
commit07e3a510638930e3a4540c42482d24f5249a2b50 (patch)
tree91debc7d5ba8ea8d68df36588b455d2b4b78ee08 /docs
parent6f325ce890f4a12786a1ec795e5513755b9cdb67 (diff)
downloadupstream-07e3a510638930e3a4540c42482d24f5249a2b50.tar.gz
upstream-07e3a510638930e3a4540c42482d24f5249a2b50.tar.bz2
upstream-07e3a510638930e3a4540c42482d24f5249a2b50.zip
[docs] update VLAN tag example
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33732 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 c14c4db9ed..5516bd9a30 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