-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corerouter: implement olsrd-babel ipv4 soft migration
- Loading branch information
1 parent
a8e0d52
commit a5ccbba
Showing
7 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
role_corerouter__packages__to_merge: | ||
- bird2 | ||
- bird2c | ||
- babeld | ||
- luci-app-babeld | ||
- collectd-mod-dhcpleases | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# reserved values | ||
# | ||
128 prelocal | ||
255 local | ||
254 main | ||
253 default | ||
|
||
0 unspec | ||
# | ||
# local | ||
# | ||
#1 inr.ruhep | ||
|
||
10 babel-ff | ||
11 babel-default | ||
12 babel-src | ||
20 olsr-ff | ||
21 olsr-default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export-table 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
log syslog all; | ||
debug protocols all; | ||
|
||
ipv4 table babel_src; | ||
ipv4 table babel_ff; | ||
ipv4 table babel_default; | ||
|
||
protocol device { | ||
} | ||
|
||
protocol kernel { | ||
learn; | ||
kernel table 12; | ||
ipv4 { | ||
table babel_src; | ||
import all; | ||
}; | ||
} | ||
|
||
protocol kernel { | ||
kernel table 10; | ||
ipv4 { | ||
table babel_ff; | ||
export all; | ||
}; | ||
} | ||
|
||
protocol kernel { | ||
kernel table 11; | ||
ipv4 { | ||
table babel_default; | ||
export all; | ||
}; | ||
} | ||
|
||
|
||
protocol pipe { | ||
table babel_src; | ||
peer table babel_ff; | ||
export where net != 0.0.0.0/0; | ||
} | ||
|
||
protocol pipe { | ||
table babel_src; | ||
peer table babel_default; | ||
export where net = 0.0.0.0/0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../common/iproute2/rt_tables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters