Projet

Général

Profil

Routage » Historique » Version 1

Laurent GUERBY, 10/02/2016 10:45

1 1 Laurent GUERBY
{{>toc}}
2 1 Laurent GUERBY
3 1 Laurent GUERBY
h1. Routage
4 1 Laurent GUERBY
5 1 Laurent GUERBY
6 1 Laurent GUERBY
<pre>
7 1 Laurent GUERBY
# IPv4 Adherent
8 1 Laurent GUERBY
ip addr add IP/32 dev eth0
9 1 Laurent GUERBY
ip route add default via 91.224.148.0 dev eth0 onlink
10 1 Laurent GUERBY
11 1 Laurent GUERBY
# IPv6 adherent
12 1 Laurent GUERBY
ip -6 addr add fe80::XX:YY/64 dev eth0
13 1 Laurent GUERBY
ip -6 route add default via fe80::31 dev eth0
14 1 Laurent GUERBY
ip -6 addr add IP/NN...
15 1 Laurent GUERBY
</pre>
16 1 Laurent GUERBY
17 1 Laurent GUERBY
Et coté routeur
18 1 Laurent GUERBY
<pre>
19 1 Laurent GUERBY
# IPv4 routeur
20 1 Laurent GUERBY
ip addr add 91.224.148.0/32 dev lo 
21 1 Laurent GUERBY
ip route add IP/32 dev eth0.NNN
22 1 Laurent GUERBY
23 1 Laurent GUERBY
# IPv6 routeur
24 1 Laurent GUERBY
ip -6 addr add fe80::31/64 dev eth0.NNN
25 1 Laurent GUERBY
ip route add IP/56 vi fe80:XX:YY dev eth0.NNN
26 1 Laurent GUERBY
</pre>
27 1 Laurent GUERBY
28 1 Laurent GUERBY
h1. Adressage
29 1 Laurent GUERBY
30 1 Laurent GUERBY
<pre>
31 1 Laurent GUERBY
PA 2a01:6600:8000::/40 LIR fullsave
32 1 Laurent GUERBY
2a01:6600:8080:HH00::/56 => 91.224.148.DDD fe80::80:HH
33 1 Laurent GUERBY
2a01:6600:8081:HH00::/56 => 91.224.149.DDD fe80::81:HH
34 1 Laurent GUERBY
2a01:6600:8082:HH00::/56 => 80.67.182.DDD  fe80::82:HH
35 1 Laurent GUERBY
2a01:6600:8083:HH00::/56 => 89.234.156.DDD fe80::83:HH
36 1 Laurent GUERBY
2a01:6600:8084:HH00::/56 => 89.234.157.DDD fe80::84:HH
37 1 Laurent GUERBY
TODO 185.119.168.0/22 = 4 /24
38 1 Laurent GUERBY
39 1 Laurent GUERBY
PA 2a03:7220::/32 LIR tetaneutral.net
40 1 Laurent GUERBY
2a03:7220:8080:HH00::/56 => 91.224.148.DDD fe80::80:HH
41 1 Laurent GUERBY
...
42 1 Laurent GUERBY
</pre>