Hi,

I have two tp-link1043nd switches flashed with openflow and connected with
trunk.
I set up a floodlight controller with IP =192.168.100.1 and connect to one
of these two switches.
Topology: S1---C1---S2

The problem is :
Only one switch can connect to the controller at the same time. Once
another switch connect to the controller, the previous one will be
disconnected.
If I send the packet from the disconnected switch, the controller will miss
the packet....
In the controller, I only show the message and do not add any action. If
the topology only has one switch, it doesn't have this problem.

The following is the error message:

11:03:42.592 INFO [n.f.c.i.OFChannelHandler:New I/O server worker #2-4] New
switch connection from /192.168.100.1:60059
11:03:42.626 INFO [n.f.d.DebugCounter:New I/O server worker #2-4] Counter
exists for net.floodlightcontroller.core/00:00:00:23:20:98:43:3b --
resetting counters
11:03:42.627 INFO [n.f.d.DebugCounter:New I/O server worker #2-4] Counter
exists for net.floodlightcontroller.core/00:00:00:23:20:98:43:3b/pktin --
resetting counters
11:03:42.627 INFO [n.f.d.DebugCounter:New I/O server worker #2-4] Counter
exists for net.floodlightcontroller.core/00:00:00:23:20:98:43:3b/write --
resetting counters
11:03:42.627 INFO [n.f.d.DebugCounter:New I/O server worker #2-4] Counter
exists for
net.floodlightcontroller.core/00:00:00:23:20:98:43:3b/pktin/drops --
resetting counters
11:03:42.627 INFO [n.f.d.DebugCounter:New I/O server worker #2-4] Counter
exists for
net.floodlightcontroller.core/00:00:00:23:20:98:43:3b/write/drops --
resetting counters
11:03:42.627 INFO [n.f.c.i.OFChannelHandler:New I/O server worker #2-4]
Switch OFSwitchBase [/192.168.100.1:60059DPID[00:00:00:23:20:98:43:3b]]
bound to class class net.floodlightcontroller.core.internal.OFSwitchImpl,
writeThrottle=false, description Switch Desc - Vendor: Stanford University
 Model: Reference Userspace Switch  Make: OpenWrt pid=1724  Version: 1.0.0
 S/N: None
11:03:42.635 INFO [n.f.c.OFSwitchBase:New I/O server worker #2-4] Clearing
all flows on switch OFSwitchBase [/192.168.100.1:60059
DPID[00:00:00:23:20:98:43:3b]]
11:03:42.636 WARN [n.f.c.i.C.s.notification:main] *Switch
00:00:00:23:20:98:43:3b connected.*
11:03:42.673 WARN [n.f.l.i.L.s.notification:New I/O server worker #2-3]
Link added: Link [src=00:00:00:23:20:98:43:3b outPort=2,
dst=00:00:00:23:20:46:85:5b, inPort=2]
11:03:42.674 WARN [n.f.l.i.L.s.notification:New I/O server worker #2-3]
Link added: Link [src=00:00:00:23:20:46:85:5b outPort=2,
dst=00:00:00:23:20:98:43:3b, inPort=2]
11:03:42.675 WARN [n.f.l.i.L.s.notification:New I/O server worker #2-3]
Link added: Link [src=00:00:00:23:20:98:43:3b outPort=3,
dst=00:00:00:23:20:46:85:5b, inPort=3]
11:03:42.676 WARN [n.f.l.i.L.s.notification:New I/O server worker #2-3]
Link added: Link [src=00:00:00:23:20:46:85:5b outPort=3,
dst=00:00:00:23:20:98:43:3b, inPort=3]
11:03:42.677 WARN [n.f.l.i.L.s.notification:New I/O server worker #2-3]
Link added: Link [src=00:00:00:23:20:98:43:3b outPort=4,
dst=00:00:00:23:20:46:85:5b, inPort=4]
11:03:42.678 WARN [n.f.l.i.L.s.notification:New I/O server worker #2-3]
Link added: Link [src=00:00:00:23:20:46:85:5b outPort=4,
dst=00:00:00:23:20:98:43:3b, inPort=4]
*11:03:42.683 ERROR [n.f.c.i.OFChannelHandler:New I/O server worker #2-3]
Disconnecting switch OFSwitchBase [/192.168.100.1:58322
<http://192.168.100.1:58322/>DPID[00:00:00:23:20:46:85:5b]] due to IO
Error: Connection reset by peer*
11:03:42.684 INFO [n.f.c.i.OFChannelHandler:New I/O server worker #2-3]
Disconnected switch OFSwitchBase [/192.168.100.1:58322
DPID[00:00:00:23:20:46:85:5b]]
11:03:42.684 WARN [n.f.c.i.C.s.notification:main] *Switch
00:00:00:23:20:46:85:5b disconnected.*
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to