From 9674509e803564061f868f732d571f3ce0485756 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 6 Aug 2021 00:06:42 -0700 Subject: meta-google: gbmc-ncsi-config: Add relay support for the bridge We may have multiple BMCs running on the internal gbmcbr network via USB links to attached trays. These BMCs do not have a direct connection to the network, and require the NCSI BMC to relay all of their traffic (including DHCP) out opf the machine. This patch enables dhcrelay to run on the NCSI interface and proxy all DHCP traffic from the bridge out of the machine. Change-Id: I60f97ae2d64289c7b706b3d0a6c8fb79a931e485 Signed-off-by: William A. Kennington III --- .../recipes-google/ncsi/files/gbmc-ncsi-dhcrelay.service.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-google/recipes-google/ncsi/files/gbmc-ncsi-dhcrelay.service.in (limited to 'meta-google/recipes-google/ncsi/files/gbmc-ncsi-dhcrelay.service.in') diff --git a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-dhcrelay.service.in b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-dhcrelay.service.in new file mode 100644 index 000000000..5e0345542 --- /dev/null +++ b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-dhcrelay.service.in @@ -0,0 +1,13 @@ +[Unit] +Description=gBMC DHCP Relay Agent Daemon +After=network.target +StartLimitIntervalSec=10 +StartLimitBurst=3 + +[Service] +Restart=always +RestartSec=5 +ExecStart=/usr/sbin/dhcrelay -d --no-pid -rp 3967 -l gbmcncsidhcp -u @NCSI_IF@ + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3