Changes between Version 5 and Version 6 of Tutorials/m0SDN/cTutorial2


Ignore:
Timestamp:
Mar 14, 2010, 11:53:30 PM (15 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/m0SDN/cTutorial2

    v5 v6  
    8484}}}
    8585
    86 == ASIDE: TESTS for connectivity ==
    87 
    88 In case your expirement is failing, here are a few sanity checks.
    89 
    90 === The SNAC controller Web interface ===
    91 
    92  Assuming your flowvisor is passing along high priority traffic to snac,  the this:[[BR]]
    93 [[Image(snac.jpg)]]
    94 
    95 === Inter-node traffic ===
    96 
    97 Once the data interfaces are brought up on each of the 4 nodes, they should be discovered by SNAC. Assuming we place them all in the same IP subnet, it should be possible to ping each node from every other node. A simple test can be done as follows:
    98 {{{
    99 for node1-i:
    100 
    101 ssh root@node1-i
    102 ifconfig eth0 up
    103 ifconfig eth0 192.168.1.i
    104 ping 192.168.1.(i-1)
    105 
    106 where i runs from 1 to 4.
    107 }}}
    108 
    109 This should be done with independent sessions, as each session will start display traffic information. Once completed SNAC should report an increase in production  traffic, and 4 discovered hosts with the specified ips.
    110 
    111 === High Numbered port Test ===
    112 
    113 Start a fresh NOX controller instance on sb9 and enable packet dumps
    114 {{{
    115 root@console:/root/nox/build/src# ./nox_core -i ptcp:6635 switch packetdump
    116 }}}
    117 
    118 Attempt to connect to a high numbered port on a different node (using the Ip of the data interface):
    119 {{{
    120 root@node1-1:~# telnet 192.168.1.2 10001
    121 Trying 192.168.1.2...
    122 telnet: Unable to connect to remote host: Connection refused
    123 }}}
    124 
    125 If the traffic is split properly, your controller should register event similar to this:
    126 
    127 {{{
    128 [(Giga-Byte Technology Co.,LTD.):84:9b:30>(Giga-Byte Technology Co.,LTD.):83:a0:5c:IP]([v:4hl:5l:60t:64]TCP cs:8a65[192.168.1.1>192.168.1.2]){44653>10001} seq:3830918239 ack:0 f:0x2
    129 [(Giga-Byte Technology Co.,LTD.):83:a0:5c>(Giga-Byte Technology Co.,LTD.):84:9b:30:IP]([v:4hl:5l:40t:64]TCP cs:b76c[192.168.1.2>192.168.1.1]){10001>44653} seq:0 ack:3830918240 f:0x14
    130 }}}
    131 
    13286== The experimental Traffic ==
    13387
     
    218172}}}
    219173
    220 
     174== ASIDE: TESTS for connectivity ==
     175
     176In case your expirement is failing, here are a few sanity checks.
     177
     178=== The SNAC controller Web interface ===
     179
     180 Assuming your flowvisor is passing along high priority traffic to snac,  the this:[[BR]]
     181[[Image(snac.jpg)]]
     182
     183=== Inter-node traffic ===
     184
     185Once the data interfaces are brought up on each of the 4 nodes, they should be discovered by SNAC. Assuming we place them all in the same IP subnet, it should be possible to ping each node from every other node. A simple test can be done as follows:
     186{{{
     187for node1-i:
     188
     189ssh root@node1-i
     190ifconfig eth0 up
     191ifconfig eth0 192.168.1.i
     192ping 192.168.1.(i-1)
     193
     194where i runs from 1 to 4.
     195}}}
     196
     197This should be done with independent sessions, as each session will start display traffic information. Once completed SNAC should report an increase in production  traffic, and 4 discovered hosts with the specified ips.
     198
     199=== High Numbered port Test ===
     200
     201Start a fresh NOX controller instance on sb9 and enable packet dumps
     202{{{
     203root@console:/root/nox/build/src# ./nox_core -i ptcp:6635 switch packetdump
     204}}}
     205
     206Attempt to connect to a high numbered port on a different node (using the Ip of the data interface):
     207{{{
     208root@node1-1:~# telnet 192.168.1.2 10001
     209Trying 192.168.1.2...
     210telnet: Unable to connect to remote host: Connection refused
     211}}}
     212
     213If the traffic is split properly, your controller should register event similar to this:
     214
     215{{{
     216[(Giga-Byte Technology Co.,LTD.):84:9b:30>(Giga-Byte Technology Co.,LTD.):83:a0:5c:IP]([v:4hl:5l:60t:64]TCP cs:8a65[192.168.1.1>192.168.1.2]){44653>10001} seq:3830918239 ack:0 f:0x2
     217[(Giga-Byte Technology Co.,LTD.):83:a0:5c>(Giga-Byte Technology Co.,LTD.):84:9b:30:IP]([v:4hl:5l:40t:64]TCP cs:b76c[192.168.1.2>192.168.1.1]){10001>44653} seq:0 ack:3830918240 f:0x14
     218}}}