0
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      addresses:
       - 192.168.3.30/24
      dhcp4: no
      gateway4: 192.168.3.1
       routes:
       - to: 192.168.3.0/24
         via: 192.168.3.1
         table: 101
      routing-policy:
       - from: 192.168.3.0/24
         table: 101
    ens5:
      addresses:
       - 192.168.5.24/24
      dhcp4: no
      gateway4: 192.168.5.1
      routes:
       - to: 192.168.5.0/24
         via: 192.168.5.1
         table: 102
      routing-policy:
        - from: 192.168.5.0/24
          table: 102
ens7:
      addresses:
       - 192.168.9.24/24
      dhcp4: no
      gateway4: 192.168.9.1
      routes:
       - to: 192.168.9.0/24
         via: 192.168.9.1
         table: 102
      routing-policy:
       - from: 192.168.9.0/24
          table: 103

Didn't work, any idea?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.