Dear GENI users,
I have a Northbound Networks Zodiac GX switch, which is OpenWrt Open vSwitch based, and a Ryu SDN controller (OpenFlow version 1.3).
I have looked at the tutorial PDF "Intro to OpenFlow Tutorial with Ryu Controller":
http://voip.netlab.uky.edu/grw2018ky/handout/Vicraj_SDN-Tutorial-Instructions.pdf
and tried to follow Step 2a. on the Zodiac GX switch with the command:
$ sudo ovs-vsctl add-br br0
Then I assumed that ethX is eth0.2, ethY is eth0.3 and ethZ is eth0.4, so I tried:
$ sudo ifconfig eth0.2 0
$ sudo ifconfig eth0.3 0
$ sudo ifconfig eth0.4 0
However, then I tried the following which gave me an error:
$ sudo ovs-vsctl add-port br0 eth0.2
ovs-vsctl: cannot create a port named eth0.2 because a port named eth0.2 already exists on bridge ovslan
I note that there is an interface eth0, but no interface eth1, eth2 etc.
Is eth0 a physical interface, whereas eth0.n (n = 1, 2, 3, 4, 5) represent VLANs?
Do I need to create eth1, eth2 etc., to associate ethN with physical port N (N = 1, 2, 3, 4, 5) ?
I think I can see how to associate IP addresses, netmasks etc. with interfaces, e.g. using ifconfig, but do I need to associate interfaces with physical ports, e.g. via MAC addresses?
Initially, I wanted to bridge or mirror Layer 2 traffic between the physical ports. Then, perhaps I can try to some similar experiments at the IP Layer.
Can I configure the OpenFlow connection to the SDN controller (Ryu) using:
$ sudo ovs-vsctl set-controller br0 tcp:<controller_ip>:6633
Can you suggest how I can configure the OpenFlow v.1.3 connection between Ryu and the Zodiac GX?
Can I configure the OpenFlow v.1.3 connection using plain TCP, that is without TLS?
Thanks for your reply.
Kind regards,
Ed