<div dir="ltr">Hi Ravi ,<br><br>I would suggest ,<br><br>[1] Use Ubuntu cloud images from "<a href="http://cloud-images.ubuntu.com/trusty/current/">http://cloud-images.ubuntu.com/trusty/current/</a>" , so you can do ssh login and enable ipv4 forwarding  by changing "net.ipv4.ip_forward = 1" in file /etc/sysctl.conf <br><br>[2]  In case of basic cirros image  please add some static route as  Jim suggested  or run some simple c socket program using gcc to forward packets.<div><br></div><div>Thanks.,</div><div>Mohankumar.N </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 18, 2016 at 12:52 PM, 张广明 <span dir="ltr"><<a href="mailto:gmzhang76@gmail.com" target="_blank">gmzhang76@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ravi: <div>   If you only want to let the VM-SF to forward traffic from p2 to p3,  you can enable ip_forward in VM-SF and configure two static route in VM-SF. </div><div>   Eg :<span style="color:rgb(0,0,0);font-family:song,Verdana;font-size:14px;line-height:22.4px;background-color:rgb(240,243,250)">ip route add VM-DST dev p2 </span></div><div><span style="color:rgb(0,0,0);font-family:song,Verdana;font-size:14px;line-height:22.4px;background-color:rgb(240,243,250)">        i</span><span style="color:rgb(0,0,0);font-family:song,Verdana;font-size:14px;line-height:22.4px;background-color:rgb(240,243,250)">p route add VM-SRC dev p1</span></div><div><span style="color:rgb(0,0,0);font-family:song,Verdana;font-size:14px;line-height:22.4px;background-color:rgb(240,243,250)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:song,Verdana;font-size:14px;line-height:22.4px;background-color:rgb(240,243,250)">Jim</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-08-18 8:02 GMT+08:00 Ravi Sekhar Reddy Konda <span dir="ltr"><<a href="mailto:ravisekhar.konda@oracle.com" target="_blank">ravisekhar.konda@oracle.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">Hi Networking SFC team<br><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000"><div dir="ltr"><br>I need some help in using the openstack Networking-SFC for service chaining.<br> <br> I am trying out Openstack networking-SFC on the devstack VM. <br> I brought up AllInOne Devstack(master branch) on the Ubuntu VM on the VirtualBox.<br> I am trying out the following scenario<br>   <br>  |--------------|                                 |--------------|                                       |--------------|               <br>  | VM-SRC  |                             <wbr>    |   VM-SF    |                             <wbr>          |  VM-DST |<br>  |--------------|              <wbr>                   |--------------|              <wbr>                         |--------------|<br>        p1 |                             <wbr>               p2 |       |p3                           <wbr>                p4 |<br>             |                             <wbr>                    |       |                             <wbr>                       |<br>             |                             <wbr>                    |       |                             <wbr>                       |<br>Net1--------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------<br><br><br><div>I am using  "cirros-0.3.4-x86_64-uec" image for bringing up VM-SRC, VM-DST and VM-SF<br><br>I got struck in enabling the "cirros-0.3.4-x86_64-uec" VM for forwarding the packets coming from Ingress-Port(p2) to Egress-Port(P3)<br>I think we can use IPTables rules for enabling VM to forward packets from Ingress-Port to Egress-Port, but the basic cirros-0.3.4-x86_64-uec<br>image does not contain IPTables also,  I tried to enable external connectivity for the VM using Floating-IP, I am able to ssh to "VM-SF" from devstack VM using<br>floating-IP, but not able to connect to to external world from VM-SF, and I could not even find yum-install on the cirros-0.3.4-x86_64-uec image for installing.<br><br>I want to know if there is any VM with minimal footprint(like UFM) which can be brought up on the virtualBox setup to act as Service Function which enables forwarding. <br>Also can anybody give me the steps how to make cirros-0.3.4-x86_64-uec image to act as Service Function for forwarding traffic.<br><br>Thanks in Advance<span><font color="#888888"><br>Ravi<br></font></span></div></div>
</div></div></div></div><br></div></div>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>