从本地网络访问BOSH-lite Cloud Foundry VM [英] Access BOSH-lite Cloud Foundry VM from local network

查看:325
本文介绍了从本地网络访问BOSH-lite Cloud Foundry VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功通过Bosh-lite安装了Cloud Foundry的本地实例( https://github.com/cloudfoundry/bosh-lite/blob/master/README.md )。

I've successfully installed a local instance of Cloud Foundry via Bosh-lite (https://github.com/cloudfoundry/bosh-lite/blob/master/README.md).

我可以使用和访问CF从本地机器没有问题。
但是,我无法从本地网络中的其他计算机访问CF。

I can use and access CF from the local machine without problems. However, I cannot access CF from another machine in the local network.

我需要做什么来实现这一点?

What do I need to do to make this happen?

推荐答案

标准BOSH-Lite安装程序需要您添加一个路由到您的iptables,以便请求Cloud Foundry组件( 10.244可以使用BOSH-Lite虚拟机(其IP默认为 192.168.50.4 IP) >)作为网关。请查看设置说明的步骤5。

The standard BOSH-Lite setup requires you to add a route to your iptables so that requests to Cloud Foundry components (with 10.244.0.0/16 IPs) running in the BOSH-Lite VM can be reached directly using the BOSH-Lite VM (whose IP defaults to 192.168.50.4) as a gateway. Check out Step 5 of the setup instructions.

您需要:


  1. 使BOSH-Lite VM网络,

  2. 配置其他计算机将 10.244.0.0/16 的请求路由到BOSH-Lite的可访问地址VM。

  1. make the BOSH-Lite VM accessible to other machines on the network, and,
  2. configure the other machines to route requests for 10.244.0.0/16 to the accessible address of the BOSH-Lite VM.

这篇关于从本地网络访问BOSH-lite Cloud Foundry VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆