| 520 | |
| 521 | === Building the L2 Tunnel === |
| 522 | |
| 523 | ==== 2/15/10 ==== |
| 524 | |
| 525 | James guessed that maybe the tunneling code was rolled up into the 0.9.1 version of the NF2 driver. This was incorrect. |
| 526 | |
| 527 | Following the directions [#BuildingNF2 above], James rebuilt the nf2 drivers, and installed the updated module. We did not notice any changes in the open flow behavior. But the project directory for tunneling was missing. |
| 528 | |
| 529 | ==== 2/16/10 ==== |
| 530 | |
| 531 | The code for the netfpga to do tunneling is present. It includes a different bitfile and some diffrent startup scritps. They claim to be running off version 0.8.9 of somethig (I'm guessing the open flow code) |
| 532 | |
| 533 | The main script that needs to be modified is the of_setup_to_site1_and_site2.sh script. I've modified the script to reflect our setup: |
| 534 | |
| 535 | {{{ |
| 536 | ### Variable Setting |
| 537 | SRCIP1=192.168.200.87 #For nf2c1 Change accordingly. |
| 538 | #SRCIP2=192.168.100.50 #For nf2c2 Change accordingly. |
| 539 | SRCMAC1=00:4e:46:32:43:01 |
| 540 | #SRCMAC2=00:4e:46:32:43:02 |
| 541 | DSTIP1=10.50.0.62;# IP address of the tunneling target site 1 |
| 542 | #DSTIP2=12.13.14.15; # IP address of the tunneling target site 2 |
| 543 | # Your local Gateway MAC address |
| 544 | DSTMAC1=00:4E:46:32:43:01 |
| 545 | #DSTMAC2=00:d0:05:5d:24:02 |
| 546 | |
| 547 | TUNIF1=nf2c1 # The tunneling target site 1 |
| 548 | #TUNIF2=nf2c2 # The tunneling target site 2 |
| 549 | }}} |
| 550 | |
| 551 | Examining the rest of the script seems to require a setreg tool, that isn't installed as of yet. mono-devel claims is comes form the package mono-devel. |
| 552 | |
| 553 | |
| 554 | |
| 555 | |
| 556 | |
| 557 | |
| 558 | |