google/dranet

Duplicate IPv6 routes found for interfaces using IPv6

Open

#274 创建于 2025年11月5日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Go (26 fork)auto 404
bughelp wanted

仓库指标

Star
 (160 star)
PR 合并指标
 (PR 指标待抓取)

描述

Thanks to @liuyuan10 for spotting that there a scenario which is leading to presence of duplicate routes in the pod's namespace:

fd36::3:0:e:0:0/96 dev gpu0rdma2 proto kernel metric 256 pref medium
fd36::3:0:e:0:0/96 dev gpu0rdma2 metric 1024 pref medium

The behavior is only observed for interfaces with an IPv6 address that represents a subnet (rather than a complete /128). In this case, the kernel likely automatically creates a route for the IPv6 address that represents the subnet, e.g. the /96 above

贡献者指南