Hi Ravi , I would suggest ,
[1] Use Ubuntu cloud images from " http://cloud-images.ubuntu.com/trusty/current/" , so you can do ssh login and enable ipv4 forwarding by changing "net.ipv4.ip_forward = 1" in file /etc/sysctl.conf [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. Thanks., Mohankumar.N On Thu, Aug 18, 2016 at 12:52 PM, 张广明 <gmzhan...@gmail.com> wrote: > Ravi: > 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. > Eg :ip route add VM-DST dev p2 > ip route add VM-SRC dev p1 > > Jim > > 2016-08-18 8:02 GMT+08:00 Ravi Sekhar Reddy Konda < > ravisekhar.ko...@oracle.com>: > >> Hi Networking SFC team >> >> I need some help in using the openstack Networking-SFC for service >> chaining. >> >> I am trying out Openstack networking-SFC on the devstack VM. >> I brought up AllInOne Devstack(master branch) on the Ubuntu VM on the >> VirtualBox. >> I am trying out the following scenario >> >> |--------------| |--------------| >> |--------------| >> | VM-SRC | | VM-SF >> | | VM-DST | >> |--------------| >> |--------------| |--------------| >> p1 | p2 | >> |p3 p4 | >> | | >> | | >> | | >> | | >> Net1-------------------------------------------------------- >> ------------------------------------- >> >> >> I am using "cirros-0.3.4-x86_64-uec" image for bringing up VM-SRC, >> VM-DST and VM-SF >> >> 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) >> 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 >> 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 >> 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. >> >> 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. >> 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. >> >> Thanks in Advance >> Ravi >> >> ____________________________________________________________ >> ______________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib >> e >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev