From 3dbea9350f23bbf2a4b3909e1d6bab157edba7fc Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 5 Nov 2021 01:31:59 -0700 Subject: meta-google: gbmc-bridge: Add stateless deprecated addresses We were missing this address but we want neighbor discovery from outside the BMC to work against this range. Change-Id: I6ef139486f382df21596c460626bfe2f692c7236 Signed-off-by: William A. Kennington III --- .../recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-google') diff --git a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in index 796e40584..7b0702570 100644 --- a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in +++ b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in @@ -34,6 +34,8 @@ gbmc_ncsi_br_deprecated_ips_update() { ip_to_bytes pfx_bytes "$gbmc_ncsi_br_deprecated_ips_lastip" local pfx="$(ip_bytes_to_str pfx_bytes)" + (( pfx_bytes[9] &= 0xf0 )) + local stateless_pfx="$(ip_bytes_to_str pfx_bytes)" pfx_bytes[8]=0 pfx_bytes[9]=0 local host_pfx="$(ip_bytes_to_str pfx_bytes)" @@ -42,6 +44,9 @@ gbmc_ncsi_br_deprecated_ips_update() { Address=$pfx/128 PreferredLifetime=0 [Address] +Address=$stateless_pfx/128 +PreferredLifetime=0 +[Address] Address=$host_pfx/128 PreferredLifetime=0 EOF -- cgit v1.2.3