我正在使用 Rocky Linux 8.5 主机。我使用 nmcli 创建了带有双端口 NIC 的 802.3ad 绑定接口。但是,我无法 ping 通网关。使用 tcpdump 查看流量,我可以看到来自主机的 ARP 请求和来自网关的预期响应,但没有看到其他流量(没有看到出站 ICMP 数据包)。
无论网络或网关出现任何问题,我认为我仍然应该看到出站 ICMP 流量吗?我猜我看不到 ICMP 流量是因为一些奇怪的内部路由问题?该主机上还有另一个接口,但我也没有看到从该接口发送的 ICMP 流量。默认网关和最低度量是在绑定接口上设置的。我什么配置不正确?有什么想法或故障排除建议吗?
# ip route
default via 192.168.40.217 dev bond0 proto static metric 200
default via 10.5.0.1 dev eno1 proto dhcp metric 203
10.5.0.0/24 dev eno1 proto kernel scope link src 10.5.0.114 metric 203
192.168.40.216/29 dev bond0 proto kernel scope link src 1192.168.40.220 metric 200
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 16:01:13:e1:84:83 brd ff:ff:ff:ff:ff:ff
inet 10.5.0.114/24 brd 10.5.0.255 scope global dynamic noprefixroute eno1
valid_lft 170451sec preferred_lft 170451sec
inet6 fe80::1aa3:74ff:fe0e:c393/64 scope link
valid_lft forever preferred_lft forever
6: enp4s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP group default qlen 1000
link/ether 00:11:21:bb:43:38 brd ff:ff:ff:ff:ff:ff
7: enp4s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP group default qlen 1000
link/ether 00:11:21:bb:43:38 brd ff:ff:ff:ff:ff:ff permaddr 00:11:21:bb:43:39
8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
link/ether 00:11:21:bb:43:38 brd ff:ff:ff:ff:ff:ff
inet 192.168.40.220/29 brd 192.168.40.223 scope global noprefixroute bond0
valid_lft forever preferred_lft forever
inet6 fe80::7c95:91f0:f39e:f681/64 scope link noprefixroute
valid_lft forever preferred_lft forever