Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0BCBC200C69 for ; Sat, 6 May 2017 17:18:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0A446160BAD; Sat, 6 May 2017 15:18:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CEF14160BA2 for ; Sat, 6 May 2017 17:18:13 +0200 (CEST) Received: (qmail 41562 invoked by uid 500); 6 May 2017 15:18:07 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 41502 invoked by uid 99); 6 May 2017 15:18:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 May 2017 15:18:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9595AC03A8 for ; Sat, 6 May 2017 15:18:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 17kGea78IlYo for ; Sat, 6 May 2017 15:18:03 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7B6F55F397 for ; Sat, 6 May 2017 15:18:02 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id b204so14365864oii.1 for ; Sat, 06 May 2017 08:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=795oCUbyJWZTHIOsKuPgrqKDWirp78vGjtdQrTUf8fg=; b=ktGlSWc2BhtakUVaKpBiQqdj/F21hTivYQXwVcxQatpkYnDjQtxMifHr5lLVRaHB9R kZyEQstae745FP9zllQdt5RxLe1dZVpXN9ES5UUZBA44LTecmIICQDwxXdmlaSp0L//L D/D79SAccmmRjhtUY/cvGNgD7gYDfOkdybxJhvytv8Y24tP/oNTxLp24Dc3RykvHSkJd 3FVR8mT2jiLAQgogKlc8S1x/vooLDfg94ys7YyJXnCmo3IX+5uw215PcWaB2I3Quu1fR 7+zLualz9Q38Y1Tc44m8xU3D/6gird/r3dHlRcZ8ZrLo/8+guW73NmlRis+WgK8Ugj+3 1LKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=795oCUbyJWZTHIOsKuPgrqKDWirp78vGjtdQrTUf8fg=; b=CsxGEh37llB2YVpN73fOyPFJjRQ+5c4ThiBa+GhEfQHE7wkbxgHJ42hDqfW85Qa6Ru EfWXMweoVJsO+xbjbWGEmL4MLiTTefN+pp2mIj4Or1GUJbEXi8ge3y3BAA5ZgDqa+wz3 xye23Exa+qLRzqx2pRfnx606zL1QqVqU5Mv1PIHRYi8IXlbugoPwiYStKjT/3MqYgteC Bp5U+lziAlzqYs1MRXnouLaYbebI3ipjpu12qHwejGmliNN8qnXAzvtBkLC+5r35F2PP Oo+6fzecCFZJzK/GzFZlc5K24M4iRJrDoNg84+r/rOvhXs0pai8b4CIh9OXpS25JqrWV 0RyA== X-Gm-Message-State: AN3rC/7G7Da4UW5RfH1IXmNg+cDryiN9psn6jz8gCmbhTcLL1a7TdoAf mh/abaT00Vpsgt2xFRJHWi5SnOEFWQCb X-Received: by 10.157.14.236 with SMTP id 99mr10468869otj.164.1494083880837; Sat, 06 May 2017 08:18:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.20 with HTTP; Sat, 6 May 2017 08:18:00 -0700 (PDT) In-Reply-To: References: <7BD6E6A4-0DCB-4E57-B006-E93064B071DA@shapeblue.com> From: Andrija Panic Date: Sat, 6 May 2017 17:18:00 +0200 Message-ID: Subject: Re: DNS is not working after adding a private gateway To: "users@cloudstack.apache.org" Content-Type: multipart/related; boundary=001a11372618fd52e8054edc826b archived-at: Sat, 06 May 2017 15:18:15 -0000 --001a11372618fd52e8054edc826b Content-Type: multipart/alternative; boundary=001a11372618fd52e3054edc826a --001a11372618fd52e3054edc826a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I would check ethernet interfaces inside VR, (eth0 =3D loopback, eth1=3DpublicIP, eth2=3Dguest, eth3=3Dguest etc...) after reboot - we had s= ome situations long time ago, where incorrect ethernet interface (order) were configured due to bug, and VR was unusable... On 18 April 2017 at 08:11, Vivek Kumar wrote: > Hello Rene, > > I rebooted via API, I mean from cloud stack GUI > *Vivek Kumar* > Virtualization and Cloud Consultant > > > > IndiQus Technologies Pvt Ltd > A-98, LGF, C.R.Park, New Delhi - 110019 > 24x7 +91 11 4055 1409 <+91%2011%204055%201409> | M +91 7503460090 > <+91%2075034%2060090> > www.indiqus.com > > On 18-Apr-2017, at 11:39 AM, Rene Moser wrote: > > How did you reboot the router? By OS reboot or by cloudstack API? > > Regards > Ren=C3=A9 > > On 04/17/2017 10:33 PM, Vivek Kumar wrote: > > Hello Dag, > > Yes i have tried to add static route for the remote subnet in the tab of > private gateway, and it works as well, but after rebooting the router > doesnt resolve DNS, however i can ping to DNS IP but it's not resolving. > > So here is my complete scenario: > > 1- Create a VPC and create a Tier. > 2- I go to my router and everything works fine on router and tier as well= . > 3- I can see default route is my public gateway. > 4- i also can see 4 interface, one for public, one for link local, one > for Tier and last for loopback. > 5- then i add a private gateway, and i can see that one more interface > is also added in router. > 6- I check on my router , everything looks good, internet is working , > DNS is also resolving on router and tier as well. > 7- when i reboot my router, everything is stopped working. > > i also compared my iptables pre-reboot and post reboot, some changes > has been made in iptables post reboot so it might be a cause, > > Any idea Dag ? > > > *Vivek Kumar* > Virtualization and Cloud Consultant____ > > http://www.indiqus.com/images/logo.jpg > *I*ndi*Q*us Technologies Pvt Ltd > A-98, LGF, C.R.Park, New Delhi - 110019 > *O* +91 11 4055 1409 <+91%2011%204055%201409> ( 24*7 Support HelpLine )| > *M* +91 7503460090 <+91%2075034%2060090> > www.indiqus.com > > > On Tue, Apr 18, 2017 at 12:36 AM, Dag Sonstebo > >> wrote: > > Hi Vivek,____ > > __ __ > > I=E2=80=99ve not spent a lot of time playing with private gateways =E2= =80=93 but > have you configured your routing table after adding this (Static > Routes tab on the private gw)?____ > > __ __ > > Regards,____ > > Dag Sonstebo____ > > Cloud Architect____ > > ShapeBlue____ > > __ __ > > Dag.Sonstebo@shapeblue.com > > www.shapeblue.com > @shapeblue > > > > > *From: *Vivek Kumar >> > *Reply-To: *"users@cloudstack.apache.org > >" < > users@cloudstack.apache.org > >> > *Date: *Monday, 17 April 2017 at 14:33 > *To: *"users@cloudstack.apache.org > >" < > users@cloudstack.apache.org > >> > *Subject: *DNS is not working after adding a private gateway____ > > __ __ > > Hello Team, ____ > > __ __ > > I have running ACS 4.7.1 with XenServer 6.5 SP1 and I have > configured a VPC and everything seems fine and I am able to reach > internet and all vm=E2=80=99s inside the tiers as well, but when I cre= ate a > private gateway and reboot the router, it stops working , neither I > am able to reach internet or able to resolve DNS ( however I am > able to reach IP of any public address i.e 4.2.2.2 and 8.8.8.8 and I > am also using same as a DNS ). Can anyone help me out? Even I tried > to remove the private gateway also but still no luck.____ > > __ __ > > I tried to trace route from the VR and its saying:____ > > __ __ > > root@r-960-VM:~# traceroute google.com ____ > > google.com : Name or service not known____ > > Cannot handle "host" cmdline arg `google.com ' on > position 1 (argc 1)____ > > __ __ > > Before Private Gateway it was running fine.____ > > __ __ > > *Vivek Kumar* > Virtualization and Cloud Consultant____ > > > > IndiQus Technologies Pvt Ltd > A-98, LGF, C.R.Park, New Delhi - 110019 > 24x7 +91 11 4055 1409 <+91%2011%204055%201409> | M +91 7503460090 > <+91%2075034%2060090> > www.indiqus.com ____ > > __ __ > > > > --=20 Andrija Pani=C4=87 --001a11372618fd52e3054edc826a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I would check ethernet interfaces inside VR, (eth0 =3D loo= pback, eth1=3DpublicIP, eth2=3Dguest, eth3=3Dguest etc...) after reboot - w= e had some situations long time ago, where incorrect ethernet interface (or= der) were configured due to bug, and VR was unusable...


On 18 April 2017= at 08:11, Vivek Kumar <vivek.kumar@indiqus.com> wrote= :
Hel= lo Rene,

I rebooted via API, I mean from cloud stack GUI= =C2=A0
Vivek Kumar
Virtualization and Cloud Consultant
<= br>

=C2=A0
IndiQus Technologies Pvt Ltd=C2=A0
A-98, LGF, C.R.Park, New Delhi - 110019=C2=A0
24x7=C2=A0
+91 11 4055 1409<= /a>=C2=A0|=C2=A0
M=C2=A0+91 7503460090=C2=A0
www.indiqus.com

On 18-Apr-2017, at 11:39 AM, Rene M= oser <mail@renem= oser.net> wrote:

How did you reboot the router? By OS reboot or by= cloudstack API?

Regards
Ren=C3=A9

On 04/17/2017 10:33 PM,= Vivek Kumar wrote:
Hello Dag,

Yes i ha= ve tried to add static route for the remote subnet in the tab of
private= gateway, and it works as well, but after rebooting the router
doesnt re= solve DNS, however i can ping to DNS IP but it's not resolving.

= So here is my complete scenario:

1- Create a VPC and create a Tier.<= br>2- I go to my router and everything works fine on router and tier as wel= l.
3- I can see =C2=A0default route is my public gateway.
4- i also c= an see 4 interface, one for public, one for link local, one
for Tier and= last for loopback.
5- then i add a private gateway, and i can see that = one more interface
is also added in router.
6- I check on my router ,= everything looks good, internet is working ,
DNS is also resolving on r= outer and tier as well.
7- when i reboot my router, everything is stoppe= d working.

i also compared my iptables pre-reboot and post reboot, = some changes
has been made in iptables post reboot so it might be a caus= e,

Any idea Dag ?


*Vivek Kumar*
Virtualization and Clo= ud Consultant____

http://www.indiqus.com/images/logo.jpg =C2=A0&l= t;http://www.indiqus.= com/>
*I*ndi*Q*us Technologies Pvt Ltd
A-98, LGF, C.R.Park, N= ew Delhi - 110019
*O* +91 11 4055 1409 ( 24*7 Support HelpLin= e )| *M* +91 7503460090
www.indiqus.com =C2=A0<http://www.indiqus.com/>


On Tue, Ap= r 18, 2017 at 12:36 AM, Dag Sonstebo
<Dag.Sonstebo@shapeblue.com <mailto:Dag.Sonsteb= o@shapeblue.com>> wrote:

=C2=A0=C2=A0=C2=A0Hi Vivek,= ____

=C2=A0=C2=A0=C2=A0__ __

=C2=A0=C2=A0=C2=A0I=E2=80=99ve= not spent a lot of time playing with private gateways =E2=80=93 but
= =C2=A0=C2=A0=C2=A0have you configured your routing table after adding this = (Static
=C2=A0=C2=A0=C2=A0Routes tab on the private gw)?____

= =C2=A0=C2=A0=C2=A0__ __

=C2=A0=C2=A0=C2=A0Regards,____

=C2= =A0=C2=A0=C2=A0Dag Sonstebo____

=C2=A0=C2=A0=C2=A0Cloud Architect__= __

=C2=A0=C2=A0=C2=A0ShapeBlue____

=C2=A0=C2=A0=C2=A0__ __<= br>
=C2=A0=C2=A0=C2=A0Dag.Sonstebo@shapeblue.com <mailto:Dag.Sonstebo@shapeblue.c= om>
=C2=A0=C2=A0=C2=A0www.shapeblue.com <http://www.shapeblue.com>
=C2=A0=C2=A0=C2=A0= @shapeblue




=C2=A0=C2=A0=C2=A0*From: *Vivek Kumar <vivek.kumar@indi= qus.com
=C2=A0=C2=A0=C2=A0<mailto:vivek.kumar@indiqus.com>>
= =C2=A0=C2=A0=C2=A0*Reply-To: *"users@cloudstack.apache.org
=C2=A0=C2=A0= =C2=A0<= mailto:users@cloudstack.apache.org>" <users@cloudstack.apache.org=
=C2=A0=C2=A0=C2=A0<mailto:users@cloudstack.apache.org>> =C2=A0=C2=A0=C2=A0*Date: *Monday, 17 April 2017 at 14:33
=C2=A0=C2=A0= =C2=A0*To: *"users@cloudstack.apache.org
=C2=A0=C2=A0=C2=A0<mailto:users@clou= dstack.apache.org>" <users@cloudstack.apache.org
=C2=A0= =C2=A0=C2=A0<mailto:users@cloudstack.apache.org>>
=C2=A0=C2=A0= =C2=A0*Subject: *DNS is not working after adding a private gateway____
<= br> =C2=A0=C2=A0=C2=A0__ __

=C2=A0=C2=A0=C2=A0Hello Team, ____
<= br> =C2=A0=C2=A0=C2=A0__ __

=C2=A0=C2=A0=C2=A0I have running ACS 4.= 7.1 with XenServer 6.5 SP1 and I have
=C2=A0=C2=A0=C2=A0configured =C2= =A0a VPC and everything seems fine and I am able to reach
=C2=A0=C2=A0= =C2=A0internet and all vm=E2=80=99s inside the tiers as well, but when I cr= eate a
=C2=A0=C2=A0=C2=A0private gateway and reboot the router, it stop= s working , neither I
=C2=A0=C2=A0=C2=A0am able to reach internet or = =C2=A0able to resolve DNS ( however I am
=C2=A0=C2=A0=C2=A0able to reac= h IP of any public address i.e 4.2.2.2 and 8.8.8.8 and I
=C2=A0=C2=A0= =C2=A0am also using same as a DNS ). Can anyone help me out? Even I tried =C2=A0=C2=A0=C2=A0to remove the private gateway also but still no luck._= ___

=C2=A0=C2=A0=C2=A0__ __

=C2=A0=C2=A0=C2=A0I tried to tr= ace route from the VR and its saying:____

=C2=A0=C2=A0=C2=A0__ __
=C2=A0=C2=A0=C2=A0root@r-960-VM:~# traceroute google.com <http://google.com>____

=C2=A0=C2=A0=C2=A0<= a href=3D"http://google.com" target=3D"_blank">google.com <http://google.com>: Name or= service not known____

=C2=A0=C2=A0=C2=A0Cannot handle "host&q= uot; cmdline arg `google.co= m <http://google.com= >' on
=C2=A0=C2=A0=C2=A0position 1 (argc 1)____

=C2= =A0=C2=A0=C2=A0__ __

=C2=A0=C2=A0=C2=A0Before Private Gateway it wa= s =C2=A0running fine.____

=C2=A0=C2=A0=C2=A0__ __

=C2=A0=C2= =A0=C2=A0*Vivek Kumar*
=C2=A0=C2=A0=C2=A0Virtualization and Cloud Consu= ltant____



=C2=A0=C2=A0=C2=A0IndiQus Technologies Pvt Ltd =C2=A0=C2=A0=C2=A0A-98, LGF, C.R.Park, New Delhi - 110019
=C2=A0=C2= =A0=C2=A024x7 +91 11 4055 1409 | M +91 7503460090
=C2= =A0=C2=A0=C2=A0www.ind= iqus.com <http:= //www.indiqus.com> ____

=C2=A0=C2=A0=C2=A0__ __


<= /blockquote>




--

Andrija Pani=C4=87
--001a11372618fd52e3054edc826a-- --001a11372618fd52e8054edc826b--