Re: [Ryu-devel] Testing BGP in ryu

2017-07-02 Thread Iwase Yusuke
Hi Pynbiang, Did you execute "sudo update-grub" command and then reboot? The outputs of "ip a" command shows IPv6 is NOT enabled... Thanks, Iwase On 2017年07月01日 17:27, Pynbiang Hadem wrote: Hi Fujimoto, I have made the changes pointed out by you as below: 1)---/etc/sysctl.conf

Re: [Ryu-devel] Testing BGP in ryu

2017-07-01 Thread Pynbiang Hadem
Hi Fujimoto, I have made the changes pointed out by you as below: 1)---/etc/sysctl.conf --- # Mininet: disable IPv6 #net.ipv6.conf.all.disable_ipv6 = 1 #net.ipv6.conf.default.disable_ipv6 = 1 #net.ipv6.conf.lo.disable_ipv6 = 1 2)--- /etc/default/grub

Re: [Ryu-devel] Testing BGP in ryu

2017-06-27 Thread Iwase Yusuke
Hi Pynbiang, Mininet does "disable IPv6" with some reason, I guess. But on my environment, I can run Mininet with IPv6 enabled. To revert "disable IPv6" settings; 1. Comment inserted line out from "/etc/sysctl.conf" and invoke "sysctl -p" to take effect. --- # Mininet: disable IPv6

Re: [Ryu-devel] Testing BGP in ryu

2017-06-27 Thread Pynbiang Hadem
HI Fujimoto, Yes, i guess you are right. i have the following lines of code in */etc/sysctl.conf* *# Mininet: disable IPv6* *net.ipv6.conf.all.disable_ipv6 = 1* *net.ipv6.conf.default.disable_ipv6 = 1* *net.ipv6.conf.lo.disable_ipv6 = 1* And the following code in */etc/default/grub*

Re: [Ryu-devel] Testing BGP in ryu

2017-06-25 Thread Iwase Yusuke
Hi Pynbiang, Excuse me for jumping in. It's just my guess, is IPv6 disabled on your machine? Mininet does disable IPv6 automatically on its installation. https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639 Could you confirm the IPv6

Re: [Ryu-devel] Testing BGP in ryu

2017-06-24 Thread Pynbiang Hadem
Hi, Fujimoto Tried with as you suggested. sudo ryu-manager ryu/services/protocols/bgp/application.py --bgp-app-config-file ryu/services/protocols/bgp/bgp_sample_conf.py However, the output is still the same. what could be the issue?. Thanks Hadem On Fri, Jun 23, 2017 at 5:33 AM, Fujimoto

Re: [Ryu-devel] Testing BGP in ryu

2017-06-22 Thread Fujimoto Satoshi
Hi, Pynbiang Thank you for sending your log messages! In the messages, I've found: Error creating socket: [Errno 13] Permission denied So, "ryu-manager" may not have authority to use well-known port 179, which is used for BGP protocol. Please run your command with "sudo", that is: sudo

Re: [Ryu-devel] Testing BGP in ryu

2017-06-22 Thread Pynbiang Hadem
Hi Fujimoto, *Pls ignore the last mail. I have corrected the command as below as pointed out by you in one of the other Forum blogs:* ryu-manager ryu/services/protocols/bgp/application.py --bgp-app-config-file ryu/services/protocols/bgp/bgp_sample_conf.py *Output:* lzma module is not available

Re: [Ryu-devel] Testing BGP in ryu

2017-06-22 Thread Pynbiang Hadem
Hi Fujimoto, Just to avoid any further complications, i have now executed the following command: *Command:* ryu-manager --verbose --config-file ryu/ryu/services/protocols/bgp/bgp_sample_conf.py /home/mininet/ryu/ryu/services/protocols/bgp/application.py *Output:* Traceback (most recent call

Re: [Ryu-devel] Testing BGP in ryu

2017-06-21 Thread Fujimoto Satoshi
Hi, Pynbiang I'm sorry for that I've overlooked your reply. I think something may be wrong with your ryu.conf, especially about IP address or port settings. Please check your ryu.conf, or could you let me see your ryu.conf? Thanks, Fujimoto On 2017年06月22日 01:42, Pynbiang Hadem wrote: Hi

Re: [Ryu-devel] Testing BGP in ryu

2017-06-21 Thread Pynbiang Hadem
Hi Fujimoto, I have followed the steps given by you: 1) $ sudo mn --switch ovsbr --topo single,2 --mac -x 2) in host1 (xterm) i executed the following: root@mininet-vm:~# ryu-manager --verbose --config-file /home/mininet/ryubgp/ryu.conf

Re: [Ryu-devel] Testing BGP in ryu

2017-04-07 Thread Pynbiang Hadem
Hi, I'm running the above BGP test applications on ryu 3.30 and am getting some errors: File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 46, in socket_checkerr raise socket.error(err, errno.errorcode[err]) error: [Errno 101] ENETUNREACH I executed as below:

Re: [Ryu-devel] Testing BGP in ryu

2017-04-03 Thread Pynbiang Hadem
Thanks Fujimoto for the insightful reply. I will try to implement it accordingly. Thanks Hadem On Tue, Apr 4, 2017 at 8:28 AM, Fujimoto Satoshi < satoshi.fujimo...@gmail.com> wrote: > Hi, Pynbiang > > > FYI, you can run two Ryu BGP applications by the following steps: > > 1. Run mininet >

Re: [Ryu-devel] Testing BGP in ryu

2017-04-03 Thread Fujimoto Satoshi
Hi, Pynbiang FYI, you can run two Ryu BGP applications by the following steps: 1. Run mininet $ sudo mn --switch ovsbr --topo single,2 --mac -x 2. Run applications in each host h1> ryu-manager [application1.py] --bgp-app-config-file [config_file_for_application1.py] h2>

Re: [Ryu-devel] Testing BGP in ryu

2017-04-03 Thread Fujimoto Satoshi
Hi, Pynbiang I guess it is the cause of the problem that the two applications use the same port. Unfortunately, the port which the application uses is no configurable, so you cannot run the two applications simultaneously in a single host. To run the applications, I suggest the following

Re: [Ryu-devel] Testing BGP in ryu

2017-04-03 Thread Pynbiang Hadem
Hi, I prepared two instances of the RYU BGP app as below: 1) /home/mininet/BGP1/application1.py 2) /home/mininet/BGP2/application2.py I also made the changes to the application1.py (correspondingly for application2.py) as below: CONF.register_opts([ cfg.IntOpt('bind-port', default=50001,

Re: [Ryu-devel] Testing BGP in ryu

2017-04-02 Thread Fujimoto Satoshi
Hi, Pynbiang. Yes, you need to run at least 3 instances of the application for a network with three AS. If you want to run more BGP instances in an AS, you need to run more instances of the application. Thanks, Fujimoto On 2017年04月02日 19:42, Pynbiang Hadem wrote: Hi, I want to run the