Comment 2 for bug 1656350

Revision history for this message
Sean Wheller (seanwhe) wrote :

Hi, thanks for the feed back and for looking into this problem.

See below (eof) is the apt policy. Just one more thing on this subject. I think, in addition to the formatting, that the actual implementation method for a multi-homed system may not work.

I think a correct implementation will require the addition of tables in /etc/iproute2/rt_tables
then;
It may then be a better implementation if the routes and rules are added to /etc/rc.local
This would result in the content of /etc/rc.local containing something like
(snipped for brevity just showing a single interface):
      ip route add 192.168.21.0/24 dev enp7s6 src 192.168.21.17 table lab
      ip route add default via 192.168.21.254 dev enp7s6 table lab
      ip rule add from 192.168.21.17/24 table lab
      ip rule add to 192.168.21.17/24 table lab
...
For each interface.

sean@ops-jhb-infra-06:~$ apt-cache policy curtin
curtin:
  Installed: (none)
  Candidate: 0.1.0~bzr425-0ubuntu1~16.04.1
  Version table:
     0.1.0~bzr425-0ubuntu1~16.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
     0.1.0~bzr365-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
sean@ops-jhb-infra-06:~$