From edeb72ddf155f44ebe9ecc27e5b8771d308c9e69 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 26 Jul 2024 11:04:35 +0200 Subject: [PATCH] [openwrt/nat64] add babel->kernel support Needed for local ibgp routes --- openwrt/openwrt-nat64-bootstrap.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/openwrt/openwrt-nat64-bootstrap.sh b/openwrt/openwrt-nat64-bootstrap.sh index e86ea9f..d9748fd 100755 --- a/openwrt/openwrt-nat64-bootstrap.sh +++ b/openwrt/openwrt-nat64-bootstrap.sh @@ -10,7 +10,7 @@ # - do not provide IPv4 or IPv6 dhcp/ra on any interface if [ $# -lt 8 ] ; then - echo $0 "address hostname nat64prefix ipv4address ipv4gw asn routerid iBGPpeer1 [iBGPpeer2...]" + echo $0 "address hostname nat64prefix ipv4address ipv4gw asn routerid babelpw iBGPpeer1 [iBGPpeer2...]" exit 1 fi @@ -21,6 +21,7 @@ ipv4address=$1; shift ipv4gw=$1; shift asn=$1; shift routerid=$1; shift +babelpw=$1; shift ibgp_peers="$@" # Now $@ only contains iBGP peers @@ -72,11 +73,22 @@ cat > /etc/bird.conf <