Hi, Please cc the mailing-list on follow-ups. You can check the port either using wireshark or the controller (depending on the controller you might have to print it yourself). In case you haven't done this so far, I'd suggest to go through the Mininet OpenFlow tutorial : http://mininet.org/
Yiannis On Thu, May 8, 2014 at 2:19 AM, Namrah Tariq <10besenta...@seecs.edu.pk>wrote: > Hi Yiannis, > Thank you for your suggestions. > I wanted to know which message you are talking about. When I start > openflow and it connects to the switch and then I connect two clients to my > switch through wireless I saw a message on the controller saying installing > flow from port 5 to 65528. Is this my wireless port? > Sorry if i'm asking an annoying question, I'm new to all this stuff just > started 2 weeks ago. > > > On Thu, May 8, 2014 at 12:55 AM, Yiannis Yiakoumis > <gyiakou...@gmail.com>wrote: > >> Hi Namrah, >> >> You should be able to figure out the wireless port by looking the >> switch-configuration message during OF handshake, or looking at the port >> field from packet-ins. >> Also, do check that simple output action works before you setup and use >> queues.. >> >> Yiannis >> >> >> On Wed, May 7, 2014 at 6:50 AM, Namrah Tariq >> <10besenta...@seecs.edu.pk>wrote: >> >>> I'm using pox with openflow 1.0 on my openwrt flashed router TL-WR740N >>> v4.23. >>> Basically I want to connect my controller to wan port of router and make >>> queues on wireless port and forward traffic through these queues. My >>> ofprotocol and ofdatapath services run and my controller also connects to >>> the switch. My problem is that I don't know which port is the wireless port >>> and when i connect clients to the switch wirelessly the wireless connection >>> keeps disconnecting and i'm unable to ping one client from an other. Please >>> help me. Here are my configs. >>> I tried by making queues on port 5 but no traffic is passing through >>> queues. My pox code is correct because I tested it on mininet. >>> >>> #/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 globals 'globals' >>> option ula_prefix 'fdaa:d16f:ceae::/48' >>> >>> config switch >>> option name 'switch0' >>> option reset '1' >>> option enable_vlan '1' >>> option enable_learning '0' >>> >>> config switch_vlan >>> option device 'switch0' >>> option vlan '1' >>> option ports '0t 1' >>> option vid '1' >>> >>> config switch_vlan >>> option device 'switch0' >>> option vlan '3' >>> option ports '0t 3' >>> option vid '3' >>> >>> config switch_vlan >>> option device 'switch0' >>> option vlan '4' >>> option ports '0t 4' >>> option vid '4' >>> >>> config switch_vlan >>> option device 'switch0' >>> option vlan '2' >>> option ports '0t 2' >>> option vid '2' >>> >>> config switch_vlan >>> option device 'switch0' >>> option vlan '5' >>> option ports '0t 5' >>> option vid '5' >>> >>> config interface 'lan1' >>> option ifname 'eth0.1' >>> option proto 'static' >>> >>> config interface 'lan2' >>> option ifname 'eth0.2' >>> option proto 'static' >>> >>> config interface 'lan3' >>> option ifname 'eth0.3' >>> option proto 'static' >>> >>> config interface 'lan4' >>> option ifname 'eth0.4' >>> option proto 'static' >>> >>> config interface >>> option ifname 'wlan0' >>> option proto 'static' >>> >>> config interface 'wan' >>> option ifname 'eth1' >>> option _orig_ifname 'eth1' >>> option _orig_bridge 'false' >>> option proto 'static' >>> option ipaddr '192.168.1.12' >>> option netmask '255.255.255.0' >>> option gateway '192.168.1.1' >>> option broadcast '192.168.1.255' >>> option dns '192.168.1.1' >>> >>> #/etc/config/openflow >>> >>> config 'ofswitch' >>> option 'dp' 'dp0' >>> option 'dpid' '000000000001' >>> option 'ofports' 'eth0.1 eth0.2 eth0.3 eth0.4 wlan0' >>> option 'ofctl' 'tcp:192.168.1.10:6633' >>> option 'mode' 'outofband' >>> >>> #/etc/config/wireless >>> >>> config wifi-device radio0 >>> option type mac80211 >>> option channel 11 >>> option hwmode 11ng >>> option path 'platform/ar933x_wmac' >>> list ht_capab SHORT-GI-20 >>> list ht_capab SHORT-GI-40 >>> list ht_capab RX-STBC1 >>> list ht_capab DSSS_CCK-40 >>> option htmode HT20 >>> # REMOVE THIS LINE TO ENABLE WIFI: >>> #option disabled 1 >>> >>> config wifi-iface >>> option device radio0 >>> #option network lan >>> option mode ap >>> option ssid OpenWrt >>> option encryption none >>> >>> -- >>> Namrah Tariq >>> BESE-1 >>> SEECS-NUST >>> >>> _______________________________________________ >>> openflow-discuss mailing list >>> openflow-discuss@lists.stanford.edu >>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>> >>> >> >> >> -- >> Yiannis . >> > > > > -- > Namrah Tariq > BESE-1 > SEECS-NUST > -- Yiannis .
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss