GitHub user SudharmaJain opened a pull request:
https://github.com/apache/cloudstack/pull/1736
CLOUDSTACK-9562 Linux Guest VM get wrong default route when there areâ¦
⦠multiple Nic
REPRO STEPS
==================
1. Log as admin, create a VM CentOSx64 integrate with default network
"Admin-Network" (gateway is 10.1.1.1)
2. Create a VPC "TestVpc" and inside network named "TechNet" (gateway is
10.0.0.1)
3. Add VPC network to VM as NIC 2
4. Reboot VM and examine VM default VR changed to VPC default gateway
dhcp options entries getting updated on the VR properly, but still they are
not taking effect. Once we restart the dnsmasq service the issue is resolved.
This is because dhcp-opsfile entry to dnsmasq.conf was made after service start
and sending SIGHUP does not reload dnsmasq configuration. Thus adding
dhcp-opsfile entry to vpcdnsmasq.conf helped to fix the issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SudharmaJain/cloudstack cs-9562
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1736.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 #1736
----
commit d9b701fbee7e11198ce23c8166a985db0da3ec00
Author: Sudharma Jain <[email protected]>
Date: 2016-10-27T05:05:38Z
CLOUDSTACK-9562 Linux Guest VM get wrong default route when there are
multiple Nic
----
---
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.
---