Hi all!
We have created a topology with 2 switches connected to a single controller as shown below:
Network topology:
Controller
*
* *
* *
* *
-------------- ---------------
| Switch1 |----| Switch2 |
-------------- ---------------
| | | |
n1 n2 n3 n4
Source code for the same is attached below.
We have created normal traffic from n1 to n4. But switches are just broadcasting packets, i.e., the controller is not learning. A sample of output is given below:
UID is 1
Received packet from 00:00:00:00:00:03 looking for ff:ff:ff:ff:ff:ff
Creating Openflow buffer from packet.
Parsed EthernetHeader
Parsed ArpHeader
Matching against the flow table.
Flow not matched.
Sending packet to controller
Input Port ____0
UDPSRC_____0
Dest_____0
Is this a problem in the controller logic or do we need to modify our source code? Any kind of help will be much appreciated!
Regards
Aswanth P P