summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-05-12 23:32:38 +0300
committerWilliam A. Kennington III <wak@google.com>2021-05-13 02:15:45 +0300
commitc1a3cc2c804b6d323a20b2652c91cbaacb26d589 (patch)
treec6c5ffe38a09d2cf56bc7de500a9c2b6d3d32d29
parent40c18138758ca24bcefb4a411b7132be9bdc77e9 (diff)
downloadopenbmc-c1a3cc2c804b6d323a20b2652c91cbaacb26d589.tar.xz
meta-google: gbmc-ncsi-config: Add unreachable bridge route
We don't want traffic being routed back out of the BMC when it is destined for the BMC network. It's nice that unrecognized routes return an obvious unreachable error to the end user. Change-Id: If261faf7b8f2416ee9a802f85db17ed62946625d Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r--meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-pub-addr.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-pub-addr.sh.in b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-pub-addr.sh.in
index 949f04f458..961da50959 100644
--- a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-pub-addr.sh.in
+++ b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-pub-addr.sh.in
@@ -55,6 +55,10 @@ ValidLifetimeSec=60
[IPv6RoutePrefix]
Route=$ncsi_pfx/80
LifetimeSec=60
+[Route]
+Destination=$stateless_pfx/72
+Type=unreachable
+Metric=1024
EOF
contents+="$here"$'\n'
fi