Projet

Général

Profil

Routage » Historique » Version 1

Version 1/81 - Suivant » - Version actuelle
Laurent GUERBY, 10/02/2016 10:45


Routage

# IPv4 Adherent
ip addr add IP/32 dev eth0
ip route add default via 91.224.148.0 dev eth0 onlink

# IPv6 adherent
ip -6 addr add fe80::XX:YY/64 dev eth0
ip -6 route add default via fe80::31 dev eth0
ip -6 addr add IP/NN...

Et coté routeur

# IPv4 routeur
ip addr add 91.224.148.0/32 dev lo 
ip route add IP/32 dev eth0.NNN

# IPv6 routeur
ip -6 addr add fe80::31/64 dev eth0.NNN
ip route add IP/56 vi fe80:XX:YY dev eth0.NNN

Adressage

PA 2a01:6600:8000::/40 LIR fullsave
2a01:6600:8080:HH00::/56 => 91.224.148.DDD fe80::80:HH
2a01:6600:8081:HH00::/56 => 91.224.149.DDD fe80::81:HH
2a01:6600:8082:HH00::/56 => 80.67.182.DDD  fe80::82:HH
2a01:6600:8083:HH00::/56 => 89.234.156.DDD fe80::83:HH
2a01:6600:8084:HH00::/56 => 89.234.157.DDD fe80::84:HH
TODO 185.119.168.0/22 = 4 /24

PA 2a03:7220::/32 LIR tetaneutral.net
2a03:7220:8080:HH00::/56 => 91.224.148.DDD fe80::80:HH
...