On Wed, Feb 25, 2015 at 6:50 AM, 我心永恒 <zhuzhuaiqiqi1...@gmail.com> wrote:

> Dear instructor, I'm a new student in the mininet/openflow-tutorial. I
> want to seek for solutions for two problems I encountered.
>
> First one, In the section of "Learn Development Tools", when I set-up the
> switch by adding new flows using the cmd "ovs-ofctl add-flow s1
> in_port=1,actions=output:2" and "ovs-ofctl add-flow s1
> in_port=2,actions=output:1", the two entries seem never expire in the
> switch, but according to the tutorial, they owe to disappear after the
> default duration (60 s), so I really cannot understand this.
>

You need to specify the flow idle or hard timeouts:
e.g  ovs-ofctl add-flow s1 hard_timeout=60,in_port=2,actions=output:1

>
> Second one, in the subsection named "View Openflow Messages For Ping", I
> can get the Hello/Features req/reply messages, but I cannot get the
> packet-in, packet-out, flow-mod messages at all, they seem never appear in
> the Wireshark window, I doubt the effect of the "controller ptcp:" command,
> can it really trigger packet-in message upon a table miss? Or maybe this is
> due to another problem still unknown to me, could you give me some hints?
>
>
On OpenFlow 1.0 table miss behavior is send the packet for the controller.
For your problem I would check if the controller connection with the switch
is alive or check if there is not a wireshark filter hiding the messages.


ps: my OS is ubuntu 14.04 LTS, Memory 15.5 GiB, Disk 705 GB,
> processor Intel® Core™ i7-4800MQ CPU @ 2.70GHz × 8. Virtualization software
> is VirtualBox, version: 4.3.10_Ubuntur93012, X11 version: X.Org X Server
> 1.15.1. VM image is mn-2.2.0-trusty64server-141209-14-11-49.
>
> Expect your reply and gratitude in advance!
>
>   Best Regards
>   Zhang Tianzhu
>
> _______________________________________________
> openflow-discuss mailing list
> openflow-discuss@lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>
>


-- 
Eder Leão Fernandes

MSc Candidate
Faculdade de Engenharia Elétrica e Computação
Universidade de Campinas
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to