mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-04 22:53:02 +02:00
This includes adding a netd-daemon since FRR has gone towards all daemons should be configured from mgmtd using YANG, netd uses gRPC to reconfigure in mgmtd Signed-off-by: Enable grpc
53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
# netd sample configuration
|
|
# See CONFIGURATION.md for detailed documentation
|
|
|
|
# Static routes
|
|
route {
|
|
prefix = "10.0.0.0/24"
|
|
nexthop = "192.168.1.1"
|
|
distance = 1
|
|
}
|
|
|
|
route {
|
|
prefix = "2001:db8::/32"
|
|
nexthop = "fe80::1"
|
|
distance = 1
|
|
}
|
|
|
|
# RIP configuration (requires FRR backend)
|
|
rip {
|
|
enabled = false
|
|
default-metric = 1
|
|
distance = 120
|
|
|
|
# Network interfaces (active by default)
|
|
network = ["eth0"]
|
|
|
|
# Passive interfaces (receive but don't send RIP updates)
|
|
# passive = ["eth1"]
|
|
|
|
# Static RIP neighbors
|
|
# neighbor = ["192.168.1.1"]
|
|
|
|
# Route redistribution
|
|
redistribute = ["connected", "static"]
|
|
|
|
# RIP timers
|
|
timers {
|
|
update = 30
|
|
invalid = 180
|
|
flush = 240
|
|
}
|
|
|
|
# Originate default route
|
|
default-route = false
|
|
|
|
# Debug options
|
|
debug-events = false
|
|
debug-packet = false
|
|
debug-kernel = false
|
|
|
|
# System commands to execute after config is applied
|
|
# system = ["vtysh -c 'configure' -c 'router rip' -c 'debug rip events'"]
|
|
}
|