2009-11-22 04:02:17 +00:00
|
|
|
# babel config file
|
2010-02-19 12:33:36 +00:00
|
|
|
# Copyright (C) 2008-2010 Juliusz Chroboczek, L. Aaron Kaplan
|
2009-11-22 04:02:17 +00:00
|
|
|
# <jch@pps.jussieu.fr> , <aaron@lo-res.org>
|
|
|
|
#
|
|
|
|
# This config file simply documents sample entries.
|
2010-02-19 12:33:36 +00:00
|
|
|
# "redistribute" means: redistribute routes from other routing protocols
|
|
|
|
# into babel. "local" means addresses assigned to local interfaces.
|
2009-11-22 04:02:17 +00:00
|
|
|
#
|
2010-02-19 12:33:36 +00:00
|
|
|
# You do not need to edit this file: you can use /etc/config/babeld
|
|
|
|
# instead (sections "interface" and "filter"). Both files can be used
|
|
|
|
# simultaneously (the rules of this file are executed first).
|
|
|
|
|
2009-11-22 04:02:17 +00:00
|
|
|
# the default rules are:
|
|
|
|
#
|
|
|
|
## redistribute local
|
|
|
|
## redistribute deny
|
|
|
|
#
|
|
|
|
# this says, redistribute local addresses but no other routes
|
|
|
|
|
|
|
|
|
|
|
|
# redistribute IPv4 default route into babel
|
|
|
|
## redistribute local ip 0.0.0.0/0 le 0 metric 128
|
|
|
|
|
|
|
|
# same but for IPv6
|
|
|
|
## redistribute local ip ::/0 le 0 metric 128
|
|
|
|
|
2010-02-19 12:33:36 +00:00
|
|
|
|
2009-11-22 04:02:17 +00:00
|
|
|
# don't redistribute all local addresses, only selected ones
|
|
|
|
# after the first line, the "deny" rules kicks in. After the "deny"
|
|
|
|
# no redistribute local rules are going to match
|
|
|
|
## redistribute local ip 192.160.4.0/24
|
|
|
|
## redistribute local deny
|
2010-02-19 12:33:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Babel refuses to redistribute routes with a protocol number of "boot";
|
|
|
|
# this is standard practice, and means that you cannot easily
|
|
|
|
# redistribute the default route installed by dhcp. It is however
|
|
|
|
# possible to redistribute such route by explicitly specifying "proto 3"
|
|
|
|
# on the redistribute line.
|
|
|
|
## redistribute ip 0.0.0.0/0 le 0 proto 3 metric 128
|