[09:23] hmm. how do I specify a route with a target device rather than a via value? this is what I need to express in Netplan: `ip -6 route add 2a02:c0:1002:10::/64 dev eth1 table 1` [09:26] "The routes block defines standard static routes for an interface. [09:26] At least to and via must be specified." [09:31] kjetilho: hi :-). Just to clarify, you want to move the routes of a subnetwork that's directly reachable from eth1 into rt 1, right? [09:32] well, I need to duplicate that route due to a routing policy which switches routing table for traffic from 2a02:c0:1002:10::/64 [09:33] without it, traffic to the local network is routed at the default gateway, which just sends a redirect [09:33] (the default gateway in table 1) [09:34] kjetilho: I think https://bugs.launchpad.net/netplan/+bug/1789862 would solve this as well. [09:35] seems like my exact problem, yes [09:37] hmm, what does that PR do, though? I am running 0.102-0ubuntu1~20.04.2 [09:38] OK, so following the various links, it seems `to: 2a02:c0:1002:10::/64 \n scope: link \n table: 1` *should* do what you request. [09:39] yes, just tried a debug run, it is accepted [09:39] must pick up some nerve to try it. hang on ;) [09:40] looks good! [09:40] kjetilho: can you confirm that the table is taken into account? [09:40] (the reason why the above bug remained open) [09:41] yes, it is added to the correct table [09:41] so there are two PRs on the horizon: one for the reference manual, and one for the error message [09:42] "Error in network definition: unicast route must include both a 'to' and 'via' IP" [09:42] Looking forward to it :) [09:42] do you have the git-links handy perchance? [09:43] duh [09:43] I have it on my screen since I read the PR :) [09:45] hrm. put a "global" into that error message? the hint to use a different scope may be a bit subtle, but ... [09:47] We can always nitpick on the wording on the PR itself ;-) [09:47] yep [09:47] as for the link, for future reference you'll find one in the channel description. [09:48] haha [09:48] *really* staring me in the eye [09:48] slyon: (or whoever is +o here) would it be possible to add a link to the lp bug tracker as well? [09:53] schopin: yes, that's a good idea! === slyon changed the topic of #netplan to: netplan.io 0.103 | Backend-agnostic network configuration in YAML | https://netplan.io | https://github.com/canonical/netplan | https://bugs.launchpad.net/netplan [09:55] kjetilho: for the record, which backend are you using?