On May 4, 2013, at 3:50 AM, Shabbir Ahmed wrote:
> root@OpenWrt:~# /etc/init.d/openflow start
> eth0.0,eth0.1,eth0.2,eth0.3,
> Configuring OpenFlow switch for inband control
> Feb 19 09:43:36|00001|netdev|ERR|ioctl(SIOCGIFINDEX) on eth0.0 device failed: 
> No such device
> ofdatapath: failed to add port eth0.0 (No such device)
> Configuring local device with ip 192.168.2.4 and netmask 255.255.255.0
> ifconfig: SIOCSIFADDR: No such device
> route: SIOCADDRT: File exists
> root@OpenWrt:~# Feb 19 09:43:39|00001|vlog|INFO|opened log file 
> /tmp/log/ofprotocol.log
> Feb 19 09:43:39|00002|secchan|INFO|OpenFlow reference implementation version 
> 1.0.0
> Feb 19 09:43:39|00003|secchan|INFO|OpenFlow protocol version 0x01
> Feb 19 09:43:39|00004|secchan|WARN|new management connection will receive 
> asynchronous messages
> Feb 19 09:43:39|00005|rconn|INFO|tcp:127.0.0.1:6634: connecting...
> Feb 19 09:43:39|00006|rconn|INFO|tcp:192.168.2.5:6633: connecting...
> Feb 19 09:43:39|00007|rconn|INFO|tcp:127.0.0.1:6634: connection failed 
> (Connection refused)


hi Shabbir,

the ofprotocol process is trying to reach ofdatapath at 127.0.0.1:6634. 
however, ofdatapath has crashed (see the line about "ERR ... No such device"? 
it is trying to add device eth0.0, which does not exist)

to fix this, edit /etc/config/openflow and change the "ofports" entry to 
"eth0.1 eth0.2 eth0.3 eth0.4" (the devices you have configured), or renumber 
your vlan interfaces in /etc/config/network so they start from zero.

hope this helps.

best,
Andrew



_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to