Dear all,

I and my colleague are working on analysis of OpenFlow protocol. We have
installed ‘Chaos Calmer’ version of OpenWRT on MikroTik RouterBoard 750GL.
To convert our router into an OpenFlow enabled switch, we installed Pantou
over it which has OpenFlow v1.0. After some additional setting to the
router, OpenFlow started working. We made a report of the work done till
here, and is available on
http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf.


The network configuration in our OpenFlow network was made through making 3
VLANs through the web interface of OpenWRT, ‘LuCI’. Port 1 was connected to
the controller, Port 2 was on a different VLAN, and Port 3 and 4 were on a
separate VLAN.  The controller was connected on ‘192.168.1.145’, and two
hosts were connected on ‘192.168.2.142’ and ‘192.168.3.248’ respectively.
The IP of the switch was ‘192.168.1.1’.


The network configuration settings of the router are as follows:

config interface'loopback'
optionifname'lo'                                            option
proto'static'                                        option
ipaddr'127.0.0.1'                                    option netmask
'255.0.0.0'

config globals'globals'                                            option
ula_prefix'fde8:ce5b:64fb::/48'


config interface'lan'                                            option
ifname'eth0.1'                                      option force_link'1'
                                    option type'bridge'
                    option proto'static'
    option ipaddr'192.168.1.1'                                  option
netmask '255.255.255.0'                              option ip6assign'60'


config switch                                                     option
name'switch0'                                       option reset'1'
                                    option enable_vlan'1'
                    option mirror_source_port'0'
    option enable_mirror_rx'1'                                 option
enable_mirror_tx'1'                                 option
mirror_monitor_port'1'


config switch_vlan                                               option
device'switch0'                                     option vlan'1'
                                    option vid'1'
                    option ports '0t 1'

config switch_vlan                                               option
device'switch0'                                     option vlan'2'
                                    option vid'2'
                    option ports '0t2'


config switch_vlan                                               option
device'switch0'                                     option vlan'3'
                                    option vid'3'
                    option ports '0t 34'


config interface'LAN2'                                           option
proto'static'                                       option ifname'eth0.2'
                                    option ipaddr'192.168.2.13'
                    option netmask'255.255.255.0'
    option gateway'192.168.2.1'


config interface'LAN3'                                           option
proto'static'                                       option ifname'eth0.3'
                                    option ipaddr'192.168.3.12'
                    option netmask'255.255.255.0'
    option gateway'192.168.3.1'

The OpenFlow configuration settings of the router are as follows:

config 'ofswitch'
        option 'dp' 'dp0'
        option 'ofports' 'eth0.1 eth0.2 eth0.3'
        option 'ofctl' 'tcp:192.168.1.145:6633'
        option 'mode'  'outofband'



After making all the settings, we enabled the OpenFlow package on the
router with a controller. We have tried this with POX and Floodlight
controller. The problem is that when initially connected to OpenFlow
network, as there should be no flow table entries the ping should not work,
but when we ping from host 1 to host 2 the ping is working. To ensure that
there is no flow table entry, we checked the switch’s flow table entry
through the ‘dpctl’ command. The ping could be from traditional network
traffic, but this should not be the case once OpenFlow has started.


How can the normal traffic be isolated from OpenFlow traffic? Please guide
us if we have done something wrong.




Regards,

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

Reply via email to