Okay I have played around with this even more and its just not going to work without fixing isc-dhcp itself. Here is an example configuration, where the gateway is set in one shared-network and not in the other. When the machine boots it gets the gateway from the other shared- network.
http://paste.ubuntu.com/15273844/ Now if you re-order the configuration and place the one without the gateway first it works as expected. But this will not work as the ordering can never correct as described in my previous comment. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521618 Title: wrong subnet in DHCP answer when multiple networks are present To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1521618/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
