Hi SUJAYYENDHIREN,
I have the Linksys WRT54GL and that tutorial works perfectly for me.
Maybe your problems are in your config files. I show you my files in
the following link: http://pastebin.ca/2329503
I'm using the eth0.4 for the controller and you have to assign IP to
this port. Also you have to add the other ports to the
/etc/config/openflow
By the other hand I'm not using dhcp. You are using this proto to the
eth0.1 and the ofports don't have to have IP assigned.
I hope this helps.
Regards.
El 2013-03-06 19:46, SUJAYYENDHIREN RAMARAO SRINIVASAMURTHI escribió:
Details of firmware
(i) Openflow with WRT54G.
(ii) Can someone specifically tell me the error, because on using the
standard configuration mentioned in the following link is not helping
me.
http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration
[1]
root@OpenWrt [2]:~# /etc/init.d/openflow start
eth0.1
Configuring OpenFlow switch for out-of-band control
Jan 01 02:00:18|00001|netdev|ERR|ioctl(SIOCGIFTXQLEN) on eth0.1
device failed: Operation not supported
ofdatapath: failed to add port eth0.1 (Operation not supported)
No need for further configuration for out-of-band control
#### VLAN configuration
config switch eth0
option enable 1
config switch_vlan eth0_0
option device "eth0"
option vlan 0
option ports "1 2 3 4 5"
config switch_vlan eth0_1
option device "eth0"
option vlan 1
option ports "0 5"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "eth0.0"
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto dhcp
ROOT@OPENWRT [3]:~# CAT /ETC/CONFIG/OPENFLOW
config 'ofswitch'
option 'dp' 'dp0'
option 'dpid' '000000000001'
option 'ofports' 'eth0.1'
option 'ofctl' 'tcp:192.168.1.10:6633 [4]'
option 'mode' 'outofband'
Links:
------
[1]
http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration
[2] mailto:root@OpenWrt
[3] mailto:root@OpenWrt
[4] http://192.168.1.10:6633
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss