Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C70AE11591 for ; Thu, 1 May 2014 10:15:22 +0000 (UTC) Received: (qmail 10981 invoked by uid 500); 1 May 2014 10:15:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 10335 invoked by uid 500); 1 May 2014 10:15:18 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 9601 invoked by uid 500); 1 May 2014 10:15:17 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 9592 invoked by uid 99); 1 May 2014 10:15:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 10:15:16 +0000 Date: Thu, 1 May 2014 10:15:16 +0000 (UTC) From: "Ian Fisher (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6554) [VMWARE]Guest VMs failed to access public network when VR's public IP and management IP are in same CIDR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ian Fisher created CLOUDSTACK-6554: -------------------------------------- Summary: [VMWARE]Guest VMs failed to access public network when VR's public IP and management IP are in same CIDR Key: CLOUDSTACK-6554 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6554 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Virtual Router, VMware Affects Versions: 4.2.1 Environment: advanced zone, default network offering, public IPs in single CIDR, management IPs in the same CIDR Reporter: Ian Fisher When using same CIDR for public network and management network, guest VMs failed to connect to computers in public network via VR with default network offering in VMware advanced zone. It seems that the routing rules in custom routing table of VR caused this issue. Logged in to VR and execute: ip route ls table Table_eth2 and got: default via 10.4.12.1 dev eth1 proto static According to the rules in iptables and IP configuration of NICs, the device of this routing rule seems should be eth2, which is for public network connection. The corresponding configuration script in ipassoc.sh is sudo ip route add default via $defaultGwIP table $tableName proto static Rebooted the VR after Inserting "dev $ethDev" after "$defaultGwIP" and it seems to work. -- This message was sent by Atlassian JIRA (v6.2#6252)