Discussion:
[Ryu-devel] IPv6 OpenFlows using RYU on Mininet
Kuljaree Tantayakul
2015-02-04 21:58:15 UTC
Permalink
Dear All,

Now I do my project about IPv6 and SDN. Also I chosen to use RYU
Controller, support OFv1.3.

I want to setup IPv6 network by using OpenFlow Switch to do same as router.
I do follow the RYU Document that have IPv4 Switching Router by using
rest_router.py.

Can you give me some suggestion, how to do IPv6 Switching Router?

Best Regards,
Kuljaree
Yusuke Iwase
2015-02-13 04:53:59 UTC
Permalink
Hi Kuljaree,
Post by Kuljaree Tantayakul
Dear All,
Now I do my project about IPv6 and SDN. Also I chosen to use RYU Controller, support OFv1.3.
I want to setup IPv6 network by using OpenFlow Switch to do same as router.
I do follow the RYU Document that have IPv4 Switching Router by using rest_router.py.
Can you give me some suggestion, how to do IPv6 Switching Router?
As you know, currently, rest_router.py does not support IPv6.
If you need IPv6 Switching Router, how about implementing it?

If you will implement it, For example,
rest_router.py analyses packets as IPv4 at this function.
(https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L948-L962)
So I think you need to modify it to analyse packets as IPv6.
And, rest_router.py uses ARP protocol, also needs to modify to use ICMPv6.

Thanks
Post by Kuljaree Tantayakul
Best Regards,
Kuljaree
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Yusuke Iwase
2015-02-17 02:28:29 UTC
Permalink
Hi Kuljaree,

Please keep Ryu-devel mailing list.
But I don't understand rest_router.py exactly.
I doubt about the way to add IP address that they uses curl command to add.
If I use Linux command to add IP address. Is it different? Please suggest me.
I think it's different command.
curl command is used for telling IP address to rest_router.py,
and rest_router.py does not use IP address of Linux command for routing.
Now I test by using simple_sw.py and configure IPv6 by command line.
I use ping6 from host1 to switch. The result is switch received RS message,
but cannot reply RA message back.
Because simple_switch_13.py is a sample application for Ryu beginners,
the implementation for replaying ND is not exist to avoid complexity.
So, I guess ping/ping6 from host to switch does not work well,
but ping/ping6 between hosts is working.


Thanks
Hi Yusuke,
Thanks for your reply.
But I don't understand rest_router.py exactly. I doubt about the way to add IP address that they uses curl command to add.
If I use Linux command to add IP address. Is it different? Please suggest me.
Now I test by using simple_sw.py and configure IPv6 by command line. I use ping6 from host1 to switch. The result is switch received RS message, but cannot reply RA message back.
Hope your reply,
Thanks you,
Kuljaree
Hi Kuljaree,
Post by Kuljaree Tantayakul
Dear All,
Now I do my project about IPv6 and SDN. Also I chosen to use RYU Controller, support OFv1.3.
I want to setup IPv6 network by using OpenFlow Switch to do same as router.
I do follow the RYU Document that have IPv4 Switching Router by using rest_router.py.
Can you give me some suggestion, how to do IPv6 Switching Router?
As you know, currently, rest_router.py does not support IPv6.
If you need IPv6 Switching Router, how about implementing it?
If you will implement it, For example,
rest_router.py analyses packets as IPv4 at this function.
(https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L948-L962)
So I think you need to modify it to analyse packets as IPv6.
And, rest_router.py uses ARP protocol, also needs to modify to use ICMPv6.
Thanks
Post by Kuljaree Tantayakul
Best Regards,
Kuljaree
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Kuljaree Tantayakul
2015-02-17 09:42:31 UTC
Permalink
Hi Yusuke,

Thanks for your response.
From your suggestions, if I want to do the Open Switch to be Switching
Router which supports IPv6. The possible way, I should to modify
rest_router.py to support IPv6 address and IPv6 Routing, right? This is
using ICMPv6 same as ARP in IPv4.

Thanks,
Kuljaree
Hi Kuljaree,
Please keep Ryu-devel mailing list.
But I don't understand rest_router.py exactly.
I doubt about the way to add IP address that they uses curl command to
add.
If I use Linux command to add IP address. Is it different? Please
suggest me.
I think it's different command.
curl command is used for telling IP address to rest_router.py,
and rest_router.py does not use IP address of Linux command for routing.
Now I test by using simple_sw.py and configure IPv6 by command line.
I use ping6 from host1 to switch. The result is switch received RS
message,
but cannot reply RA message back.
Because simple_switch_13.py is a sample application for Ryu beginners,
the implementation for replaying ND is not exist to avoid complexity.
So, I guess ping/ping6 from host to switch does not work well,
but ping/ping6 between hosts is working.
Thanks
Hi Yusuke,
Thanks for your reply.
But I don't understand rest_router.py exactly. I doubt about the way to
add IP address that they uses curl command to add.
If I use Linux command to add IP address. Is it different? Please
suggest me.
Now I test by using simple_sw.py and configure IPv6 by command line. I
use ping6 from host1 to switch. The result is switch received RS message,
but cannot reply RA message back.
Hope your reply,
Thanks you,
Kuljaree
Hi Kuljaree,
Post by Kuljaree Tantayakul
Dear All,
Now I do my project about IPv6 and SDN. Also I chosen to use RYU
Controller, support OFv1.3.
Post by Kuljaree Tantayakul
I want to setup IPv6 network by using OpenFlow Switch to do same
as router.
Post by Kuljaree Tantayakul
I do follow the RYU Document that have IPv4 Switching Router by
using rest_router.py.
Post by Kuljaree Tantayakul
Can you give me some suggestion, how to do IPv6 Switching Router?
As you know, currently, rest_router.py does not support IPv6.
If you need IPv6 Switching Router, how about implementing it?
If you will implement it, For example,
rest_router.py analyses packets as IPv4 at this function.
(
https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L948-L962)
So I think you need to modify it to analyse packets as IPv6.
And, rest_router.py uses ARP protocol, also needs to modify to use
ICMPv6.
Thanks
Post by Kuljaree Tantayakul
Best Regards,
Kuljaree
------------------------------------------------------------------------------
Post by Kuljaree Tantayakul
Dive into the World of Parallel Programming. The Go Parallel
Website,
Post by Kuljaree Tantayakul
sponsored by Intel and developed in partnership with Slashdot
Media, is your
Post by Kuljaree Tantayakul
hub for all things parallel software development, from weekly
thought
Post by Kuljaree Tantayakul
leadership blogs to news, videos, case studies, tutorials and
more. Take a
Post by Kuljaree Tantayakul
look and join the conversation now.
http://goparallel.sourceforge.net/
Post by Kuljaree Tantayakul
_______________________________________________
Ryu-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Yusuke Iwase
2015-02-18 02:45:20 UTC
Permalink
Hi Kuljaree,
From your suggestions, if I want to do the Open Switch to
be Switching Router which supports IPv6. The possible way,
I should to modify rest_router.py to support IPv6 address
and IPv6 Routing, right?
This is using ICMPv6 same as ARP in IPv4.
I think it right.
But rest_router.py is designed for IPv4,
so you need to redesign its architecture, maybe.

Thanks
Hi Yusuke,
Thanks for your response.
From your suggestions, if I want to do the Open Switch to be Switching Router which supports IPv6. The possible way, I should to modify rest_router.py to support IPv6 address and IPv6 Routing, right? This is using ICMPv6 same as ARP in IPv4.
Thanks,
Kuljaree
Hi Kuljaree,
Please keep Ryu-devel mailing list.
But I don't understand rest_router.py exactly.
I doubt about the way to add IP address that they uses curl command to add.
If I use Linux command to add IP address. Is it different? Please suggest me.
I think it's different command.
curl command is used for telling IP address to rest_router.py,
and rest_router.py does not use IP address of Linux command for routing.
Now I test by using simple_sw.py and configure IPv6 by command line.
I use ping6 from host1 to switch. The result is switch received RS message,
but cannot reply RA message back.
Because simple_switch_13.py is a sample application for Ryu beginners,
the implementation for replaying ND is not exist to avoid complexity.
So, I guess ping/ping6 from host to switch does not work well,
but ping/ping6 between hosts is working.
Thanks
Hi Yusuke,
Thanks for your reply.
But I don't understand rest_router.py exactly. I doubt about the way to add IP address that they uses curl command to add.
If I use Linux command to add IP address. Is it different? Please suggest me.
Now I test by using simple_sw.py and configure IPv6 by command line. I use ping6 from host1 to switch. The result is switch received RS message, but cannot reply RA message back.
Hope your reply,
Thanks you,
Kuljaree
Hi Kuljaree,
Post by Kuljaree Tantayakul
Dear All,
Now I do my project about IPv6 and SDN. Also I chosen to use RYU Controller, support OFv1.3.
I want to setup IPv6 network by using OpenFlow Switch to do same as router.
I do follow the RYU Document that have IPv4 Switching Router by using rest_router.py.
Can you give me some suggestion, how to do IPv6 Switching Router?
As you know, currently, rest_router.py does not support IPv6.
If you need IPv6 Switching Router, how about implementing it?
If you will implement it, For example,
rest_router.py analyses packets as IPv4 at this function.
(https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L948-L962)
So I think you need to modify it to analyse packets as IPv6.
And, rest_router.py uses ARP protocol, also needs to modify to use ICMPv6.
Thanks
Post by Kuljaree Tantayakul
Best Regards,
Kuljaree
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Loading...