Dear Andrew first of all thanks for you precious time and your great help.
Being more specific will you explain how should I use IP addresses. As you
explained I tried so but didn't work. Let me explain.
I assigned AP WAN port an IP: 192.168.1.1 mask: 255.255.255.0 through which
Controller is attached.
Didn't assign any IP to wlan0 and wlan0-1.
I know that WAN port of AP must have different network connected which
should be different to LAN but I tried both as below:
I tried both IPs of client-1 i.e. first I tried with 192.168.1.4 which is
from the same network as controller
then I tried 192.168.2.2 mask 255.255.255.0 GW: 0.0.0.0 (GW is so because
can't leave it blank on linux)
similarly IP of client-2 first with 192.168.1.5 GW 0.0.0.0
then I also tried 192.168.2.3 GW 0.0.0.0

When I used controller's network i.e. 192.168.1.0 and tried to ping the
clients from AP in telnet mode I got nothing just the AP was waiting but
when I tried 192.168.2.0 network and then ping clients from AP I got "ping:
sendto: Network is unreachable".
I also studied the openflow tutorial again. May be I am interpreting it
wrong. When I studied
http://archive.openflow.org/wk/index.php/OpenFlow_Tutorial#Create_Topology
I found that when setting up host they have mentioned Gateway i.e. as far
as I know is the ip address of switch. What can be IP address of switch? It
may be IP of certain interface but don't know which interface.
Please will you be more specific in your above explanation how should I
assign IP's and there should be gateway or not? If there should be gateway
what will be Gateway?
Thanks again for you precious time. :-)



On Sun, Jan 12, 2014 at 10:12 PM, Andrew Ferguson <a...@cs.brown.edu> wrote:

>
> On Jan 12, 2014, at 6:59 AM, Sayed Qaiser Ali Shah <
> 11msitqs...@seecs.edu.pk> wrote:
>
> Dear Andrew I tried both techniques but no technique is working. Network
> is behaving the same. When I created two wlan interfaces i.e. wlan0 and
> wlan1 and I added both interfaces to /etc/config/openflow. I assigned IP's
> to wlan0 and wlan1 by using ifconfig command and then used these IP's as
> gateways for devices.
>
>
> why are you assigning IP addresses to interfaces on the switch? I suspect
> that will interfere with the normal operation of the OpenFlow switch
> software. the setup you have configured is basically one to create a Linux
> *router*, not an OpenFlow switch. as described on the Pantou wiki and
> elsewhere, *none* of the regular OpenFlow interfaces have IP addresses --
> only the out-of-band interface to connect to the controller (if using
> out-of-band, which is recommended when starting).
>
> I suggest you follow the instructions in the OpenFlow tutorial:
> http://archive.openflow.org/wk/index.php/OpenFlow_Tutorial for
> configuring your network. if you check the IP addresses of the hosts in the
> tutorial, you will see that they are all in the same subnet -- they don't
> use a gateway to communicate. supporting an OpenFlow-controlled network
> with multiple subnets requires writing an OpenFlow controller which behaves
> like an IP router.
>
> finally, I encourage you to create a configuration in Mininet and get it
> working there. part of the beauty of Mininet is that the configuration you
> create and get working there should translate easily to the real world. :-)
>
> similarly I used "option isolated 1" but didn't work for me.
> When I checked the link
> http://wiki.openwrt.org/doc/uci/wireless#common.options1
> there I found that network option is required
>
>
> ah, that's too bad. good to know that's how that option works, thank you.
>
> but the link below
>
> http://archive.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Wireless_Configuration_2
> shows network option commented. Can it be the reason?
>
>
> could be. I wouldn't deviate from the Pantou instructions until you get
> everything working, and you understand how it works.
>
>
> good luck,
> Andrew
>



-- 




*RegardsSayed Qaiser Ali ShahMSIT-12NUST (SEECS)*
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to