Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-12-07 Thread Pynbiang Hadem
Hi Takeshi, If you were to introduce a controller for each AS, how would your example be modified to achieve this?. Thanks Hadem On Mon, Mar 12, 2018 at 11:11 AM Yi Tseng wrote: > [+mininet mailing list] > > Hi, > > I think what you need to do is to create 6 network namespace and run > quagga+

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-05-01 Thread Yi Tseng
Hi Can you list all listen ports inside your network namespace *r1* ? Also, I believe that the name of BGP daemon is called *bgpd* 2018-05-01 20:32 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > I have now installed the setup environment on Ubuntu 16.04. I am still > getting the same problem. >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-05-01 Thread Pynbiang Hadem
Hi Takeshi, I have now installed the setup environment on Ubuntu 16.04. I am still getting the same problem. I observed the following: 1) If i run: *sudo ryu-manager ryu/services/protocols/bgp/application.py --bgp-app-config-file ryu/services/protocols/bgp/bgp_sample_conf.py * inside the names

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-19 Thread Yi Tseng
Hi, I use apt-get to install quagga can you check all listen port on your OS before you start Ryu ? 2018-04-19 20:28 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > *I am now running the complete environment in Ubuntu 16.04. However i am > still getting the below error:* > *root@ubuntu:~/ryu# ryu-

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-19 Thread Pynbiang Hadem
Hi Takeshi, *I am now running the complete environment in Ubuntu 16.04. However i am still getting the below error:* *root@ubuntu:~/ryu# ryu-manager ryu/services/protocols/bgp/application.py --bgp-app-config-file bgpconfig1.py* *loading app ryu/services/protocols/bgp/application.py* *instantiating

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-17 Thread Yi Tseng
I tested it with 16.04, but it should also works on 14.04 2018-04-18 0:34 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > Will your topology work only in Ubuntu 16 or will it also work in Ubuntu > 14 LTS?. > Presently I'm using Ubuntu 14 LTS. > > Thanks > Hadem > > On Tue 17 Apr, 2018, 12:20 PM Yi Tse

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-17 Thread Pynbiang Hadem
Hi Takeshi, Will your topology work only in Ubuntu 16 or will it also work in Ubuntu 14 LTS?. Presently I'm using Ubuntu 14 LTS. Thanks Hadem On Tue 17 Apr, 2018, 12:20 PM Yi Tseng, wrote: > Please use *killall* command to kill quagga daemon instead of using > *service* command > > 2018-04-13 2

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-16 Thread Yi Tseng
Please use *killall* command to kill quagga daemon instead of using *service* command 2018-04-13 22:31 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > I tried stopping quagga as below: > > *root@mininet-vm:~/ryu# sudo service quagga stop* > *Stopping Quagga monitor daemon: (watchquagga).* > *Stoppin

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-13 Thread Pynbiang Hadem
Hi Takeshi, I tried stopping quagga as below: *root@mininet-vm:~/ryu# sudo service quagga stop* *Stopping Quagga monitor daemon: (watchquagga).* *Stopping Quagga daemons (prio:0): (zebra) (bgpd) (ripd) (ripngd) (ospfd) (ospf6d) (isisd) (babeld).* *Removing all routes made by zebra.* However when

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-13 Thread Yi Tseng
Yes, I think because Ryu and Quagga uses same port for bgp protocol 2018-04-13 19:44 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > No, i have not shutdown Quagga daemon before starting Ryu. Do i need to > stop it?. > > Thanks > Hadem > > On Thu, Apr 12, 2018 at 9:35 PM, Yi Tseng wrote: > >> Hi >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-13 Thread Pynbiang Hadem
Hi Takeshi, No, i have not shutdown Quagga daemon before starting Ryu. Do i need to stop it?. Thanks Hadem On Thu, Apr 12, 2018 at 9:35 PM, Yi Tseng wrote: > Hi > > please see comment inline: > > 2018-04-12 23:10 GMT+08:00 Pynbiang Hadem : > >> Hi Takeshi, >> >> I am following the below steps:

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-12 Thread Yi Tseng
Hi please see comment inline: 2018-04-12 23:10 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > I am following the below steps: > 1) sudo python as.py ---> runs successfully > 2) On a new terminal: sudo mininet/util m r1 ---> Gives me a new prompt > but not sure if i am in a new separate namespace.

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-12 Thread Pynbiang Hadem
Hi Takeshi, I am following the below steps: 1) sudo python as.py ---> runs successfully 2) On a new terminal: sudo mininet/util m r1 ---> Gives me a new prompt but not sure if i am in a new separate namespace. Pls confirm if this is the correct way 3) On a new terminal: sudo mininet/util m r2 ---

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-12 Thread Yi Tseng
Hi, You need to write the configuration for your bgp routers, I think bgp_sample_conf.py includes everything you need, all you need is to modify values in that configuration After that, you can run Ryu bgp application directly in two network namespace with two configuration. I never try Ryu BGP

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-11 Thread Pynbiang Hadem
Hi Takeshi, I Think i have managed to enter the namespace of r1 using the* m command.* *Now, I have one more doubt;* How can we execute ryu /ryu /services /protocols

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-11 Thread Pynbiang Hadem
Hi Takeshi, Would you mind showing some example to enter the namespace of r1. I can't seemed to figure it out. Thanks Hadem On Fri, Mar 16, 2018 at 1:15 PM, Yi Tseng wrote: > 1) > Yes, this is normal > 2) > You need to enter network namespace of r1, and use telnet to access quagga > console >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-16 Thread Yi Tseng
1) Yes, this is normal 2) You need to enter network namespace of r1, and use telnet to access quagga console To enter the namespace, you can use *m* command https://github.com/mininet/mininet/blob/master/util/m 2018-03-16 0:20 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > I am able to run it now,

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-15 Thread Pynbiang Hadem
Hi Takeshi, I am able to run it now, however, there are two things: *1) I am getting errRun mesages as below:* - mininet@mininet-vm:~/bgp-3as$ sudo python as.py *** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo'] 1 0*** Setting resource limits *** errRun: ['whic

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-13 Thread Yi Tseng
Hi, Please don't drop mailing list I just update it, please check again Yi 2018-03-13 18:19 GMT+08:00 Pynbiang Hadem : > Hi Takeshi, > > I run the topology file *as.py* from *bgp-3as* and i got the following > error messages. Pls help > > mininet@mininet-vm:~/bgp-3as$ sudo python as.py > *** e

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-12 Thread Pynbiang Hadem
Thanks Takeshi, Will try it out. Will get back in case of any more doubts. Thanks Hadem On Mon, Mar 12, 2018 at 11:11 AM, Yi Tseng wrote: > [+mininet mailing list] > > Hi, > > I think what you need to do is to create 6 network namespace and run > quagga+zebra process inside 3 of namespace. > >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-11 Thread Yi Tseng
[+mininet mailing list] Hi, I think what you need to do is to create 6 network namespace and run quagga+zebra process inside 3 of namespace. No switch(and controller) in your topology. All you need is to install mininet and quagga(via apt-get) and enable ip forwarding on your host machine And

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-11 Thread Pynbiang Hadem
Hi, Can anyone suggest how i can achieve the target objective in mininet and ryu. Thanks Hadem On Sun, Mar 11, 2018 at 11:30 AM, knet solutions wrote: > Hi , > > KNet is alternative for Mininet. Host systems are based on docker not > namespace. KNet supports traditional routers(bird routing

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-09 Thread Pynbiang Hadem
Hi Suresh, 1) KNet should be installed on Mininet or without Mininet?. 2) To achieve independent namespaces for each switches, do we need Quagga and Zebra?. Thanks Hadem On Sat, Mar 10, 2018 at 10:24 AM, Pynbiang Hadem wrote: > Thanks Suresh from KNet. > > I will read the documentation, try i