Created
October 24, 2017 13:56
-
-
Save coconut49/073e57f3b379af569e13f45eab5d9188 to your computer and use it in GitHub Desktop.
school ospf bird
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
router id 33.44.0.1; | |
protocol device { | |
scan time 10; | |
} | |
protocol kernel { | |
metric 64; # Use explicit kernel route metric to avoid collisions | |
# with non-BIRD routes in the kernel routing table | |
import none; | |
# export all; # Actually insert routes into the kernel routing table | |
} | |
protocol static { | |
import all; | |
route 33.44.0.0/16 via 33.44.0.1; | |
} | |
protocol ospf { | |
import all; | |
export filter { | |
ospf_metric1 = 1000; | |
if source = RTS_STATIC then accept; else reject; | |
}; | |
area 0 { | |
interface "eno2" { | |
cost 5; | |
type broadcast; | |
# hello 10; retransmit 2; wait 10; dead 20; | |
}; | |
interface "*" { | |
cost 1000; | |
stub; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment