---
# System prepended metadata

title: Egress IP Pod對外呼叫緩慢

---

# 1028測試流程

指分配一個EgressIP於worker A
全程使用運作於Worker A的Pod A發起測試

## 測試＆蒐集
1. 開啟遠端主機 wireshark，開始蒐集封包

2. 開啟Worker A的tcpdump
https://access.redhat.com/solutions/5074041
```
$ tcpdump -neli any port 65531  -y LINUX_SLL2 -w "/host/var/tmp/${HOSTNAME}_$(date +%Y_%m_%d-%H_%M_%S-%Z.pcap)"
```

3. 於Pod A內使用curl發起測試

間隔幾秒後再打一次，重複多組

4. 關閉tcpdump, 遠端主機wireshark
5. 用oc cp指令將debug pod內的tcpdump檔案拷貝出來
6. 儲存wireshark與tcpdump的封包檔案以供後續分析



---------
補充
node sosreport
https://access.redhat.com/solutions/4387261


tcpdump
https://access.redhat.com/solutions/5074041

```
$ tcpdump -neli any port 65531  -y LINUX_SLL2 -w "/host/var/tmp/${HOSTNAME}_$(date +%Y_%m_%d-%H_%M_%S-%Z.pcap)"
```

