Introduction
Cette page contient les informations qui nous ont servies durant l'intégration de Babel à Commotion.
Commandes
Pour afficher la table de routes:
/etc/init.d/babeld status suivi de tail /var/log/babeld.log
Configuration actuelle
/etc/config/babeld :
package babeld
config general
option 'hello_interval' '4'
option 'wired_hello_interval' '10'
option 'local_server' '33123'
option 'conf_file' '/etc/babeld.conf'
option 'log_file' '/var/log/babeld.log'
# option 'debug' '0'
# Add interfaces on which babel will do it's thing
# ex: config interface lan
# We use /etc/babeld.conf to filter routing, not this one. That's why ignore is set to true here
config filter
option type 'redistribute'
option proto '2' # redistribute kernel routes
/etc/babeld.conf :
# Babel routing config file (filters) # This is a default configuration file. Feel free to customize it. # Open relay. By default redistribute all routes with exceptions below. # Prevent leaking of private LAN redistribute local ip 192.168.0.0/16 deny redistribute local ip 10.0.0.0/8 deny redistribute ip 192.168.0.0/16 deny redistribute ip 10.0.0.0/8 deny