Hi,

Just to add more information about my setup: eth0.2 does not belong to any
bridge and has no ip address (as ifconfig shows before):

prompt# brctl show
bridge name bridge id STP enabled interfaces
br-mgmt 8000.c0c1c0fc306a no eth0.8
br-ofctl 8000.c0c1c0fc306a no eth0.13
br-cameras 8000.c0c1c0fc306a no eth0.0






On Fri, Jan 18, 2013 at 8:56 PM, Italo Valcy <[email protected]> wrote:

> Hi Yiannis,
>
> Thanks for help! Yes, I think that the interfaces is properly defined
> (from [1] and [2]), please take look bellow:
>
> [1]
> http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration
> [2]
> http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Wireless_Configuration
>
> # /etc/config/network
> #### VLAN configuration
> config switch eth0
>    option enable   1
>
> config switch_vlan eth0_1
>    option device   "eth0"
>    option vlan     1
>    option ports    "1 5"
>
> config interface
>    option ifname   "eth0.1"
>    option proto    static
>
>
> # /etc/config/wireless
> config wifi-device  wl0
> option type     broadcom
> option channel  5
>  option disabled 0
>  config wifi-iface
>  option device   wl0
> option mode     ap
> option ssid     OpenFlow-OpenWrt
>  option encryption none
>
>
> prompt# ifconfig eth0.1
> eth0.1    Link encap:Ethernet  HWaddr C0:C1:C0:FC:30:6A
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> prompt# ifconfig wl0
> wl0       Link encap:Ethernet  HWaddr C0:C1:C0:FC:30:6C
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:239462
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>           Interrupt:2 Base address:0x5000
>
>
>
>
>
>
> On Fri, Jan 18, 2013 at 7:50 PM, Yiannis Yiakoumis 
> <[email protected]>wrote:
>
>> I haven't tried to use it with 2.4. (The TP-Link box supports multiple
>> ssid with 2.6 and later).
>> Are these interfaces defined properly in the /etc/config/network|wireless
>> files? Also, make sure there is no ipaddress associated with them.
>> The config listed in the wikipage should work..
>>
>> Regards,
>> Yiannis
>>
>>
>> On Fri, Jan 18, 2013 at 12:17 PM, Italo Valcy <[email protected]>wrote:
>>
>>> Hello guys,
>>>
>>> I'm trying to run openflow in a WRT54GL with OpenWRT backfire 10.03.1
>>> kernel brcm-2.4 (because I need to use multiple ESSID) but I'm getting some
>>> problems when trying to add interfaces to ofdatapath. This happens both
>>> with wireless and wired interfaces:
>>>
>>> prompt# ofdatapath -i eth0.1 ptcp:6634
>>> Jan 01 03:01:19|00001|netdev|ERR|ioctl(SIOCGIFTXQLEN) on eth0.1 device
>>> failed: Operation not supported
>>> ofdatapath: failed to add port eth0.1 (Operation not supported)
>>>
>>> prompt# ofdatapath -i wl0 ptcp:6634
>>> Jan 01 03:04:21|00001|netdev|ERR|ioctl(SIOCGIFTXQLEN) on wl0 device
>>> failed: Operation not supported
>>> ofdatapath: failed to add port wl0 (Operation not supported)
>>>
>>> libc - 0.9.30.1-43.35
>>>
>>> Do you guys have any ideia on how to debug/solve this?
>>>
>>>
>>> Thanks for any help, Italo.
>>>
>>> --
>>> Saudações,
>>>
>>> Italo Valcy :: http://wiki.dcc.ufba.br/Main/ItaloValcy
>>>
>>> _______________________________________________
>>> openflow-discuss mailing list
>>> [email protected]
>>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>>>
>>>
>>
>
>
> --
> Saudações,
>
> Italo Valcy :: http://wiki.dcc.ufba.br/Main/ItaloValcy
>



-- 
Saudações,

Italo Valcy :: http://wiki.dcc.ufba.br/Main/ItaloValcy
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to