Hi Andy,

thank you very much for reaching out. The requested setup is not currently
possible with Netplan.
But it seems to be possible with newer versions of systemd-networkd (v252+).

I've created a feature request for you on Netplan's issue tracker:
https://bugs.launchpad.net/netplan/+bug/2083945

Feel free to add any additional context that you might have to that issue.

Regards,
  Lukas

On Sat, Sep 28, 2024 at 1:56 AM Andy Smith <[email protected]> wrote:

> Hi,
>
> Using the "ip" command I can configure an IPv6 nexthope for an IPv4
> route, e.g.:
>
> # ip address add 85.119.82.225/32 dev enX0
> # ip -4 route add default via inet6 fe80::1 src 85.119.82.225
>
> This works fine (the router on fe90::1 of that link has IPv4
> connectivity).
>
> Is this possible to configure in netplan? The obvious config attempt:
>
> network:
>     version: 2
>     renderer: networkd
>     ethernets:
>         enX0:
>             addresses:
>                 - 85.119.82.225/32
>             nameservers:
>                 addresses: [85.119.80.232, 85.119.80.233]
>             routes:
>                 - to: default
>                   via: fe80::1
>                   from: 85.119.82.225
>
> gives:
>
> /etc/netplan/nexthop.yaml:13:25: Error in network definition: IP family
> mismatch in route to 85.119.82.225
>                   from: 85.119.82.225
>                         ^
>
> Admittedly I do not know if this is possible with systemd-networkd or
> NetworkManager.
>
> Thanks,
> Andy
>
> --
> Mailing list: https://launchpad.net/~netplan-developers
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~netplan-developers
> More help   : https://help.launchpad.net/ListHelp
>
-- 
Mailing list: https://launchpad.net/~netplan-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~netplan-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to