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 | | |
220 | | |
| 174 | == ASIDE: TESTS for connectivity == |
| 175 | |
| 176 | In 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 | |
| 185 | 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: |
| 186 | {{{ |
| 187 | for node1-i: |
| 188 | |
| 189 | ssh root@node1-i |
| 190 | ifconfig eth0 up |
| 191 | ifconfig eth0 192.168.1.i |
| 192 | ping 192.168.1.(i-1) |
| 193 | |
| 194 | where i runs from 1 to 4. |
| 195 | }}} |
| 196 | |
| 197 | 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. |
| 198 | |
| 199 | === High Numbered port Test === |
| 200 | |
| 201 | Start a fresh NOX controller instance on sb9 and enable packet dumps |
| 202 | {{{ |
| 203 | root@console:/root/nox/build/src# ./nox_core -i ptcp:6635 switch packetdump |
| 204 | }}} |
| 205 | |
| 206 | Attempt to connect to a high numbered port on a different node (using the Ip of the data interface): |
| 207 | {{{ |
| 208 | root@node1-1:~# telnet 192.168.1.2 10001 |
| 209 | Trying 192.168.1.2... |
| 210 | telnet: Unable to connect to remote host: Connection refused |
| 211 | }}} |
| 212 | |
| 213 | If 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 | }}} |