我正在进行无线负载平衡器测试,并使用Mininet-Wifi作为仿真器,使用POX作为控制器。我有一个问题,这会让我发疯。我用Mininet-Wifi创建一个简单的拓扑
mininet@mininet-vm:~$ sudo mn --wifi --topo single,5 --controller=remote
具有一个简单的负载均衡器组件的运行控制器之后
mininet@mininet-vm:~$ sudo ~/pox/pox.py log.level --DEBUG forwarding.l2_learning misc.ip_loadbalancer --ip=10.0.1.1 --servers=10.0.0.1,10.0.0.2
但是我遇到了类似的OpenFlow错误;
POX 0.5.0 (eel) / Copyright 2011-2014 James McCauley, et al.
DEBUG:core:POX 0.5.0 (eel) going up...
DEBUG:core:Running on CPython (2.7.6/Nov 13 2018 12:45:42)
DEBUG:core:Platform is Linux-4.2.0-42-generic-x86_64-with-Ubuntu-14.04-trusty
INFO:core:POX 0.5.0 (eel) is up.
DEBUG:openflow.of_01:Listening on 0.0.0.0:6633
INFO:openflow.of_01:[00-00-00-00-00-01|4096 2] connected
DEBUG:forwarding.l2_learning:Connection [00-00-00-00-00-01|4096 2]
INFO:iplb:IP Load Balancer Ready.
INFO:iplb:Load Balancing on [00-00-00-00-00-01|4096 2]
ERROR:openflow.of_01:[00-00-00-00-00-01|4096 2] OpenFlow Error:
[00-00-00-00-00-01|4096 2] Error: header:
[00-00-00-00-00-01|4096 2] Error: version: 1
[00-00-00-00-00-01|4096 2] Error: type: 1 (OFPT_ERROR)
[00-00-00-00-00-01|4096 2] Error: length: 28
[00-00-00-00-00-01|4096 2] Error: xid: 11
[00-00-00-00-00-01|4096 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01|4096 2] Error: code: OFPBRC_BUFFER_EMPTY (7)
[00-00-00-00-00-01|4096 2] Error: datalen: 16
[00-00-00-00-00-01|4096 2] Error: 0000: 01 0d 00 10 00 00 00 0b 00 00 01 00 00 01 00 00 |................|
ERROR:openflow.of_01:[00-00-00-00-00-01|4096 2] OpenFlow Error:
[00-00-00-00-00-01|4096 2] Error: header:
[00-00-00-00-00-01|4096 2] Error: version: 1
[00-00-00-00-00-01|4096 2] Error: type: 1 (OFPT_ERROR)
[00-00-00-00-00-01|4096 2] Error: length: 28
[00-00-00-00-00-01|4096 2] Error: xid: 13
[00-00-00-00-00-01|4096 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01|4096 2] Error: code: OFPBRC_BUFFER_EMPTY (7)
[00-00-00-00-00-01|4096 2] Error: datalen: 16
[00-00-00-00-00-01|4096 2] Error: 0000: 01 0d 00 10 00 00 00 0d 00 00 01 01 00 01 00 00 |................|
ERROR:openflow.of_01:[00-00-00-00-00-01|4096 2] OpenFlow Error:
[00-00-00-00-00-01|4096 2] Error: header:
[00-00-00-00-00-01|4096 2] Error: version: 1
[00-00-00-00-00-01|4096 2] Error: type: 1 (OFPT_ERROR)
[00-00-00-00-00-01|4096 2] Error: length: 28
[00-00-00-00-00-01|4096 2] Error: xid: 15
[00-00-00-00-00-01|4096 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01|4096 2] Error: code: OFPBRC_BUFFER_EMPTY (7)
[00-00-00-00-00-01|4096 2] Error: datalen: 16
[00-00-00-00-00-01|4096 2] Error: 0000: 01 0d 00 10 00 00 00 0f 00 00 01 02 00 01 00 00 |................|
ERROR:openflow.of_01:[00-00-00-00-00-01|4096 2] OpenFlow Error:
[00-00-00-00-00-01|4096 2] Error: header:
[00-00-00-00-00-01|4096 2] Error: version: 1
[00-00-00-00-00-01|4096 2] Error: type: 1 (OFPT_ERROR)
[00-00-00-00-00-01|4096 2] Error: length: 28
[00-00-00-00-00-01|4096 2] Error: xid: 17
[00-00-00-00-00-01|4096 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01|4096 2] Error: code: OFPBRC_BUFFER_EMPTY (7)
[00-00-00-00-00-01|4096 2] Error: datalen: 16
[00-00-00-00-00-01|4096 2] Error: 0000: 01 0d 00 10 00 00 00 11 00 00 01 03 00 01 00 00 |................|
ERROR:openflow.of_01:[00-00-00-00-00-01|4096 2] OpenFlow Error:
[00-00-00-00-00-01|4096 2] Error: header:
[00-00-00-00-00-01|4096 2] Error: version: 1
[00-00-00-00-00-01|4096 2] Error: type: 1 (OFPT_ERROR)
[00-00-00-00-00-01|4096 2] Error: length: 28
[00-00-00-00-00-01|4096 2] Error: xid: 19
[00-00-00-00-00-01|4096 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01|4096 2] Error: code: OFPBRC_BUFFER_EMPTY (7)
[00-00-00-00-00-01|4096 2] Error: datalen: 16
[00-00-00-00-00-01|4096 2] Error: 0000: 01 0d 00 10 00 00 00 13 00 00 01 04 00 01 00 00 |................|
DEBUG:forwarding.l2_learning:Port for 00:00:00:00:00:01 unknown -- flooding
INFO:iplb.00-00-00-00-00-01|4096:Server 10.0.0.2 up
DEBUG:forwarding.l2_learning:Port for 00:00:00:00:00:01 unknown -- flooding
INFO:iplb.00-00-00-00-00-01|4096:Server 10.0.0.1 up
Wireshark(2.6.5版)显示“尚未解析消息数据”。
有趣的是,负载均衡器组件可在小型网络拓扑上工作。运行时
mininet@mininet-vm:~$ sudo mn --topo single,5 --controller=remote
平衡器工作正常。
我一直在努力解决这个问题。我能做什么?我该如何解决这个问题?