简体   繁体   English

openstack 网络设置物理网络

[英]openstack network settings physical network

I have so far completed my single server openstack installation using conjure up.到目前为止,我已经使用 conjure up 完成了我的单服务器 openstack安装。 But now.但现在。 I still fail to setup the network settings.我仍然无法设置网络设置。 Here is my network setup currently:这是我目前的网络设置:

在此处输入图片说明

So far i tried to set up public network using my public ip to no avail.到目前为止,我尝试使用我的公共 ip 设置公共网络无济于事。 How should I setup my network so I can get floating ip from my public ip.我应该如何设置我的网络,以便我可以从我的公共 ip 获取浮动 ip。 Assume my public ip is 192.168.1.0/24, I would like to give my floating ip from range 192.168.1.100 to 192.168.1.200假设我的公共 ip 是 192.168.1.0/24,我想给我的浮动 ip 范围从 192.168.1.100 到 192.168.1.200

您需要在 openstack 设置期间将您的公共网络配置为“提供者网络”,并且在您的 OpenStack 内部,您需要将网络配置为外部网络。

And what about proxy arp and iptables?那么代理 arp 和 iptables 呢? Something like:就像是:

echo 1 > /proc/sys/net/ipv4/conf/ens160/proxy_arp
iptables -t nat -A POSTROUTING -o ens160 -j MASQUERADE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM