GithubHelp home page GithubHelp logo

Comments (15)

tonetto avatar tonetto commented on May 27, 2024

Maybe an easy workaround would be to run a DHCP server connected to both APs, and as soon as the station would get a connection it would request a correct IP. It wouldn't matter which interface it would be using.

But I am not quite sure if this is possible at the moment and how to do that if so.

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

Hello Leonardo,

Did you solve the problem? Did that demo work for your purpose?

from mininet-wifi.

tonetto avatar tonetto commented on May 27, 2024

Hi Ramon,

I didn't want to use bond. The idea behind this was that students would implement a protocol to use both interfaces and not use any existing solution (this was missing in my explanation).

The idea of using a switch and then have only one network interface in the host was also good. Thanks for that.

The issue I mentioned about not being able to associate was wrong. But I still see a behavior I believe is not correct with ping.

So, assuming the station has 2 interfaces and 2 IPs (10.0.0.1/24, 10.1.0.1/24), 4 APs (ap1-4) and one host also with 2 interfaces and 2 IPs (10.0.0.2/24, 10.1.0.2/24). Having:

ap1 --- (10.0.0.2/24) [h1] (10.1.0.2/24) ---- ap2 --- ap3 --- ap4

When the station moves around and connects freely to these APs, ping (at least on my test) only works with the first AP the station connects to with a given interface. For example:

  • if sta1 starts with wlan0 connected to ap1 and IP 10.0.0.1/24 and wlan1 connected to ap2 with IP 10.1.0.1/24, if I ping h1 from sta1 (sta1 ping 10.1.0.2), it works;
  • as sta1 moves around, while keeping the connectivity with ap1, and it eventually associates wlan1 with ap3 or ap4 (keeping the same IP addresses), if I try to ping with the same command (sta1 ping 10.1.0.2) it does not work.

In my example h1 runs a simple HTTP server, running wget from sta1 works tho.

Maybe I am doing something wrong and that's the expected behavior of ping, but that's the reason why I said it wasn't connecting to the access points (instead of trying iw or iwconfig to verify that).

Hope I could explain it well, if not, please let me know.

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

NadiaMOUAWAD avatar NadiaMOUAWAD commented on May 27, 2024

Hello, I am facing the same problem concerning the ping> I have implemented the controller in a way to delete the previous flow tables, however, when sta1 connects to AP2 with sta1-wlan1 the ping stops because ap2 is not sending a packet_in message to the controller about the new connection in order to install new flows. Do you have any idea about this?

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

NadiaMOUAWAD avatar NadiaMOUAWAD commented on May 27, 2024

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

NadiaMOUAWAD avatar NadiaMOUAWAD commented on May 27, 2024

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

NadiaMOUAWAD avatar NadiaMOUAWAD commented on May 27, 2024

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

NadiaMOUAWAD avatar NadiaMOUAWAD commented on May 27, 2024

from mininet-wifi.

ramonfontes avatar ramonfontes commented on May 27, 2024

from mininet-wifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.