projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[docs] update VLAN tag example
[openwrt.git]
/
docs
/
network.tex
diff --git
a/docs/network.tex
b/docs/network.tex
index
c14c4db
..
5516bd9
100644
(file)
--- 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
\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.1
5
}. These can be nested as well. See the switch section for
this.
\begin{Verbatim}
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
\end{Verbatim}
This sets up a simple static configuration for \texttt{eth0}. \texttt{proto} specifies the