[ovs-discuss] Output a Packet From Its Input Port
Jeremias Blendin
jeremias at blendin.org
Wed Aug 14 09:34:53 UTC 2013
Hi Volkan,
if you want to send out a packet through its input port, you need
to specify that with a special port number:
OF Switch Specification 1.0, p. 18:
OFPP_IN_PORT = 0xfff8, /* Send the packet out the input port. This
virtual port must be explicitly used
in order to send back out of the input
port. */
Best regards
Jeremias
2013/8/14 Volkan YAZICI <volkan.yazici at gmail.com>
> Hi,
>
> I have a simple topology as follows:
>
> *s1* [p2] ------ [p2] *s2*
> [p1] [p2]
> | |
> *h1* *h2*
>
> I push a flow to s2 to output every packet incoming from p2 to p2 itself
> again:
>
> $ ovs-ofctl add-flow s2 in_port=2,actions=output:2
>
> When I start to ping h2 from h1, I was expecting to observe PacketIns from
> p2 of s1 due to sent back PacketIns from p2 of s2, but somehow I did not in
> Wireshark. Is this something expected?
>
> Best.
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130814/c610cfb8/attachment.html>
More information about the discuss
mailing list