GitHub user murali-reddy opened a pull request:
https://github.com/apache/cloudstack/pull/1766
CLOUDSTACK-9598: wrong defaut gateway for the nic in non-default network
when guest VM has nic's in more than one guest network set the tag for
each host in /etc/dhcphosts.txt, and use the tag to add exception in
/etc/dhcpopts.txt to prevent sending default route, dns server in case if the
nic is in non-default network
this was the behaviour with edithosts.sh prior to 4.6
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/murali-reddy/cloudstack
vr-default-network-gateway
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1766.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1766
----
commit 17be6d806378cbacb21e8256e02e6d92188ed183
Author: Murali Reddy <[email protected]>
Date: 2016-11-17T18:00:25Z
CLOUDSTACK-9598: wrong defaut gateway for the nic in non-default network
when guest VM has nic's in more than one guest network
set the tag for each host in /etc/dhcphosts.txt, and use the tag to add
exception
in /etc/dhcpopts.txt to prevent sending default route, dns server in case
if
the nic is in non-default network
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---