about summary refs log tree commit diff stats
path: root/tools/network.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-25 01:03:53 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-28 06:41:08 +0100
commit2f30196609c9ef1c7e0b03fc0f6a7a60c0c5526e (patch)
tree2f454fdd29b725cb0b1c7912e3be962afa2de6fc /tools/network.html
parentc0251af1c2c9a35fc395a8e911aa345519f6b878 (diff)
downloaddoc-2f30196609c9ef1c7e0b03fc0f6a7a60c0c5526e.tar.gz
network revision
Diffstat (limited to 'tools/network.html')
-rw-r--r--tools/network.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/network.html b/tools/network.html
new file mode 100644
index 0000000..5e4a481
--- /dev/null
+++ b/tools/network.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html dir="ltr" lang="en">
+    <head>
+        <meta charset='utf-8'>
+        <title>Network Tools</title>
+    </head>
+    <body>
+
+        <a href="index.html">Tools Index</a>
+
+        <h1>Network Tools</h1>
+
+        <h2 id="bridge">Bridges</h2>
+
+        <p>See <a href="conf/etc/rc.d/blan">/etc/rc.d/blan</a> on
+        how to create interfaces at startup or as source to do it
+        in automatic way;</p>
+
+        <pre>
+        DEV="br0"
+        PHY="enp8s0"
+        </pre>
+
+        <pre>
+        # ip link add name ${DEV} type bridge
+        # ip link set dev ${DEV} up
+        </pre>
+        <pre>
+        # ip route flush dev ${PHY}
+        # ip addr flush dev ${PHY}
+        # ip link set dev ${PHY} master ${DEV}
+        </pre>
+
+        <pre>
+        # ip addr add ${ADDR}/${MASK} dev ${DEV} broadcast +
+        </pre>
+
+        <a href="index.html">Tools Index</a>
+        <p>This is part of the c9 Manual.
+        Copyright (C) 2016
+        c9 team.
+        See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
+        for copying conditions.</p>
+
+    </body>
+</html>