I have enabled only outbound.
root@OpenWrt:~# cat /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.2.5:6633'
        option 'mode'  'outofband'
        option 'mode'  'inband'

#config 'ofswitch'
#       option 'dp' 'dp0'
#       option 'ofports' 'eth0.0 eth0.1 eth0.2 eth0.3 '
#       option 'ofctl' 'tcp:192.168.2.5:6633'
#       option 'mode'  'inband'
#       option 'ipaddr' '192.168.2.4'
#       option 'netmask' '255.255.255.0'
#       option 'gateway' '192.168.2.1'


root@OpenWrt:~# /etc/init.d/openflow start
eth0.1,eth0.2,eth0.3,eth0.4
Configuring OpenFlow switch for inband control
Feb 19 09:06:33|00001|netdev|ERR|ioctl(SIOCGIFINDEX) on eth0.1 device
failed:
No
such device
ofdatapath: failed to add port eth0.1 (No such device)
Configuring local device with ip  and netmask
ifconfig: bad address 'up'
BusyBox v1.19.4 (2013-01-31 12:59:28 PKT) multi-call binary.





On Sat, May 4, 2013 at 9:48 PM, Jonathan Lim <jfli...@gmail.com> wrote:

> Thanks Andrew, the information is helpful.
>
> @Shabbir, I'm using the default network and openflow configuration files,
> as documented in
>
> http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration_2
>
> Sorry, I don't have experience with POX. I'm currently using the
> Floodlight controller.
>
> Regards,
> Jonathan
>
>
>
> On Sat, May 4, 2013 at 12:09 AM, Shabbir Ahmed <shabbir1...@gmail.com>wrote:
>
>> hi Jonathan,
>>
>> can you share your /etc/config/network and /etc/config/openflow?
>>
>> i'm getting error "socket error: broken pipe" can you share your configs
>> and the command u use to run pox and a diagram?
>>
>>
>>
>>
>>
>> On Sat, May 4, 2013 at 5:31 AM, Jonathan Lim <jfli...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I'm using Pantou with OpenWRT on a TP-Link TL-WR1043ND.
>>> I ran into a problem when I omitted the line "option enable_learning 0"
>>> from the network
>>> configuration file. With a simple topology like
>>> host1-----OFswitch1------OFswitch2------host2,
>>> a ping from host 1 to host 2, resulted in lost ARPs.
>>>
>>> I've tried looking for an explanation for what enabled_learning is and
>>> how it
>>> affects the process, but I wasn't able to find information on that.
>>>
>>> Can someone help explain what the option 'enable_learning' means?
>>>
>>> Thanks,
>>> Jonathan
>>>
>>>
>>> TP-Link TL-WR1043ND
>>>
>>> _______________________________________________
>>> openflow-discuss mailing list
>>> openflow-discuss@lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>>>
>>>
>>
>
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to