mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
This patch changes the way Infix DHCP and ZerocConf clients set their routes in the system. Instead of setting them directly in the kernel we ask FRR staticd to set them for us. The reason for this change is to be able to override routes from these protocols with locally set static routes. The routes are now set with a distance of 5 and 254, respectively, while static routes by default have a distance of 1. In contrast, kernel routes are always treated by Frr as distance 0, i.e., they are preferred over static routes. Finally, this patch drops the use of Linux legacy interface aliases, or colon interfaces, in an effort to reduce confusion for end users. This may give some odd results if using older tools like ifconfig, so we recommend using 'show interfaces' or 'ipb a' instead. Fixes #640 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
10 lines
232 B
Plaintext
10 lines
232 B
Plaintext
! Default settings for staticd, used for both
|
|
! confd generated routes, udhcpc and zeroconf
|
|
frr defaults traditional
|
|
hostname Router
|
|
password zebra
|
|
enable password zebra
|
|
no log unique-id
|
|
log syslog informational
|
|
log facility local2
|