After restarting systemd-networkd.service, it works as expected and I can traceroute the public ip associated with the secondary NIC (ens6) and:
``` # systemctl restart systemd-networkd.service # ip r default via 192.168.0.1 dev ens5 proto dhcp src 192.168.5.118 metric 100 default via 192.168.0.1 dev ens6 proto dhcp src 192.168.3.160 metric 1003 mtu 9001 192.168.0.0/20 dev ens5 proto kernel scope link src 192.168.5.118 metric 100 192.168.0.0/20 dev ens6 proto dhcp scope link src 192.168.3.160 metric 1003 mtu 9001 192.168.0.1 dev ens5 proto dhcp scope link src 192.168.5.118 metric 100 192.168.0.1 dev ens6 proto dhcp scope link src 192.168.3.160 metric 200 192.168.0.2 dev ens5 proto dhcp scope link src 192.168.5.118 metric 100 192.168.0.2 dev ens6 proto dhcp scope link src 192.168.3.160 metric 200 ``` And effectively, the generated network config for systemd-networkd by netplan is the same in noble and oracular: ``` # cat /run/systemd/network/10-netplan-ens6.network [Match] PermanentMACAddress=06:5d:82:db:09:45 Name=ens6 [Network] DHCP=ipv4 LinkLocalAddressing=ipv6 [Route] Destination=0.0.0.0/0 Gateway=192.168.0.1 Table=101 [Route] Destination=192.168.0.0/20 Scope=link Table=101 [RoutingPolicyRule] From=192.168.3.160 Table=101 [DHCP] RouteMetric=200 UseMTU=true root@ip-192-168-5-118:/run/systemd/network# cat /run/systemd/network/10-netplan-ens6.link [Match] PermanentMACAddress=06:5d:82:db:09:45 [Link] Name=ens6 WakeOnLan=off ``` Thanks for the quick reponses and direction. Is there something else I can do to help with this issue? Please let me know if so. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083695 Title: netplan does not fully generate routes for PBR To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2083695/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs