Changes between Version 8 and Version 9 of Tutorials/m0SDN/cTutorial2


Ignore:
Timestamp:
Mar 15, 2010, 3:11:57 AM (14 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/m0SDN/cTutorial2

    v8 v9  
    7070}}}
    7171
    72 This setup of flowvisor will split along IP port boundaries. If we want to direct more traffic to the experiment, we simply manipulate the flow rules.
     72This setup of flowvisor will split along IP port boundaries. If we want to direct more traffic to the experiment, we simply manipulate the flow rules. To start the actual controller in user:
     73{{{
     74user@console.sb9:~$ /opt/flowvisor-0.4/flowvisor ptcp:6633
     75Mar 14 22:57:08|00001|rconn|WARN|tcp:localhost:6635: connecting...
     76Mar 14 22:57:08|00002|rconn|WARN|tcp:localhost:6635: connection failed (Connection refused)
     77Mar 14 22:57:08|00003|rconn|WARN|tcp:localhost:6635: connection dropped (Connection refused)
     78}}}
     79
     80You might notice some connection failures for port 6635, since the controller isn't running yet.
     81
     82
    7383
    7484=== Production: SNAC - IP port 6634 ===
     
    90100Our experiment setup is as follows (refer to diagram above):
    91101
    92 Node1-1: Tracker 192.168.1.1:6969
    93 Node1-2: Seeder 192.168.1.2:10001-10005
    94 Node1-3: First downloader 192.168.1.3:10001-10005
    95 Node1-4: Second downloader (starts 1 Minute later to pull from multiple sources) 192.168.1.4:10001-10005
    96 
    97 A torrent file and data file were created on node1-1
     102 * Node1-1: Tracker 192.168.1.1:6969
     103 * Node1-2: Seeder 192.168.1.2:10001-10005
     104 * Node1-3: First downloader 192.168.1.3:10001-10005
     105 * Node1-4: Second downloader (starts 1 Minute later to pull from multiple sources) 192.168.1.4:10001-10005
     106
     107A torrent file and data file were created on node1-1 and the respective components moved to each node using the control interface.
    98108{{{
    99109root@node1-1:~# dd if=/dev/zero of=./data.mp3 bs=100MB count=1
     
    108118{{{
    109119root@node1-1:~# bttrack --port 6969 --dfile tracker.log
    110 192.168.1.4 - - [14/Mar/2010:19:44:46] "GET /announce?info_hash=%7Es%D0%B1%03%E5%02%BA%B6c_%7D%D6%DB%E1%A9%F5%CD%BC%DE&peer_id=M3-4-2--7f9e2d5669d8&port=10001&key=8a1ab764&uploaded=0&downloaded=0&left=1000000000&compact=1&event=started HTTP/1.1" 200 33 "-" "Python-urllib/2.6"
    111 192.168.1.4 - - [14/Mar/2010:19:44:47] "GET /announce?info_hash=%7Es%D0%B1%03%E5%02%BA%B6c_%7D%D6%DB%E1%A9%F5%CD%BC%DE&peer_id=M3-4-2--7f9e2d5669d8&port=10001&key=8a1ab764&uploaded=0&downloaded=0&left=1000000000&compact=1&event=stopped HTTP/1.1" 200 33 "-" "Python-urllib/2.6"
     120192.168.1.4 - - [14/Mar/2010:19:44:46] "GET /announce?info_hash=%7Es%D0%B1%03%E5%02%BA%B6c_%7D%D6%DB%E1%A9%F5%CD%BC%DE&peer_id=M3-4-2--
     1217f9e2d5669d8&port=10001&key=8a1ab764&uploaded=0&downloaded=0&left=1000000000&compact=1&event=started HTTP/1.1" 200 33 "-" "Python-urllib/2.6"
     122192.168.1.4 - - [14/Mar/2010:19:44:47] "GET /announce?info_hash=%7Es%D0%B1%03%E5%02%BA%B6c_%7D%D6%DB%E1%A9%F5%CD%BC%DE&peer_id=M3-4-2--
     1237f9e2d5669d8&port=10001&key=8a1ab764&uploaded=0&downloaded=0&left=1000000000&compact=1&event=stopped HTTP/1.1" 200 33 "-" "Python-urllib/2.6"
    112124...
    113125}}}