|
@ -9,12 +9,12 @@ community. |
|
|
0. become root |
|
|
0. become root |
|
|
|
|
|
|
|
|
1. create tun device |
|
|
1. create tun device |
|
|
# tunctl -t tun0 |
|
|
$ tunctl -t tun0 |
|
|
|
|
|
|
|
|
3. enable the edge process |
|
|
3. enable the edge process |
|
|
# ./edge -d n2n0 -c mynetwork -k encryptme -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw |
|
|
$ ./edge -d n2n0 -c mynetwork -k encryptme -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw |
|
|
or |
|
|
or |
|
|
# N2N_KEY=encryptme ./edge -d n2n0 -c mynetwork -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw |
|
|
$ N2N_KEY=encryptme ./edge -d n2n0 -c mynetwork -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw |
|
|
|
|
|
|
|
|
Once you have this worked out, you can add the "-f" option to make edge detach |
|
|
Once you have this worked out, you can add the "-f" option to make edge detach |
|
|
and run as a daemon. |
|
|
and run as a daemon. |
|
@ -77,10 +77,10 @@ the edge command line. |
|
|
eg. under linux: |
|
|
eg. under linux: |
|
|
|
|
|
|
|
|
on hostA: |
|
|
on hostA: |
|
|
[hostA] # /sbin/ip -6 addr add fc00:abcd:1234::7/48 dev n2n0 |
|
|
[hostA] $ /sbin/ip -6 addr add fc00:abcd:1234::7/48 dev n2n0 |
|
|
|
|
|
|
|
|
on hostB: |
|
|
on hostB: |
|
|
[hostB] # /sbin/ip -6 addr add fc00:abcd:1234::6/48 dev n2n0 |
|
|
[hostB] $ /sbin/ip -6 addr add fc00:abcd:1234::6/48 dev n2n0 |
|
|
|
|
|
|
|
|
You may find it useful to make use of tunctl from the uml-utilities |
|
|
You may find it useful to make use of tunctl from the uml-utilities |
|
|
package. Tunctl allow you to bring up a TAP interface and configure addressing |
|
|
package. Tunctl allow you to bring up a TAP interface and configure addressing |
|
@ -108,5 +108,6 @@ AES (-O3) 12532 |
|
|
TF (-O3) 14046 |
|
|
TF (-O3) 14046 |
|
|
NULL (-O3) 10659 |
|
|
NULL (-O3) 10659 |
|
|
|
|
|
|
|
|
(C) 2007-2010 - Luca Deri <deri@ntop.org>, Richard Andrews <andrews@ntop.org> |
|
|
(C) 2007-2010 - Luca Deri <deri@ntop.org> and Richard Andrews <andrews@ntop.org> |
|
|
|
|
|
|
|
|
(C) 2016 - ntop |
|
|
(C) 2016 - ntop |