Interconnection of Mininet-WiFi to ONOS Controller
xuankeyu opened this issue · 27 comments
Dear all,
I don't know if anyone can help me to fix this problem, but if you have idea on it, i am glad to discuss with you.
The problem is i want to use ONOS Controller as my remote controller. When i use this command to create a simple topology with onos controller:
$ sudo mn --wifi --topo linear,4 --controller remote,ip=127.0.0.1 --switch ovs,protocols=OpenFlow14
it shows that i can connect the switch to remote controller, but if i pingall, it shows that 100% dropped. And nothing shows up on ONOS GUI.
However if use such command to create a topology:
$ sudo mn --topo linear,4 --controller remote,ip=127.0.0.1 --switch ovs,protocols=OpenFlow14
It successfully connect to the remote controller, if i pingall, it shows that 0% dropped. And the topology shows up on ONOS GUI.
I have no idea why such situation happend and how to fix it. Please give me some advice if you know something about it. Thanks a lot.
BW
Keyu
Dear Ms.Fontes,
Thanks for your prompt replay.
According to you suggestions, i think i should change 2 things. First i should delete --switch ovs,protocols=OpenFlow14 in command, then only keeps:
$ sudo mn --wifi --topo linear,4 --controller remote,ip=127.0.0.1
And second i should disable NetworkManager to make sure that stations can associate with Access point. Is that correct?
BW
Keyu
According to you suggestions, i think i should change 2 things. First i should delete --switch ovs,protocols=OpenFlow14
OpenFlow will be used by default - you are only setting the version you want to work on.
And second i should disable NetworkManager to make sure that stations can associate with Access point. Is that corre
This is the first step. As I said, please make sure that stations are associated with APs and run it in verbose mode if necessary
What about associations??
You are pinging to localhost! :( where is the information about the associations??
Dear Ms.Fontes,
I'm sorry that i am rookie on this. Where i can find information about associations or how can i find it?
Dear Ms.Fontes,
I am sorry for disturbing you so late, i am now reading your e-book and follow the steps from it. And i get a problem: once i disconnect the sta1 from ap1, i cannot connect them again by using:
sta1 iw dev sta1-wlan0 connect new-ssid
Let me explain it in detail. First i create the simplest topology and i check the association between sta1 and ap1, then i disconnect sta1 from ap1 and check association again. It shows that they do disconnected. And i want to connect them again and check the association with command:
mininet-wifi> sta1 iw dev sta1-wlan0 connect new-ssid
mininet-wifi> sta1 iw dev sta1-wlan0 link
It shows they are not connected.
I tried many times but it always likes this. I am really confused with this. Could you please tell me why this happend?
What if you run the iw
command in debug mode? You can also perform a network scanning. Unfortunately, you provided no information that may help me to comprehend what is going wrong.
Dear Ms.Fontes, I am sorry for disturbing you so late, i am now reading your e-book and follow the steps from it. And i get a problem: once i disconnect the sta1 from ap1, i cannot connect them again by using:
sta1 iw dev sta1-wlan0 connect new-ssid
Let me explain it in detail. First i create the simplest topology and i check the association between sta1 and ap1, then i disconnect sta1 from ap1 and check association again. It shows that they do disconnected. And i want to connect them again and check the association with command:
mininet-wifi> sta1 iw dev sta1-wlan0 connect new-ssid mininet-wifi> sta1 iw dev sta1-wlan0 link
It shows they are not connected. I tried many times but it always likes this. I am really confused with this. Could you please tell me why this happend?
Dear Ms.Fontes,
i have found the reasons. I should connect my-ssid instead of new-ssid. And it also needs a couple of seconds to process. then the link information will show up again
What about associations??
Dear Ms.Fontes,
I want to be back to my original question. I stopped NetworkManager and check the association. The result is they are associated correctly, which means sta1 associate with ap1, sta2 associate with ap2 and so on.( the screenshot is the result by mininet-wifi> sta1 iw dev sta1-wlan0 scan
).
But i can still not connect such network to ONOS Controller. I am really confused, could you please help to find the reason?
Thanks so much.
BW
Keyu
Did you set ONOS as remote controller?? This seems a tcp/ip issue.
Dear Ms.Fontes,
i am sure that i have set ONOS as remote controller. The reason is when i use ONOS to control a Mininet network sudo mn --topo linear,4 --controller remote,ip=127.0.0.1 --switch ovs,protocols=OpenFlow14
, it works well. But if i just add --wifi
in the command, it cannot work.
Like you said, i also checked the ip. This screenshot is the last line when i run ONOS controller. It shows that ONOS works on ip:127.0.0.1
And then i set up a topology with remote controller on 127.0.0.1
Nothing shows up in ONOS GUI with ip 127.0.0.1:
The reason is when i use ONOS to control a Mininet network sudo mn --topo linear,4 --controller remote,ip=127.0.0.1 --switch ovs,protocols=OpenFlow14, it works well
You can see nodes through the GUI because there are ethernet links among aps
Nothing shows up in ONOS GUI with ip 127.0.0.1:
This doesn't mean that the AP is not connected to ONOS. Since in-going and out-going interfaces are the same you may not notice that node through the GUI. You should confirm the connection between AP and Controller via OVS utilities! This is a issue that has already been widely discussed on the mailing list.
Dear Ms.Fontes,
I tried pingall, it said 100% dropped and then i checked the association between each station and access point, the result is they are associated perfect. So in my opinion, the error can only occur between AP and ONOS.
I tried pingall, it said 100% dropped and then i checked the association between each station and access point. So in my opinion, the error can only occur between AP and ONOS.
I don't think so. ONOS has no influence on the simple topology. In other words, ONOS will not influence anything! If there is no association between ap and sta you have to run the command in debug level and see what is going wrong.
Dear Ms.Fontes,
But it has associations between APs and stations...
How can I reproduce the issue??
Dear Ms.Fontes,
use bazel to install an ONOS controller. And run it by following such step1 and step2 in (Running ONOS and Mininet separately (Succeeded!))[https://ernie55ernie.github.io/sdn/2020/07/21/setting-up-onos-controller-with-mininet.html]. Then typ sudo mn --wifi --topo linear,4 --controller remote,ip=127.0.0.1 --switch ovs,protocols=OpenFlow14
in another terminal. At last, try pingall.
Which OpenFlow version are you using with miniedit?? Did you run both (code from miniedit and the command line) in debug level???
Dear Ms.Fontes,
I tried OpenFlow 1.0 and 1.3, both of them works well.
No, but how to run both in debug level?
I tried OpenFlow 1.0 and 1.3, both of them works well.
So, isn't the problem the OpenFlow version you are using?? ;/
No, but how to run both in debug level?
Dear Ms.Fontes,
I don't think it is an OpenFlow version issue, because i have tried version 1.0, 1.1, 1.2, 1.3 and 1.4. None of them work. But i tried them on my now topology which directly run on Miniedit, All of them can work.
Here is my attmpt to dubug:
xuan@for1788:~/soft/onos/mininet-wifi/examples$ sudo mn --wifi -v debug --topo linear,4 --switch ovs,protocols=OpenFlow14 --controller remote,ip=127.0.0.1
*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
8
0*** Setting resource limits
*** Adding stations:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ip', 'addr']
/usr/sbin/ip
1_popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta1'] 159964*** sta1 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta1 _popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta2'] 159966*** sta2 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta2 _popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta3'] 159968*** sta3 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta3 _popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta4'] 159970*** sta4 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta4
*** Adding access points:
*** errRun: ['which', 'ovs-vsctl']
/usr/bin/ovs-vsctl
0*** errRun: ['ovs-vsctl', '-t', '1', 'show']
ed3bbcef-7eb7-4ffd-9003-08fb3e86cafc
ovs_version: "2.17.9"
0*** errRun: ['ovs-vsctl', '--version']
ovs-vsctl (Open vSwitch) 2.17.9
DB Schema 8.3.0
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:ap1'] 159975*** ap1 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
added intf lo (0) to node ap1
*** ap1 : ('ifconfig', 'lo', 'up')
ap1 _popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:ap2'] 159980*** ap2 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
added intf lo (0) to node ap2
*** ap2 : ('ifconfig', 'lo', 'up')
ap2 _popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:ap3'] 159987*** ap3 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
added intf lo (0) to node ap3
*** ap3 : ('ifconfig', 'lo', 'up')
ap3 _popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:ap4'] 159995*** ap4 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
added intf lo (0) to node ap4
*** ap4 : ('ifconfig', 'lo', 'up')
ap4
*** Configuring nodes...
Loading 8 virtual wifi interfaces
Created mac80211_hwsim device with ID 0
Created mac80211_hwsim device with ID 1
Created mac80211_hwsim device with ID 2
Created mac80211_hwsim device with ID 3
Created mac80211_hwsim device with ID 4
Created mac80211_hwsim device with ID 5
Created mac80211_hwsim device with ID 6
Created mac80211_hwsim device with ID 7
rfkill unblock 171
*** sta1 : ('ip link set wlan0 down',)
*** sta1 : ('ip link set wlan0 name sta1-wlan0',)
rfkill unblock 172
*** sta2 : ('ip link set wlan1 down',)
*** sta2 : ('ip link set wlan1 name sta2-wlan0',)
rfkill unblock 173
*** sta3 : ('ip link set wlan2 down',)
*** sta3 : ('ip link set wlan2 name sta3-wlan0',)
rfkill unblock 174
*** sta4 : ('ip link set wlan3 down',)
*** sta4 : ('ip link set wlan3 name sta4-wlan0',)
*** ap1 : ('ip link set wlan4 down',)
*** ap1 : ('ip link set wlan4 name ap1-wlan1',)
*** ap1 : ('ip link set ap1-wlan1 up',)
*** ap2 : ('ip link set wlan5 down',)
*** ap2 : ('ip link set wlan5 name ap2-wlan1',)
*** ap2 : ('ip link set ap2-wlan1 up',)
*** ap3 : ('ip link set wlan6 down',)
*** ap3 : ('ip link set wlan6 name ap3-wlan1',)
*** ap3 : ('ip link set ap3-wlan1 up',)
*** ap4 : ('ip link set wlan7 down',)
*** ap4 : ('ip link set wlan7 name ap4-wlan1',)
*** ap4 : ('ip link set ap4-wlan1 up',)
added intf sta1-wlan0 (0) to node sta1
getting mac address from sta1-wlan0
_popen ['mnexec', '-da', '159964', 'ip', 'addr', 'show', 'sta1-wlan0'] 160183
02:00:00:00:00:00*** sta1 : ('ip addr flush ', 'sta1-wlan0')
*** sta1 : ('ip addr add 10.0.0.1/8 brd + dev sta1-wlan0 && ip -6 addr add 2001:0:0:0:0:0:0:1/64 dev sta1-wlan0',)
*** sta1 : ('ip -6 addr flush ', 'sta1-wlan0')
*** sta1 : ('ip -6 addr add', '2001:0:0:0:0:0:0:1/64', 'dev', 'sta1-wlan0')
*** sta1 : ('ip link set lo up',)
added intf sta2-wlan0 (0) to node sta2
getting mac address from sta2-wlan0
_popen ['mnexec', '-da', '159966', 'ip', 'addr', 'show', 'sta2-wlan0'] 160190
02:00:00:00:01:00*** sta2 : ('ip addr flush ', 'sta2-wlan0')
*** sta2 : ('ip addr add 10.0.0.2/8 brd + dev sta2-wlan0 && ip -6 addr add 2001:0:0:0:0:0:0:2/64 dev sta2-wlan0',)
*** sta2 : ('ip -6 addr flush ', 'sta2-wlan0')
*** sta2 : ('ip -6 addr add', '2001:0:0:0:0:0:0:2/64', 'dev', 'sta2-wlan0')
*** sta2 : ('ip link set lo up',)
added intf sta3-wlan0 (0) to node sta3
getting mac address from sta3-wlan0
_popen ['mnexec', '-da', '159968', 'ip', 'addr', 'show', 'sta3-wlan0'] 160197
02:00:00:00:02:00*** sta3 : ('ip addr flush ', 'sta3-wlan0')
*** sta3 : ('ip addr add 10.0.0.3/8 brd + dev sta3-wlan0 && ip -6 addr add 2001:0:0:0:0:0:0:3/64 dev sta3-wlan0',)
*** sta3 : ('ip -6 addr flush ', 'sta3-wlan0')
*** sta3 : ('ip -6 addr add', '2001:0:0:0:0:0:0:3/64', 'dev', 'sta3-wlan0')
*** sta3 : ('ip link set lo up',)
added intf sta4-wlan0 (0) to node sta4
getting mac address from sta4-wlan0
_popen ['mnexec', '-da', '159970', 'ip', 'addr', 'show', 'sta4-wlan0'] 160204
02:00:00:00:03:00*** sta4 : ('ip addr flush ', 'sta4-wlan0')
*** sta4 : ('ip addr add 10.0.0.4/8 brd + dev sta4-wlan0 && ip -6 addr add 2001:0:0:0:0:0:0:4/64 dev sta4-wlan0',)
*** sta4 : ('ip -6 addr flush ', 'sta4-wlan0')
*** sta4 : ('ip -6 addr add', '2001:0:0:0:0:0:0:4/64', 'dev', 'sta4-wlan0')
*** sta4 : ('ip link set lo up',)
added intf ap1-wlan1 (1) to node ap1
*** ap1 : ('ip link set', 'ap1-wlan1', 'up')
*** ap1 : ('ethtool -K', <WirelessLink ap1-wlan1>, 'gro', 'off')
getting mac address from ap1-wlan1
_popen ['mnexec', '-da', '159975', 'ip', 'addr', 'show', 'ap1-wlan1'] 160213
02:00:00:00:04:00*** ap1 : ('ip link set', 'ap1-wlan1', 'down')
*** ap1 : ('ip link set', 'ap1-wlan1', 'address', '02:00:00:00:04:00')
*** ap1 : ('ip link set', 'ap1-wlan1', 'up')
added intf ap2-wlan1 (1) to node ap2
*** ap2 : ('ip link set', 'ap2-wlan1', 'up')
*** ap2 : ('ethtool -K', <WirelessLink ap2-wlan1>, 'gro', 'off')
getting mac address from ap2-wlan1
_popen ['mnexec', '-da', '159980', 'ip', 'addr', 'show', 'ap2-wlan1'] 160226
02:00:00:00:05:00*** ap2 : ('ip link set', 'ap2-wlan1', 'down')
*** ap2 : ('ip link set', 'ap2-wlan1', 'address', '02:00:00:00:05:00')
*** ap2 : ('ip link set', 'ap2-wlan1', 'up')
added intf ap3-wlan1 (1) to node ap3
*** ap3 : ('ip link set', 'ap3-wlan1', 'up')
*** ap3 : ('ethtool -K', <WirelessLink ap3-wlan1>, 'gro', 'off')
getting mac address from ap3-wlan1
_popen ['mnexec', '-da', '159987', 'ip', 'addr', 'show', 'ap3-wlan1'] 160232
02:00:00:00:06:00*** ap3 : ('ip link set', 'ap3-wlan1', 'down')
*** ap3 : ('ip link set', 'ap3-wlan1', 'address', '02:00:00:00:06:00')
*** ap3 : ('ip link set', 'ap3-wlan1', 'up')
added intf ap4-wlan1 (1) to node ap4
*** ap4 : ('ip link set', 'ap4-wlan1', 'up')
*** ap4 : ('ethtool -K', <WirelessLink ap4-wlan1>, 'gro', 'off')
getting mac address from ap4-wlan1
_popen ['mnexec', '-da', '159995', 'ip', 'addr', 'show', 'ap4-wlan1'] 160238
02:00:00:00:07:00*** ap4 : ('ip link set', 'ap4-wlan1', 'down')
*** ap4 : ('ip link set', 'ap4-wlan1', 'address', '02:00:00:00:07:00')
*** ap4 : ('ip link set', 'ap4-wlan1', 'up')
*** ap1 : ("echo 'interface=ap1-wlan1\ndriver=nl80211\nssid=ssid_ap1\nwds_sta=1\nhw_mode=g\nchannel=1\nctrl_interface=/var/run/hostapd\nctrl_interface_group=0' > mn159953_ap1-wlan1.apconf",)
> > > > > > > *** ap1 : ('hostapd -B mn159953_ap1-wlan1.apconf ',)
ap1-wlan1: interface state UNINITIALIZED->ENABLED
ap1-wlan1: AP-ENABLED
*** ap1 : ('ip link set', 'ap1-wlan1', 'down')
*** ap1 : ('ip link set', 'ap1-wlan1', 'address', '02:00:00:00:04:00')
*** ap1 : ('ip link set', 'ap1-wlan1', 'up')
_popen ['mnexec', '-da', '159975', 'tc', 'qdisc', 'replace', 'dev', 'ap1-wlan1', 'root', 'handle', '2:', 'netem', 'rate', '54.0000mbit', 'latency', '1.00ms'] 160248*** ap1 : ('tc qdisc add dev ap1-wlan1 parent 2:1 handle 10: pfifo limit 1000',)
*** ap2 : ("echo 'interface=ap2-wlan1\ndriver=nl80211\nssid=ssid_ap2\nwds_sta=1\nhw_mode=g\nchannel=1\nctrl_interface=/var/run/hostapd\nctrl_interface_group=0' > mn159953_ap2-wlan1.apconf",)
> > > > > > > *** ap2 : ('hostapd -B mn159953_ap2-wlan1.apconf ',)
ap2-wlan1: interface state UNINITIALIZED->ENABLED
ap2-wlan1: AP-ENABLED
*** ap2 : ('ip link set', 'ap2-wlan1', 'down')
*** ap2 : ('ip link set', 'ap2-wlan1', 'address', '02:00:00:00:05:00')
*** ap2 : ('ip link set', 'ap2-wlan1', 'up')
_popen ['mnexec', '-da', '159980', 'tc', 'qdisc', 'replace', 'dev', 'ap2-wlan1', 'root', 'handle', '2:', 'netem', 'rate', '54.0000mbit', 'latency', '1.00ms'] 160256*** ap2 : ('tc qdisc add dev ap2-wlan1 parent 2:1 handle 10: pfifo limit 1000',)
*** ap3 : ("echo 'interface=ap3-wlan1\ndriver=nl80211\nssid=ssid_ap3\nwds_sta=1\nhw_mode=g\nchannel=1\nctrl_interface=/var/run/hostapd\nctrl_interface_group=0' > mn159953_ap3-wlan1.apconf",)
> > > > > > > *** ap3 : ('hostapd -B mn159953_ap3-wlan1.apconf ',)
ap3-wlan1: interface state UNINITIALIZED->ENABLED
ap3-wlan1: AP-ENABLED
*** ap3 : ('ip link set', 'ap3-wlan1', 'down')
*** ap3 : ('ip link set', 'ap3-wlan1', 'address', '02:00:00:00:06:00')
*** ap3 : ('ip link set', 'ap3-wlan1', 'up')
_popen ['mnexec', '-da', '159987', 'tc', 'qdisc', 'replace', 'dev', 'ap3-wlan1', 'root', 'handle', '2:', 'netem', 'rate', '54.0000mbit', 'latency', '1.00ms'] 160265*** ap3 : ('tc qdisc add dev ap3-wlan1 parent 2:1 handle 10: pfifo limit 1000',)
*** ap4 : ("echo 'interface=ap4-wlan1\ndriver=nl80211\nssid=ssid_ap4\nwds_sta=1\nhw_mode=g\nchannel=1\nctrl_interface=/var/run/hostapd\nctrl_interface_group=0' > mn159953_ap4-wlan1.apconf",)
> > > > > > > *** ap4 : ('hostapd -B mn159953_ap4-wlan1.apconf ',)
ap4-wlan1: interface state UNINITIALIZED->ENABLED
ap4-wlan1: AP-ENABLED
*** ap4 : ('ip link set', 'ap4-wlan1', 'down')
*** ap4 : ('ip link set', 'ap4-wlan1', 'address', '02:00:00:00:07:00')
*** ap4 : ('ip link set', 'ap4-wlan1', 'up')
_popen ['mnexec', '-da', '159995', 'tc', 'qdisc', 'replace', 'dev', 'ap4-wlan1', 'root', 'handle', '2:', 'netem', 'rate', '54.0000mbit', 'latency', '1.00ms'] 160274*** ap4 : ('tc qdisc add dev ap4-wlan1 parent 2:1 handle 10: pfifo limit 1000',)
*** sta1 : ('iw dev', 'sta1-wlan0 set txpower fixed 1400')
*** sta2 : ('iw dev', 'sta2-wlan0 set txpower fixed 1400')
*** sta3 : ('iw dev', 'sta3-wlan0 set txpower fixed 1400')
*** sta4 : ('iw dev', 'sta4-wlan0 set txpower fixed 1400')
*** ap1 : ('iw dev', 'ap1-wlan1 set txpower fixed 1400')
*** ap2 : ('iw dev', 'ap2-wlan1 set txpower fixed 1400')
*** ap3 : ('iw dev', 'ap3-wlan1 set txpower fixed 1400')
*** ap4 : ('iw dev', 'ap4-wlan1 set txpower fixed 1400')
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/usr/sbin/ifconfig
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:c0'] 160286*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** c0 : ('echo A | telnet -e A 127.0.0.1 6653',)
Telnet escape character is 'A'.
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is 'A'.
telnet> Connection closed.
Connecting to remote controller at 127.0.0.1:6653
*** Adding hosts:
*** Adding switches:
*** Adding links:
*** ap2 : ('ip link add name ap2-eth2 address 1a:2f:50:d4:22:ab type veth peer name ap1-eth2 address 5e:0f:87:1c:c4:f7 netns 159975',)
added intf ap2-eth2 (2) to node ap2
*** ap2 : ('ifconfig', 'ap2-eth2', 'up')
*** ap2 : ('ethtool -K', <TCIntf ap2-eth2>, 'gro', 'off', 'tx', 'on', 'rx', 'on')
Actual changes:
tx-checksum-ipv4: off [requested on]
tx-checksum-ipv6: off [requested on]
tx-checksum-fcoe-crc: off [requested on]
added intf ap1-eth2 (2) to node ap1
*** ap1 : ('ifconfig', 'ap1-eth2', 'up')
*** ap1 : ('ethtool -K', <TCIntf ap1-eth2>, 'gro', 'off', 'tx', 'on', 'rx', 'on')
Actual changes:
tx-checksum-ipv4: off [requested on]
tx-checksum-ipv6: off [requested on]
tx-checksum-fcoe-crc: off [requested on]
(ap2, ap1) *** ap3 : ('ip link add name ap3-eth2 address 76:ec:97:73:35:24 type veth peer name ap2-eth3 address 32:ac:d8:e3:67:73 netns 159980',)
added intf ap3-eth2 (2) to node ap3
*** ap3 : ('ifconfig', 'ap3-eth2', 'up')
*** ap3 : ('ethtool -K', <TCIntf ap3-eth2>, 'gro', 'off', 'tx', 'on', 'rx', 'on')
Actual changes:
tx-checksum-ipv4: off [requested on]
tx-checksum-ipv6: off [requested on]
tx-checksum-fcoe-crc: off [requested on]
added intf ap2-eth3 (3) to node ap2
*** ap2 : ('ifconfig', 'ap2-eth3', 'up')
*** ap2 : ('ethtool -K', <TCIntf ap2-eth3>, 'gro', 'off', 'tx', 'on', 'rx', 'on')
Actual changes:
tx-checksum-ipv4: off [requested on]
tx-checksum-ipv6: off [requested on]
tx-checksum-fcoe-crc: off [requested on]
(ap3, ap2) *** ap4 : ('ip link add name ap4-eth2 address d6:5b:76:a5:7c:d4 type veth peer name ap3-eth3 address 92:2b:52:b9:5d:83 netns 159987',)
added intf ap4-eth2 (2) to node ap4
*** ap4 : ('ifconfig', 'ap4-eth2', 'up')
*** ap4 : ('ethtool -K', <TCIntf ap4-eth2>, 'gro', 'off', 'tx', 'on', 'rx', 'on')
Actual changes:
tx-checksum-ipv4: off [requested on]
tx-checksum-ipv6: off [requested on]
tx-checksum-fcoe-crc: off [requested on]
added intf ap3-eth3 (3) to node ap3
*** ap3 : ('ifconfig', 'ap3-eth3', 'up')
*** ap3 : ('ethtool -K', <TCIntf ap3-eth3>, 'gro', 'off', 'tx', 'on', 'rx', 'on')
Actual changes:
tx-checksum-ipv4: off [requested on]
tx-checksum-ipv6: off [requested on]
tx-checksum-fcoe-crc: off [requested on]
(ap4, ap3)
added intf sta1-wlan0 (0) to node sta1
*** sta1 : ('ip link set', 'sta1-wlan0', 'up')
*** sta1 : ('ethtool -K', <WirelessLink sta1-wlan0>, 'gro', 'off')
*** executing command: tc qdisc show dev sta1-wlan0
*** sta1 : ('tc qdisc show dev sta1-wlan0',)
qdisc noqueue 0: root refcnt 2
at map stage w/cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
*** executing command: tc qdisc add dev sta1-wlan0 root handle 5:0 htb default 1
*** sta1 : ('tc qdisc add dev sta1-wlan0 root handle 5:0 htb default 1',)
*** executing command: tc class add dev sta1-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k
*** sta1 : ('tc class add dev sta1-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k',)
cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
outputs: ['', '']
_popen ['mnexec', '-da', '159964', 'iwconfig', 'sta1-wlan0', 'essid', 'ssid_ap1', 'ap', '02:00:00:00:04:00'] 160350(sta1, ap1)
added intf sta2-wlan0 (0) to node sta2
*** sta2 : ('ip link set', 'sta2-wlan0', 'up')
*** sta2 : ('ethtool -K', <WirelessLink sta2-wlan0>, 'gro', 'off')
*** executing command: tc qdisc show dev sta2-wlan0
*** sta2 : ('tc qdisc show dev sta2-wlan0',)
qdisc noqueue 0: root refcnt 2
at map stage w/cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
*** executing command: tc qdisc add dev sta2-wlan0 root handle 5:0 htb default 1
*** sta2 : ('tc qdisc add dev sta2-wlan0 root handle 5:0 htb default 1',)
*** executing command: tc class add dev sta2-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k
*** sta2 : ('tc class add dev sta2-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k',)
cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
outputs: ['', '']
_popen ['mnexec', '-da', '159966', 'iwconfig', 'sta2-wlan0', 'essid', 'ssid_ap2', 'ap', '02:00:00:00:05:00'] 160356(sta2, ap2)
added intf sta3-wlan0 (0) to node sta3
*** sta3 : ('ip link set', 'sta3-wlan0', 'up')
*** sta3 : ('ethtool -K', <WirelessLink sta3-wlan0>, 'gro', 'off')
*** executing command: tc qdisc show dev sta3-wlan0
*** sta3 : ('tc qdisc show dev sta3-wlan0',)
qdisc noqueue 0: root refcnt 2
at map stage w/cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
*** executing command: tc qdisc add dev sta3-wlan0 root handle 5:0 htb default 1
*** sta3 : ('tc qdisc add dev sta3-wlan0 root handle 5:0 htb default 1',)
*** executing command: tc class add dev sta3-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k
*** sta3 : ('tc class add dev sta3-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k',)
cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
outputs: ['', '']
_popen ['mnexec', '-da', '159968', 'iwconfig', 'sta3-wlan0', 'essid', 'ssid_ap3', 'ap', '02:00:00:00:06:00'] 160362(sta3, ap3)
added intf sta4-wlan0 (0) to node sta4
*** sta4 : ('ip link set', 'sta4-wlan0', 'up')
*** sta4 : ('ethtool -K', <WirelessLink sta4-wlan0>, 'gro', 'off')
*** executing command: tc qdisc show dev sta4-wlan0
*** sta4 : ('tc qdisc show dev sta4-wlan0',)
qdisc noqueue 0: root refcnt 2
at map stage w/cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
*** executing command: tc qdisc add dev sta4-wlan0 root handle 5:0 htb default 1
*** sta4 : ('tc qdisc add dev sta4-wlan0 root handle 5:0 htb default 1',)
*** executing command: tc class add dev sta4-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k
*** sta4 : ('tc class add dev sta4-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k',)
cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
outputs: ['', '']
_popen ['mnexec', '-da', '159970', 'iwconfig', 'sta4-wlan0', 'essid', 'ssid_ap4', 'ap', '02:00:00:00:07:00'] 160368(sta4, ap4)
*** Configuring nodes
added intf sta1-wlan0 (0) to node sta1
*** sta1 : ('ip link set', 'sta1-wlan0', 'up')
*** sta1 : ('ethtool -K', <WirelessLink sta1-wlan0>, 'gro', 'off')
added intf sta2-wlan0 (0) to node sta2
*** sta2 : ('ip link set', 'sta2-wlan0', 'up')
*** sta2 : ('ethtool -K', <WirelessLink sta2-wlan0>, 'gro', 'off')
added intf sta3-wlan0 (0) to node sta3
*** sta3 : ('ip link set', 'sta3-wlan0', 'up')
*** sta3 : ('ethtool -K', <WirelessLink sta3-wlan0>, 'gro', 'off')
added intf sta4-wlan0 (0) to node sta4
*** sta4 : ('ip link set', 'sta4-wlan0', 'up')
*** sta4 : ('ethtool -K', <WirelessLink sta4-wlan0>, 'gro', 'off')
*** Starting controller(s)
c0
*** Starting L2 nodes
ap1 ap2 ap3 ap4 ...*** errRun: ovs-vsctl -- --id=@ap1c0 create Controller target=\"tcp:127.0.0.1:6653\" max_backoff=1000 -- --id=@ap1-listen create Controller target=\"ptcp:6634\" max_backoff=1000 -- --if-exists del-br ap1 -- add-br ap1 -- set bridge ap1 controller=[@ap1c0,@ap1-listen] other_config:datapath-id=1000000000000001 fail_mode=secure other-config:disable-in-band=true other-config:dp-desc=ap1 -- add-port ap1 ap1-wlan1 -- set Interface ap1-wlan1 ofport_request=1 -- add-port ap1 ap1-eth2 -- set Interface ap1-eth2 ofport_request=2 -- --id=@ap2c0 create Controller target=\"tcp:127.0.0.1:6653\" max_backoff=1000 -- --id=@ap2-listen create Controller target=\"ptcp:6635\" max_backoff=1000 -- --if-exists del-br ap2 -- add-br ap2 -- set bridge ap2 controller=[@ap2c0,@ap2-listen] other_config:datapath-id=1000000000000002 fail_mode=secure other-config:disable-in-band=true other-config:dp-desc=ap2 -- add-port ap2 ap2-wlan1 -- set Interface ap2-wlan1 ofport_request=1 -- add-port ap2 ap2-eth2 -- set Interface ap2-eth2 ofport_request=2 -- add-port ap2 ap2-eth3 -- set Interface ap2-eth3 ofport_request=3 -- --id=@ap3c0 create Controller target=\"tcp:127.0.0.1:6653\" max_backoff=1000 -- --id=@ap3-listen create Controller target=\"ptcp:6636\" max_backoff=1000 -- --if-exists del-br ap3 -- add-br ap3 -- set bridge ap3 controller=[@ap3c0,@ap3-listen] other_config:datapath-id=1000000000000003 fail_mode=secure other-config:disable-in-band=true other-config:dp-desc=ap3 -- add-port ap3 ap3-wlan1 -- set Interface ap3-wlan1 ofport_request=1 -- add-port ap3 ap3-eth2 -- set Interface ap3-eth2 ofport_request=2 -- add-port ap3 ap3-eth3 -- set Interface ap3-eth3 ofport_request=3 -- --id=@ap4c0 create Controller target=\"tcp:127.0.0.1:6653\" max_backoff=1000 -- --id=@ap4-listen create Controller target=\"ptcp:6637\" max_backoff=1000 -- --if-exists del-br ap4 -- add-br ap4 -- set bridge ap4 controller=[@ap4c0,@ap4-listen] other_config:datapath-id=1000000000000004 fail_mode=secure other-config:disable-in-band=true other-config:dp-desc=ap4 -- add-port ap4 ap4-wlan1 -- set Interface ap4-wlan1 ofport_request=1 -- add-port ap4 ap4-eth2 -- set Interface ap4-eth2 ofport_request=2
f385cfff-e32e-46c4-8e2e-9beb7b0162cf
aada0f89-d05f-42a8-88c6-c6873465955d
caa39174-f007-402f-adf2-15e65b0a506d
b06e681a-1524-4718-b35e-6d2c364de86e
db6ab4dd-048f-4bc5-813c-46433123de82
beee98da-58b1-457a-9e98-5d70bb03aba4
07f1adb5-afd0-470d-b784-11a2c488361d
a58136d4-9b43-4258-8518-aac0738e09b6
0
*** Starting CLI:
*** errRun: ['stty', 'echo', 'sane', 'intr', '^C']
Dear Mr.Fontes,
I fixed it by using docker to install ONOS controller. Now i can see my topology on Web GUI. But i don't know why.
BW
Keyu