Skip to content

Instantly share code, notes, and snippets.

@escalopa
Last active July 25, 2023 04:02
Show Gist options
  • Save escalopa/44efd79b12060d7e3023c5c0bec155d7 to your computer and use it in GitHub Desktop.
Save escalopa/44efd79b12060d7e3023c5c0bec155d7 to your computer and use it in GitHub Desktop.
dynamic-routing-config

Install FRR

curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/frr.sh"  | bash

{ID}=1.1.1.1

{ENP0S8}=192.168.X.0

{ENP0S9}=192.168.Y.0

{ENP0S10}=192.168.Z.0


c t 
router ospf
router-id `{ID}`
interface enp0s8
ip address `{ENP0S8}`/24
interface enp0s9
ip address `{ENP0S9}`/24
interface enp0s10
ip address `{ENP0S10}`/24
exit
router ospf
rotuer-id `{ID}`
network `{ENP0S8}`/24 area 0.0.0.0
network `{ENP0S9}`/24 area 0.0.0.0
network `{ENP0S10}`/24 area 0.0.0.0end
write memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment