Score:0

22.04: How to add persistent routes in netplan

xk flag

What is the best way to add the following rules to netplan?

1 ip rule add from 172.16.9.132 table 128
2 ip route add table 128 default via 172.16.9.1
3 ip route add table 128 to 172.16.9.0/24 dev eth0

This would be my solution. I think that the first two rules are correct. But what is the correct entry for the third rule?

network:
  ethernets:
    eth0:
      dhcp4: true
      routing-policy:
        - from: 172.16.9.132
          table: 128
      routes:
        - to: default
          via: 172.16.9.1
          table: 128
        - to: 172.16.9.0/24
          table: 128
  version: 2
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.