mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:04:38 +02:00
[docs] fix style
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33731 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b769eff554
commit
783d565154
@ -54,7 +54,7 @@ config interface "lan"
|
|||||||
option ifname "eth0"
|
option ifname "eth0"
|
||||||
option proto "dhcp"
|
option proto "dhcp"
|
||||||
option ipaddr "192.168.1.1" (optional)
|
option ipaddr "192.168.1.1" (optional)
|
||||||
option hostname "openwrt" (optional)
|
option hostname "openwrt" (optional)
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
|
||||||
PPP based protocols (\texttt{pppoe}, \texttt{pptp}, ...) accept these options:
|
PPP based protocols (\texttt{pppoe}, \texttt{pptp}, ...) accept these options:
|
||||||
@ -70,7 +70,6 @@ PPP based protocols (\texttt{pppoe}, \texttt{pptp}, ...) accept these options:
|
|||||||
",<interval>" to the keepalive value
|
",<interval>" to the keepalive value
|
||||||
\item{demand} \\
|
\item{demand} \\
|
||||||
Use Dial on Demand (value specifies the maximum idle time.
|
Use Dial on Demand (value specifies the maximum idle time.
|
||||||
|
|
||||||
\item{server: (pptp)} \\
|
\item{server: (pptp)} \\
|
||||||
The remote pptp server IP
|
The remote pptp server IP
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
@ -84,7 +83,7 @@ config interface "lan"
|
|||||||
option proto "pppoe"
|
option proto "pppoe"
|
||||||
option username "username"
|
option username "username"
|
||||||
option password "openwrt"
|
option password "openwrt"
|
||||||
option mtu 1492 (optional)
|
option mtu "1492" (optional)
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
|
||||||
\subsubsection{Setting up static routes}
|
\subsubsection{Setting up static routes}
|
||||||
@ -96,10 +95,10 @@ Simply add a config section like this:
|
|||||||
|
|
||||||
\begin{Verbatim}
|
\begin{Verbatim}
|
||||||
config route foo
|
config route foo
|
||||||
option interface lan
|
option interface "lan"
|
||||||
option target 1.1.1.0
|
option target "1.1.1.0"
|
||||||
option netmask 255.255.255.0
|
option netmask "255.255.255.0"
|
||||||
option gateway 192.168.1.1
|
option gateway "192.168.1.1"
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
|
||||||
The name for the route section is optional, the \texttt{interface}, \texttt{target} and
|
The name for the route section is optional, the \texttt{interface}, \texttt{target} and
|
||||||
@ -166,9 +165,9 @@ file and change the settings accordingly :
|
|||||||
\begin{Verbatim}
|
\begin{Verbatim}
|
||||||
config 6tunnel
|
config 6tunnel
|
||||||
option tnlifname 'sixbone'
|
option tnlifname 'sixbone'
|
||||||
option remoteip4 '1.0.0.1'
|
option remoteip4 '1.0.0.1'
|
||||||
option localip4 '1.0.0.2'
|
option localip4 '1.0.0.2'
|
||||||
option localip6 '2001::DEAD::BEEF::1'
|
option localip6 '2001::DEAD::BEEF::1'
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
@ -185,7 +184,7 @@ config 6tunnel
|
|||||||
This address is given by the tunnel broker
|
This address is given by the tunnel broker
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
Using the same package you can also setup an IPv6 bridged connection :
|
Using the same package you can also setup an IPv6 bridged connection:
|
||||||
|
|
||||||
\begin{Verbatim}
|
\begin{Verbatim}
|
||||||
config 6bridge
|
config 6bridge
|
||||||
@ -197,7 +196,6 @@ and uses ebtables to filter anything that is not IPv6 on the bridge.
|
|||||||
This configuration is particularly useful if your router is not
|
This configuration is particularly useful if your router is not
|
||||||
IPv6 ND proxy capable (see: http://www.rfc-archive.org/getrfc.php?rfc=4389).
|
IPv6 ND proxy capable (see: http://www.rfc-archive.org/getrfc.php?rfc=4389).
|
||||||
|
|
||||||
|
|
||||||
IPv6 static addressing is also supported using a similar setup as
|
IPv6 static addressing is also supported using a similar setup as
|
||||||
IPv4 but with the \texttt{ip6} prefixing (when applicable).
|
IPv4 but with the \texttt{ip6} prefixing (when applicable).
|
||||||
|
|
||||||
@ -205,6 +203,6 @@ IPv4 but with the \texttt{ip6} prefixing (when applicable).
|
|||||||
config interface "lan"
|
config interface "lan"
|
||||||
option ifname "eth0"
|
option ifname "eth0"
|
||||||
option proto "static"
|
option proto "static"
|
||||||
option ip6addr "fe80::200:ff:fe00:0/64"
|
option ip6addr "fe80::200:ff:fe00:0/64"
|
||||||
option ip6gw "2001::DEAF:BEE:1"
|
option ip6gw "2001::DEAF:BEE:1"
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
Loading…
Reference in New Issue
Block a user