[openstack-dev] [neutron][networking-sfc] Need help in simulating Service Function VM for forwarding packets from IngressPort to EgressPort

张广明 gmzhang76 at gmail.com
Thu Aug 18 07:22:47 UTC 2016


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.konda at 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-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160818/a1dc1261/attachment.html>


More information about the OpenStack-dev mailing list