2 NICs on vSphere


Prysmakou Aliaksandr <aliaksandr.prysmakou@...>
 

Hi all,

I'm trying to deploy a job with 2 NICs (internal and external networks) to
expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I use
only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros


Matthew Boedicker
 

This could be related to some issues we had with multiple nics. There is a
pull request:

https://github.com/cloudfoundry/bosh-agent/pull/14

On Wednesday, May 13, 2015, Alex Prysmakou <aliaksandr.prysmakou(a)altoros.com>
wrote:

Hi all,

I'm trying to deploy a job with 2 NICs (internal and external networks) to
expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I use
only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros


Dmitriy Kalinin
 

DNS should properly be configured. You are about the gateway though. I'll try to repro the case today.

Sent from my iPhone

On May 13, 2015, at 9:04 AM, Matthew Boedicker <mboedicker(a)pivotal.io> wrote:

This could be related to some issues we had with multiple nics. There is a pull request:

https://github.com/cloudfoundry/bosh-agent/pull/14

On Wednesday, May 13, 2015, Alex Prysmakou <aliaksandr.prysmakou(a)altoros.com> wrote:
Hi all,

I'm trying to deploy a job with 2 NICs (internal and external networks) to expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I use only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Dmitriy Kalinin
 

We have confirmed that bosh-init does not properly set things up; however,
when using the Director it _does_ correctly configure DNS when multiple
networks are specified for a job. Is this what you are seeing?

On Wed, May 13, 2015 at 9:09 AM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

DNS should properly be configured. You are about the gateway though. I'll
try to repro the case today.

Sent from my iPhone

On May 13, 2015, at 9:04 AM, Matthew Boedicker <mboedicker(a)pivotal.io>
wrote:

This could be related to some issues we had with multiple nics. There is
a pull request:

https://github.com/cloudfoundry/bosh-agent/pull/14

On Wednesday, May 13, 2015, Alex Prysmakou <
aliaksandr.prysmakou(a)altoros.com> wrote:

Hi all,

I'm trying to deploy a job with 2 NICs (internal and external networks)
to expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I
use only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Alexander Lomov
 

Dmitry, could you please tell what's the problem with bosh-init? Because
currently I see a similar problem and I thought that it happens in CPI or
IaaS. Is there any description / ticket / issue ?

------------------------
Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov
<https://gist.github.com/allomov>

On Fri, May 15, 2015 at 9:28 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

We have confirmed that bosh-init does not properly set things up; however,
when using the Director it _does_ correctly configure DNS when multiple
networks are specified for a job. Is this what you are seeing?

On Wed, May 13, 2015 at 9:09 AM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

DNS should properly be configured. You are about the gateway though. I'll
try to repro the case today.

Sent from my iPhone

On May 13, 2015, at 9:04 AM, Matthew Boedicker <mboedicker(a)pivotal.io>
wrote:

This could be related to some issues we had with multiple nics. There is
a pull request:

https://github.com/cloudfoundry/bosh-agent/pull/14

On Wednesday, May 13, 2015, Alex Prysmakou <
aliaksandr.prysmakou(a)altoros.com> wrote:

Hi all,

I'm trying to deploy a job with 2 NICs (internal and external networks)
to expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I
use only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Dmitriy Kalinin
 

bosh-init was not properly assigning which network should be used for DNS
and gateway settings: https://www.pivotaltracker.com/story/show/94624368

On Sun, May 17, 2015 at 4:39 AM, Alexander Lomov <
alexander.lomov(a)altoros.com> wrote:

Dmitry, could you please tell what's the problem with bosh-init? Because
currently I see a similar problem and I thought that it happens in CPI or
IaaS. Is there any description / ticket / issue ?

------------------------
Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov
<https://gist.github.com/allomov>

On Fri, May 15, 2015 at 9:28 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

We have confirmed that bosh-init does not properly set things up;
however, when using the Director it _does_ correctly configure DNS when
multiple networks are specified for a job. Is this what you are seeing?

On Wed, May 13, 2015 at 9:09 AM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

DNS should properly be configured. You are about the gateway though.
I'll try to repro the case today.

Sent from my iPhone

On May 13, 2015, at 9:04 AM, Matthew Boedicker <mboedicker(a)pivotal.io>
wrote:

This could be related to some issues we had with multiple nics. There
is a pull request:

https://github.com/cloudfoundry/bosh-agent/pull/14

On Wednesday, May 13, 2015, Alex Prysmakou <
aliaksandr.prysmakou(a)altoros.com> wrote:

Hi all,

I'm trying to deploy a job with 2 NICs (internal and external networks)
to expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I
use only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Alex Lomoff <lomov.as@...>
 

Thank you, Dmitriy.

On 19 May 2015 at 21:18, Dmitriy Kalinin <dkalinin(a)pivotal.io> wrote:

bosh-init was not properly assigning which network should be used for DNS
and gateway settings: https://www.pivotaltracker.com/story/show/94624368

On Sun, May 17, 2015 at 4:39 AM, Alexander Lomov <
alexander.lomov(a)altoros.com> wrote:

Dmitry, could you please tell what's the problem with bosh-init? Because
currently I see a similar problem and I thought that it happens in CPI or
IaaS. Is there any description / ticket / issue ?

------------------------
Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov
<https://gist.github.com/allomov>

On Fri, May 15, 2015 at 9:28 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

We have confirmed that bosh-init does not properly set things up;
however, when using the Director it _does_ correctly configure DNS when
multiple networks are specified for a job. Is this what you are seeing?

On Wed, May 13, 2015 at 9:09 AM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

DNS should properly be configured. You are about the gateway though.
I'll try to repro the case today.

Sent from my iPhone

On May 13, 2015, at 9:04 AM, Matthew Boedicker <mboedicker(a)pivotal.io>
wrote:

This could be related to some issues we had with multiple nics. There
is a pull request:

https://github.com/cloudfoundry/bosh-agent/pull/14

On Wednesday, May 13, 2015, Alex Prysmakou <
aliaksandr.prysmakou(a)altoros.com> wrote:

Hi all,

I'm trying to deploy a job with 2 NICs (internal and external
networks) to expose the job to Internet.
I get empty resolv.conf every time when I add second interface. When I
use only one network my resolv.conf looks as expected. Any ideas?

my manifest - https://gist.github.com/prysmakou/71eb75d984b62aa8cc2d
Or NAT is only one solution on vSphere?

vSphere/BOSH 2969

--
Alex Prysmakou / Altoros
Tel: (617) 841-2121 ext. 5161 | Toll free: 855-ALTOROS
Skype: aliaksandr.prysmakou
www.altoros.com | blog.altoros.com | twitter.com/altoros
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh