Hey Haleema,

thank you for your reply!

You are right, the nodes were not connected, that is why I tried to create a learning switch as before in the tutorial via
     controller ptcp:
or
    controller ptcp:6634

but the first one didn't create a functioning learning switch ( pinging didn't work, contrary to when running without the '--switch user' option)

and the latter gave me the error message

Sep 10 00:00:15|00001|vconn_tcp|ERR|ptcp:6634: bind: Address already in use Sep 10 00:00:15|00002|controller|ERR|ptcp:6634: connect: Address already in use

.
What has worked was manually adding flows between h1 and h3.
Why doesn't the learning switch work anymore or how can I get it to work with '--switch user' enabled?
The tutorial didn't say anything about why that wouldn't work.

Thank you
Alex

On 09/08/2015 10:32 AM, Haleema Sadia wrote:
Did you check the flow entries? You can list them by 'sudo ovs-ofctl dump flows' .. it is probably because the nodes are not connected.

On Tue, Sep 8, 2015 at 1:29 AM, Alexander Rehbein <a.rehb...@mailbox.tu-berlin.de <mailto:a.rehb...@mailbox.tu-berlin.de>> wrote:

    Hi,

    I've been successful following the steps until "Benchmark
    Controller w/iperf".

    There, the first 'iperf' command works as one would expect.

    But after exiting and creating the switch in userspace via

        sudo mn --topo single,3 --mac --controller remote --switch user

    I'm stuck.

    The tutorial doesn't state anything about adding flows or
    proceeding as before.
    So I tried 'iperf' right after creating the mininet topology as above.
    And obviously, since no flows have been created, this happens:

        mininet> iperf
        *** Iperf: testing TCP bandwidth between h1 and h3
        Waiting for iperf to start up...Waiting for iperf to start
    up...Waiting for iperf to start up...Waiting for iperf to start
    up...Waiting for iperf to start up...Waiting for iperf to start
    up... ...

    you get the idea.
    But running
        controller ptcp:
    in a console prior to this doesn't help, either ( the same outputs
    result on running iperf).

    Also,

        $ sudo controller ptcp:6634
        Sep 07 22:26:30|00001|vconn_tcp|ERR|ptcp:6634: bind: Address
    already in use
        Sep 07 22:26:30|00002|controller|ERR|ptcp:6634: connect:
    Address already in use
        controller: no active or passive switch connections

    and the same happens with port-number 6635, for example.

    What am I supposed to do?
    I don't think the tutorial is clear enough, if not faulty.

    I'd be glad if somebody helped me...

    Regards
    Alex

    _______________________________________________
    openflow-discuss mailing list
    openflow-discuss@lists.stanford.edu
    <mailto:openflow-discuss@lists.stanford.edu>
    https://mailman.stanford.edu/mailman/listinfo/openflow-discuss



_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to