ToDo:
通常ネットワークとDMZでrouting policyを変えるために net.add_addr_allfibsをoffに代えて、明示的なstatic routingによる設定へ移行
defaultrouter_fib#形式のFIB毎のdefaultrouter定義がうまく機能しない
単純なtypoだった
diff --git a/libexec/rc/rc.d/routing b/libexec/rc/rc.d/routing
index 37b3da0f0cef..3ef1571ad931 100755
--- libexec/rc/rc.d/routing.orig
+++ libexec/rc/rc.d/routing
@@ -171,7 +171,7 @@ static_inet()
;;
*)
static_routes="${static_routes} _default_fib${_fibnum}"
- eval route__default_fib${fibnum}="'default ${_fib_gw} -fib ${_fibnum}'"
+ eval route__default_fib${_fibnum}="'default ${_fib_gw} -fib ${_fibnum}'"
;;
esac
done
@@ -248,7 +248,7 @@ static_inet6()
;;
*)
ipv6_static_routes="${static_routes} _default_fib${_fibnum}"
- eval ipv6_route__default_fib${fibnum}="'default ${_fib_gw} -fib ${_fibnum}'"
+ eval ipv6_route__default_fib${_fibnum}="'default ${_fib_gw} -fib ${_fibnum}'"
;;
esac
done
同じバグの影響を受けた人が他にもいた模様(2023.07.19追記)
MFCされた(2023.08.31追記)
カテゴリー: Admin | Emacs | EPICS | Fortran | FreeBSD | GCC | hgsubversion | IPv6 | KEKB | LHC | Lisp | LLVM | MADX | Ryzen | SAD | samba | tDiary | unix | WWW | YaSAI | お仕事 | イベント | 出張 | 宴会 | 数学 | 艦これ | 買いもの | 追記 | 雑記
Hi,<br><br>I've noticed that you occasionally post some patches for FreeBSD, have you considered submitting these upstream? If possible please sent me a mail (remove !) to the address submitted and we can discuss it further.<br><br>Best regards,<br>Daniel
Friendly ping<br><br>Best regards,<br>Daniel