SHOW:
|
|
- or go back to the newest paste.
| 1 | #Configuration of bino's ROUTER-A | |
| 2 | log syslog all; | |
| 3 | - | |
| 3 | + | |
| 4 | - | |
| 4 | + | |
| 5 | scan time 10; | |
| 6 | - | |
| 6 | + | import all ; |
| 7 | - | |
| 7 | + | |
| 8 | protocol kernel { # Primary routing table
| |
| 9 | - | |
| 9 | + | learn; # Learn alien routes from the kernel |
| 10 | - | scan time 10; |
| 10 | + | persist; # Don't remove routes on bird shutdown |
| 11 | - | |
| 11 | + | scan time 15; # Scan kernel routing table every 10 seconds |
| 12 | import all; | |
| 13 | - | |
| 13 | + | export all; |
| 14 | - | |
| 14 | + | |
| 15 | protocol static {
| |
| 16 | - | learn; # Learn alien routes from the kernel |
| 16 | + | import all; |
| 17 | - | persist; # Don't remove routes on bird shutdown |
| 17 | + | route 172.16.3.0/24 via 10.0.0.3; |
| 18 | - | scan time 15; # Scan kernel routing table every 10 seconds |
| 18 | + | |
| 19 | - | import all; |
| 19 | + | |
| 20 | - | export all; |
| 20 | + | import all; |
| 21 | export filter {
| |
| 22 | - | |
| 22 | + | ospf_metric1 = 1000; |
| 23 | - | |
| 23 | + | accept; |
| 24 | }; | |
| 25 | - | |
| 25 | + | area 0 {
|
| 26 | - | import all; |
| 26 | + | interface "bat0" {
|
| 27 | - | route 172.16.3.0/24 via 10.0.0.3; |
| 27 | + | cost 1000; |
| 28 | type broadcast; | |
| 29 | - | |
| 29 | + | hello 5; retransmit 2; wait 10; dead 60; |
| 30 | - | |
| 30 | + | authentication none; |
| 31 | }; | |
| 32 | - | |
| 32 | + | }; |
| 33 | - | import all; |
| 33 | + |