<div dir="ltr"><div>This installation guide is:<br></div><a href="http://docs.openstack.org/juno/install-guide/install/yum/content/neutron-network-node.html#treeDiv">http://docs.openstack.org/juno/install-guide/install/yum/content/neutron-network-node.html#treeDiv</a><br><div class="gmail_extra"><br></div><div class="gmail_extra"><div>In Centos 7,controle node and network node in one machine.my output is:</div><div><div>[root@controller-59 ~]# cat /proc/sys/net/ipv4/ip_forward</div><div>1</div><div>[root@controller-59 ~]# cat /proc/sys/net/ipv4/conf/all/rp_filter</div><div>0</div><div>[root@controller-59 ~]# cat /proc/sys/net/ipv4/conf/default/rp_filter</div><div>0</div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-13 18:01 GMT+08:00 Akihiro Motoki <span dir="ltr"><<a href="mailto:amotoki@gmail.com" target="_blank">amotoki@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Could you share the exact place of the installation guide?<br>
I would like to check it.<br>
<br>
Are you talking about the network node?<br>
<br>
I think these settings are required when you configure a network node<br>
without network namespace.<br>
<br>
If we use network namespace in a network node, I don't think we need<br>
these settings in a host of a network node.<br>
ip_forward=1 is set automatically in a router network namespace.<br>
<br>
I checked my Juno production environment  with network namespace, I<br>
see the following in a host level.<br>
It uses Ubuntu 14.04.<br>
<br>
$ cat /proc/sys/net/ipv4/ip_forward<br>
0<br>
$ cat /proc/sys/net/ipv4/conf/all/rp_filter<br>
1<br>
$ cat /proc/sys/net/ipv4/conf/default/rp_filter<br>
1<br>
<span class=""><font color="#888888"><br>
Akihiro<br>
</font></span><div class=""><div class="h5"><br>
2015-11-13 18:51 GMT+09:00 JinXing F <<a href="mailto:jinxing.f@gmail.com">jinxing.f@gmail.com</a>>:<br>
> Yes,I don't understand why Neutron needs enable ip_forward and disable RPF.<br>
> And I also don't understand where the neutron need this config during the<br>
> instance connect to the extrernal network.<br>
><br>
> I read the neutron code, found when the L3 agent creating, it needs the<br>
> ip_forward config,but i'm not find the RPF config in the neutron code.<br>
><br>
> Thank you very much!<br>
><br>
><br>
> 2015-11-11 18:25 GMT+08:00 JinXing F <<a href="mailto:jinxing.f@gmail.com">jinxing.f@gmail.com</a>>:<br>
>><br>
>> Hi, guys:<br>
>><br>
>>     during the neutron installation guide, I found that we need to config<br>
>> the linux kernel as bellow:<br>
>><br>
>> net.ipv4.ip_forward=1<br>
>><br>
>> net.ipv4.conf.all.rp_filter=0<br>
>><br>
>> net.ipv4.conf.default.rp_filter=0<br>
>><br>
>><br>
>> the first one is the ip address translation between LAN and WLAN, the<br>
>> second and third command is used for "Reverse Path Filtering".<br>
>><br>
>> I cann't understand the purpose of the config in the neutron.<br>
>><br>
>> 1. If the instance in compute node connect with exteral network,what's the<br>
>> function of the three config?<br>
>><br>
>> 2. The instance connect with each others, what's the function of the three<br>
>> config?<br>
>><br>
>><br>
>> I am very confused about this config.Please explain the answer to me.<br>
>><br>
>> Thanks.<br>
><br>
><br>
</div></div></blockquote></div><br></div></div>