Zodiac FX Switch and Mininet Controller

  • 10 Replies
  • 3495 Views
*

new1111

  • Newbie
  • *
  • 7
    • View Profile
Zodiac FX Switch and Mininet Controller
« on: June 10, 2017, 04:00:19 AM »
I received one Zodiac FX this week, but despite endless efforts until yet got trouble to have it (OpenFlow)-connected to Mininet. Has anyone managed to get it running with Mininet POX or other controllers?

I can ping from mininet to the zodiac switch. so IP connection is there (source IP 10.0.2.15).

mininet@mininet-vm:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:0b:c7:b2
          inet addr:192.168.56.102  Bcast:192.168.56.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:61233 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63739 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14248242 (14.2 MB)  TX bytes:36101131 (36.1 MB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:4f:6b:52
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34860 (34.8 KB)  TX bytes:35218 (35.2 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:89528 errors:0 dropped:0 overruns:0 frame:0
          TX packets:89528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:38980856 (38.9 MB)  TX bytes:38980856 (38.9 MB)


Zodiac shows status disconnected!

Zodiac_FX(openflow)# show status
-------------------------------------------------------------------------
 Status: Disconnected

Zodiac_FX(config)# show config

-------------------------------------------------------------------------
Configuration
 Name: Zodiac_FX
 MAC Address: 70:B3:D5:6C:D5:E5
 IP Address: 10.0.1.99
 Netmask: 255.255.255.0
 Gateway: 10.0.1.1
 OpenFlow Controller: 10.0.2.15
 OpenFlow Port: 6633
 Openflow Status: Enabled
 Failstate: Secure
 Force OpenFlow version: Disabled
 Stacking Select: MASTER
 Stacking Select: Disabled


Any help is much appreciated.

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 370
    • View Profile
    • Northbound Networks
Re: Zodiac FX Switch and Mininet Controller
« Reply #1 on: June 13, 2017, 09:23:03 AM »
Hi,

Mininet is a OpenFlow switch simulator, not a controller. There is a good tutorial here that should help get you started.

Regards,
Paul

*

new1111

  • Newbie
  • *
  • 7
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #2 on: June 14, 2017, 05:29:26 AM »
Hi,

Mininet is a OpenFlow switch simulator, not a controller. There is a good tutorial here that should help get you started.

Regards,
Paul
Hi Paul,

I don´t have debian/linux PC machine, but a Windows/Virtualbox VM/Mininet. I can start POX with the similar command as shown in the article:
$sudo ~/pox/pox.py openflow.of_01 –address 10.0.2.15 –port 6633

But the Zodiac appears not able to connect to the POX controller.

Zodiac_FX# openflow
Zodiac_FX(openflow)# show status

-------------------------------------------------------------------------
 Status: Disconnected
-------------------------------------------------------------------------

I can ping from Mininet CLI to Zodiac switch. Telnet to 10.0.1.99:6634 works too.

can Zodiac Switch only work on Debian PC or can it work on Mininet as well?

Thanks

Rgds


*

Anthonyova

  • Newbie
  • *
  • 1
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #3 on: September 24, 2017, 06:15:48 AM »
I received one Zodiac FX this week, but despite endless efforts until yet got trouble to have it (OpenFlow)-connected to Mininet. Has anyone managed to get it running with Mininet POX or other controllers?

I can ping from mininet to the zodiac switch. so IP connection is there (source IP 10.0.2.15).

mininet@mininet-vm:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:0b:c7:b2
          inet addr:192.168.56.102  Bcast:192.168.56.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:61233 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63739 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14248242 (14.2 MB)  TX bytes:36101131 (36.1 MB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:4f:6b:52
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34860 (34.8 KB)  TX bytes:35218 (35.2 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:89528 errors:0 dropped:0 overruns:0 frame:0
          TX packets:89528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:38980856 (38.9 MB)  TX bytes:38980856 (38.9 MB)


Zodiac shows status disconnected!

Zodiac_FX(openflow)# show status
-------------------------------------------------------------------------
 Status: Disconnected

Zodiac_FX(config)# show config

-------------------------------------------------------------------------
Configuration
 Name: Zodiac_FX
 MAC Address: 70:B3:D5:6C:D5:E5
 IP Address: 10.0.1.99
 Netmask: 255.255.255.0
 Gateway: 10.0.1.1
 OpenFlow Controller: 10.0.2.15
 OpenFlow Port: 6633
 Openflow Status: Enabled
 Failstate: Secure
 Force OpenFlow version: Disabled
 Stacking Select: MASTER
 Stacking Select: Disabled


Any help is much appreciated.


Hi ,

I have that same problem and will be very helpful if you can say me what did you do to resolve it

*

new1111

  • Newbie
  • *
  • 7
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #4 on: October 28, 2017, 11:43:35 PM »
it works great with opendaylight controller. now I need to find out how to install or delete flows on zodiac. anyone knows how?

*

cyber

  • Newbie
  • *
  • 3
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #5 on: November 21, 2017, 10:17:43 AM »
it works great with opendaylight controller. now I need to find out how to install or delete flows on zodiac. anyone knows how?
Do  u recommend Opendaylight controller as best for Zodiac FX? what about Ryu controller?

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 370
    • View Profile
    • Northbound Networks
Re: Zodiac FX Switch and Mininet Controller
« Reply #6 on: November 21, 2017, 07:27:09 PM »
RYU is the OpenFlow controller that I normally recommend because it is really stable, in active development and easy to write applications for.

Regards,
Paul

*

new1111

  • Newbie
  • *
  • 7
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #7 on: November 27, 2017, 03:40:05 AM »
Quote
Do  u recommend Opendaylight controller as best for Zodiac FX? what about Ryu controller?
I work with ODL only.

*

new1111

  • Newbie
  • *
  • 7
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #8 on: November 27, 2017, 03:47:20 AM »
RYU is the OpenFlow controller that I normally recommend because it is really stable, in active development and easy to write applications for.

Regards,
Paul
Paul, I read zodiac fx supports openflow 1.0, 1.3 and 1.4, but how can I bring the zodiac to run 1.4?
in config mode, I have the choice of 1 (auto), 1 (of 1.0) or 4 (of 1.3)

set of-version <version(0|1|4)>

thanks

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 370
    • View Profile
    • Northbound Networks
Re: Zodiac FX Switch and Mininet Controller
« Reply #9 on: November 27, 2017, 03:59:38 PM »
Hi,

The Zodiac FX currently support OpenFlow 1.0 & 1.3. We were going to do v1.4 also but most people said v1.3 was enough so we we didn't do it. Where did you read v1.4 and I'll update it?

Regards,
Paul

*

new1111

  • Newbie
  • *
  • 7
    • View Profile
Re: Zodiac FX Switch and Mininet Controller
« Reply #10 on: November 28, 2017, 05:57:50 AM »
Hi,

The Zodiac FX currently support OpenFlow 1.0 & 1.3. We were going to do v1.4 also but most people said v1.3 was enough so we we didn't do it. Where did you read v1.4 and I'll update it?

Regards,
Paul
Hi Paul, it is stated here:

https://northboundnetworks.com/pages/zodiac-fx-the-world-s-smallest-most-affordable-openflow-sdn-switch-is-now-on-kickstarter

but I just notice the zodiac fx user guide only mentions 1.0 and 1.3. I really don´t need 1.4 at the moment though. The zodiac can´t autonegotiate openflow version with opendaylight controller. After I set zodiac to 1.0, all look good.  I also notice I can´t access the web interface, the user guide is a bit unclear in this regard. Is it because my zodiac runs firmware 0.70, should I update it to 0.80? and where can I find the code?

Please assist

Thanks
« Last Edit: November 28, 2017, 05:59:34 AM by new1111 »