PowerProtect:如何在 PPDM NAS Proxy 中修改 docker 容器的預設 MTU

Summary: 如何將 PPDM NAS Proxy 中 docker 容器的預設 MTU 1500 修改為不同的值 (1400)

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

若要在 PPDM NAS Proxy 中的 docker 容器從 1500 修改預設 MTU,請遵循下列步驟:

以「admin」身分登入,並在 NAS Proxy 或保護引擎機器上變更為「root」。

1) 編輯檔案/usr/lib/systemd/system/docker.service
2) 修改下列行。
ExecStart=/usr/bin/dockerd --add-runtime oci=/usr/sbin/docker-runc $DOCKER_NETWORK_OPTIONS $DOCKER_OPTS --mtu=1400
2) 執行以將 eth0eth1 MTU 更新至 1400。
ifconfig eth0 mtu 1400
ifconfig eth1 mtu 1400

3) 將MTU=1400新增至 network.service
4) 執行 command systemctl daemon-reload
5) 執行 command systemctl restart docker.server
Article Properties
Article Number: 000215307
Article Type: How To
Last Modified: 02 Oct 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.