Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

How to configure internet access if VPP uses non-default interface?

オープン
#263 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
kubernetes, ubuntu
領域
networking

調査の方向性

calico-vpp-nohuge.yaml の Calico VPP デプロイ設定から始め、文書化されている bond0/eno2 の構成を使って障害を再現します。vpp_dataplane_interface が eno2 の場合に使用されるネットワークパスを確認し、kubectl exec dnsutils -- ping -c 4 8.8.8.8 を正常に実行して完了を確認します。

索引モデルが issue の本文から書いたものです。

説明

Environment

  • Calico/VPP version: v0.17.0-calicov3.20.2.
  • Kubernetes version: 1.21.1 .
  • Deployment type: bare-metal on equinix.metal, host nodes OS is Ubuntu 20.04 LTS.
  • Network configuration:
    • master node:
      1. default interface + ip - bond0 + 139.178.65.125.
      2. VPP interface + ip - eno2 + 10.0.0.1/30.
    • worker node:
      1. default interface + ip - bond0 + 139.178.65.127.
      2. VPP interface + ip - eno2 + 10.0.0.2/30.

Issue description
Pods are unable to ping internet when VPP uses non-default interface.

To Reproduce
Steps to reproduce the behavior:

  1. Start 2 bare-metal nodes with the following interfaces configured:
    1. bond0 - bond interface, has access to the internet.
    2. eno2 - simple interface, has access to the eno2 on the other node.
  2. Setup additional IP addresses:
    1. master node - 10.0.0.1/30 dev eno2.
    2. worker node - 10.0.0.2/30 dev eno2.
  3. Create kubernetes cluster.
  4. Edit Calico calico-vpp-nohuge.yaml deployment:
  vpp_dataplane_interface: eno2
  1. Start Calico with the modified deployment.
  2. Run kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml.
  3. Run kubectl exec dnsutils -- ping -c 4 8.8.8.8.
  4. ping fails.

Expected behavior
dnsutils pod should be able to access internet.

主要言語
Go
スター
173
フォーク
48
平均マージ
9日 11時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

projectcalico/vpp-dataplane のほかの issue

projectcalico/vpp-dataplane の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。