I found someone implemented DHCP server application and share source code
in  Github site but i can't  create topology in mininet deal with this
application.

source code : https://github.com/John-Lin/nat/blob/master/dhcp.py

thank you,,

On Tue, Aug 1, 2017 at 2:16 AM, Fujimoto Satoshi <
satoshi.fujimo...@gmail.com> wrote:

> Hi, Mahmoud
>
> Ryu has the packet library for DHCP, so it may be possible to make your
> own DHCP server in Ryu application.
> However it will be very difficult work. Ryu does not provide any DHCP
> server features.
>
> I don't know what you want to do with DHCP,
> but how about running DHCP server independently from Ryu?
> I assume you have the topology like below:
>
>          ┌-c0-┐
>          |      |
> h1------s1-----s2-----h2
>
> (h1 and h2 means hosts, and s1 and s2 means OVS)
>
> I suggest you to run DHCP server in c0 besides Ryu application,
> and install flows to forward DHCP packets to DHCP server.
> Then the DHCP server can receive DHCP packets in the topology.
>
> In this case, how to get the binding table depends on the DHCP server you
> use.
>
>
> Thanks,
> Fujimoto
>
>
>
> On 2017年07月31日 23:57, Mahmoud Elzoghbi wrote:
>
> hi
>  i need to implement DHCP server in RYU controller and topology file in
>  mininet to deal with dhcp
>
> and how to get binding table of DHCP server
>
> any help to accomplish this task
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Ryu-devel mailing 
> listRyu-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to