Hi Shabbir ,

Thanks for your reply. Just been testing it right now. managed to make it
work, I copied again the config from Pantou wiki and inadvertetly had a
small typo which made my datapath failing to start :/ Thanks anyways for
your help.

I have just one question if i may - if the client gets disconnected from
the AP, the controller is not notified that this happened ( i think this is
normal right ? ) Does anyone has an idea how to notify the controller ( i
am using floodlight) that clients have leaved the AP ?

Etienne


On 15 May 2013 17:38, Shabbir Ahmed <shabbir1...@gmail.com> wrote:

> can u check OF controller logs? and can u run tcpdum on the controller and
> reply back.
>
> thank you,
> Shabbir.
>
>
> On Wed, May 15, 2013 at 6:23 PM, Etienne Mula <etiennem...@gmail.com>wrote:
>
>>
>> Hi All,
>>
>> I just installed the AP in order to become an openflow switch however i'm
>> encountering a slight issue where it is connecting and after a few seconds
>> it is disconnecting again. I'm not sure from where is the problem but i'm
>> suspecting that it is coming from the configuration of openflow ports. Can
>> you help me out please and tell me where is the problem.
>>
>> Below is the default config when the AP was flashed using OpenWRT , i
>> changed the ip. Connecting through wi-fi and ping the controller is
>> sucessful. As from the AP i can only just see connecting, connection failed
>> and connection dropped after each other.
>>
>> Now as ofports i think that there is the problem , just afraid of
>> bricking the AP.  ( Just to make it clear the AP is running 1.4 hardware
>> and i think i used an incorrect image).
>>
>>
>> /etc/config/network
>>
>> config 'interface' 'loopback'
>>        option 'ifname'   'lo'
>>        option 'proto'    'static'
>>        option 'ipaddr'   '127.0.0.1'
>>        option 'netmask'  '255.0.0.0'
>>
>> config 'interface' 'lan'
>>         option 'ifname'   'eth0.1'
>>         option 'type'     'bridge'
>>         option 'proto'    'static'
>>         option 'ipaddr'   '192.168.0.2'
>>         option 'netmask'  '255.255.255.0'
>>
>> config 'interface' 'wan'
>>         option 'ifname' 'eth0.2'
>>         option 'proto' 'dhcp'
>>
>> config 'switch'
>>         option 'name' 'rtl8366rb'
>>         option 'reset' '1'
>>         option 'enable_vlan' '1'
>>
>> config 'switch_vlan'
>>         option 'device' 'rtl8366rb'
>>         option 'vlan' '1'
>>         option 'ports' '1 2 3 4 5t'
>>
>> config 'switch_vlan'
>>         option 'device' 'rtl8366rb'
>>         option 'vlan' '2'
>>         option 'ports' '0 5t'
>>
>>
>> /etc/config/openflow
>>
>> config 'ofswitch'
>>         option 'dp' 'dp0'
>>         option 'dpid' '000000000001'
>>         option 'ofports' 'eth0.1 eth0.2 eth0.3 eth0.4'
>>         option 'ofctl' 'tcp:192.168.0.253:6633'
>>         option 'mode'  'outofband'
>>
>> /etc/config/wireless
>>
>> config wifi-device  radio0
>>         option type     mac80211
>>         option channel  11
>>         option macaddr  00:63:cd:1c:43:32
>>         option hwmode   11ng
>>         option htmode   HT20
>>         list ht_capab   SHORT-GI-40
>>         list ht_capab   DSSS_CCK-40
>>         # REMOVE THIS LINE TO ENABLE WIFI:
>>         option disabled 0
>>
>> config wifi-iface
>>         option device   radio0
>>         option network  lan
>>         option mode     ap
>>         option ssid     OpenWrt
>>         option encryption none
>>
>>
>>
>> Controller Log
>>
>> 13:16:57.177 [New I/O server worker #1-4] INFO
>> n.f.core.internal.Controller - New switch connection from /
>> 192.168.0.2:33289
>> 13:16:57.178 [New I/O server worker #1-4] INFO
>> n.f.core.internal.Controller - Disconnected switch null
>> 13:17:01.186 [New I/O server worker #1-5] INFO
>> n.f.core.internal.Controller - New switch connection from /
>> 192.168.0.2:33290
>> 13:17:01.187 [New I/O server worker #1-5] INFO
>> n.f.core.internal.Controller - Disconnected switch null
>> 13:17:09.199 [New I/O server worker #1-6] INFO
>> n.f.core.internal.Controller - New switch connection from /
>> 192.168.0.2:33291
>> 13:17:09.201 [New I/O server worker #1-6] INFO
>> n.f.core.internal.Controller - Disconnected switch null
>> 13:17:24.219 [New I/O server worker #1-7] INFO
>> n.f.core.internal.Controller - New switch connection from /
>> 192.168.0.2:33293
>>
>>
>>
>> Many Thanks !
>> Etienne
>>
>>
>>
>> --
>> Thanks and Regards
>> Etienne Mula
>>
>> _______________________________________________
>> openflow-discuss mailing list
>> openflow-discuss@lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>>
>>
>


-- 
Thanks and Regards
Etienne Mula
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to