-
Notifications
You must be signed in to change notification settings - Fork 30
added bird files #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 1.4.0
Are you sure you want to change the base?
Changes from all commits
bf271fd
a51a7eb
1ee61f6
dc0f2a3
ca97e23
a436a7b
9d389b7
d404049
fb9c1b9
77243df
f75b97b
6dcf959
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| """ | ||
| BIRD IXP Example for MiniNExT | ||
| """ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| router id 172.0.1.1; | ||
|
|
||
|
|
||
| protocol kernel { | ||
|
|
||
| persist; # Don't remove routes on bird shutdown | ||
| scan time 20; # Scan kernel routing table every 20 seconds | ||
| import all; | ||
| export all; # Default is export none | ||
|
|
||
| } | ||
|
|
||
|
|
||
| protocol device { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is protocol device? Do we need this?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This basically checks every configured interface on the node if it is up or On Tue, Dec 9, 2014 at 2:39 PM, Brandon Schlinker notifications@github.com
|
||
| scan time 10; # Scan interfaces every 10 seconds | ||
| } | ||
|
|
||
|
|
||
| protocol static { | ||
|
|
||
| route 10.0.1.0:255.255.255.0 via 172.0.1.1; | ||
|
|
||
| } | ||
|
|
||
|
|
||
|
|
||
|
|
||
| protocol bgp { | ||
|
|
||
| description "AS 100"; | ||
| local as 100; | ||
| neighbor 172.0.254.254 as 65000; | ||
| import all; | ||
| export all; | ||
| hold time 240; | ||
| startup hold time 240; | ||
| connect retry time 120; | ||
| keepalive time 80; # defaults to hold time / 3 | ||
| start delay time 5; # How long do we wait before initial connect | ||
| error wait time 60, 300;# Minimum and maximum time we wait after an error (when consecutive | ||
|
|
||
| error forget time 300; # ... until this timeout expires) | ||
| disable after error; # Disable the protocol automatically when an error occurs | ||
| source address 172.0.1.1; # What local address we use for the TCP connection | ||
|
|
||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| BIRD_RUN_USER=bird | ||
| BIRD_RUN_GROUP=bird | ||
| #BIRD_ARGS= |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| router id 172.0.2.1; | ||
|
|
||
|
|
||
| protocol kernel { | ||
|
|
||
| persist; # Don't remove routes on bird shutdown | ||
| scan time 20; # Scan kernel routing table every 20 seconds | ||
| import all; | ||
| export all; # Default is export none | ||
|
|
||
| } | ||
|
|
||
|
|
||
| protocol device { | ||
| scan time 10; # Scan interfaces every 10 seconds | ||
| } | ||
|
|
||
|
|
||
| protocol static { | ||
|
|
||
| route 10.0.2.0:255.255.255.0 via 172.0.2.1; | ||
|
|
||
| } | ||
|
|
||
|
|
||
|
|
||
|
|
||
| protocol bgp { | ||
|
|
||
| description "AS 200"; | ||
| local as 200; | ||
| neighbor 172.0.254.254 as 65000; | ||
| import all; | ||
| export all; | ||
| hold time 240; | ||
| startup hold time 240; | ||
| connect retry time 120; | ||
| keepalive time 80; # defaults to hold time / 3 | ||
| start delay time 5; # How long do we wait before initial connect | ||
| error wait time 60, 300;# Minimum and maximum time we wait after an error (when consecutive | ||
|
|
||
| error forget time 300; # ... until this timeout expires) | ||
| disable after error; # Disable the protocol automatically when an error occurs | ||
| source address 172.0.2.1; # What local address we use for the TCP connection | ||
|
|
||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| BIRD_RUN_USER=bird | ||
| BIRD_RUN_GROUP=bird | ||
| #BIRD_ARGS= |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| router id 172.0.3.2; | ||
|
|
||
|
|
||
| protocol kernel { | ||
|
|
||
| persist; # Don't remove routes on bird shutdown | ||
| scan time 20; # Scan kernel routing table every 20 seconds | ||
| import all; | ||
| export all; # Default is export none | ||
|
|
||
| } | ||
|
|
||
|
|
||
| protocol device { | ||
| scan time 10; # Scan interfaces every 10 seconds | ||
| } | ||
|
|
||
|
|
||
| protocol static { | ||
|
|
||
| route 10.0.3.0:255.255.255.0 via 172.0.3.2; | ||
|
|
||
| } | ||
|
|
||
|
|
||
|
|
||
|
|
||
| protocol bgp { | ||
|
|
||
| description "AS 300_1"; | ||
| local as 300; | ||
| neighbor 172.0.254.254 as 65000; | ||
| import all; | ||
| export all; | ||
| hold time 240; | ||
| startup hold time 240; | ||
| connect retry time 120; | ||
| keepalive time 80; # defaults to hold time / 3 | ||
| start delay time 5; # How long do we wait before initial connect | ||
| error wait time 60, 300;# Minimum and maximum time we wait after an error (when consecutive | ||
|
|
||
| error forget time 300; # ... until this timeout expires) | ||
| disable after error; # Disable the protocol automatically when an error occurs | ||
| source address 172.0.3.2; # What local address we use for the TCP connection | ||
|
|
||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| BIRD_RUN_USER=bird | ||
| BIRD_RUN_GROUP=bird | ||
| #BIRD_ARGS= |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| router id 172.0.3.1; | ||
|
|
||
|
|
||
| protocol kernel { | ||
|
|
||
| persist; # Don't remove routes on bird shutdown | ||
| scan time 20; # Scan kernel routing table every 20 seconds | ||
| import all; | ||
| export all; # Default is export none | ||
|
|
||
| } | ||
|
|
||
|
|
||
| protocol device { | ||
| scan time 10; # Scan interfaces every 10 seconds | ||
| } | ||
|
|
||
|
|
||
| protocol static { | ||
|
|
||
| route 10.0.3.0:255.255.255.0 via 172.0.3.1; | ||
|
|
||
| } | ||
|
|
||
|
|
||
|
|
||
|
|
||
| protocol bgp { | ||
|
|
||
| description "AS 300_2"; | ||
| local as 300; | ||
| neighbor 172.0.254.254 as 65000; | ||
| import all; | ||
| export all; | ||
| hold time 240; | ||
| startup hold time 240; | ||
| connect retry time 120; | ||
| keepalive time 80; # defaults to hold time / 3 | ||
| start delay time 5; # How long do we wait before initial connect | ||
| error wait time 60, 300;# Minimum and maximum time we wait after an error (when consecutive | ||
|
|
||
| error forget time 300; # ... until this timeout expires) | ||
| disable after error; # Disable the protocol automatically when an error occurs | ||
| source address 172.0.3.1; # What local address we use for the TCP connection | ||
|
|
||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| BIRD_RUN_USER=bird | ||
| BIRD_RUN_GROUP=bird | ||
| #BIRD_ARGS= |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| router id 172.0.4.1; | ||
|
|
||
|
|
||
| protocol kernel { | ||
|
|
||
| persist; # Don't remove routes on bird shutdown | ||
| scan time 20; # Scan kernel routing table every 20 seconds | ||
| import all; | ||
| export all; # Default is export none | ||
|
|
||
| } | ||
|
|
||
|
|
||
| protocol device { | ||
| scan time 10; # Scan interfaces every 10 seconds | ||
| } | ||
|
|
||
|
|
||
| protocol static { | ||
|
|
||
| route 10.0.4.0:255.255.255.0 via 172.0.4.1; | ||
|
|
||
| } | ||
|
|
||
|
|
||
|
|
||
|
|
||
| protocol bgp { | ||
|
|
||
| description "AS 400"; | ||
| local as 400; | ||
| neighbor 172.0.254.254 as 65000; | ||
| import all; | ||
| export all; | ||
| hold time 240; | ||
| startup hold time 240; | ||
| connect retry time 120; | ||
| keepalive time 80; # defaults to hold time / 3 | ||
| start delay time 5; # How long do we wait before initial connect | ||
| error wait time 60, 300;# Minimum and maximum time we wait after an error (when consecutive | ||
|
|
||
| error forget time 300; # ... until this timeout expires) | ||
| disable after error; # Disable the protocol automatically when an error occurs | ||
| source address 172.0.4.1; # What local address we use for the TCP connection | ||
|
|
||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| BIRD_RUN_USER=bird | ||
| BIRD_RUN_GROUP=bird | ||
| #BIRD_ARGS= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have routes removed on BIRD shutdown for consistency, otherwise the kernel routes will grow stale / out of sync.