vishvananda/netlink

gateway, source, and destination ip are not the same IP family

Opened this issue · 0 comments

aep commented

using a v6 gateway for a v4 route is legal

see https://datatracker.ietf.org/doc/html/rfc5549

iproute2 command:

ip route add 0.0.0.0/0 via inet6 fe80::f00

can we remove this check?

return nil, fmt.Errorf("gateway, source, and destination ip are not the same IP family")