Hi,
I will answer a part of the questions.
On 2015年01月06日 17:28, Albert Peng wrote:
> Dear Engineering:
>
> I'm trying to configure the RYU router in OVS switch,
>
> In here, i found some problem,
> the first one:
> when i was setting the gateway like this
> e.g.
> curl -X POST -d '{"address":"172.16.10.10/24 <http://172.16.10.10/24>"}'
> http://localhost:8080/router/all
>
> curl -X POST -d '{"gateway":"172.16.10.1"}' http://localhost:8080/router/all
>
> after this two setting i want to put the detail on it.
>
> curl http://localhost:8080/router/all
>
> in here it will show two things
> one is address the other is route.
> but,it can't show the route one to me.and when i was setting the gateway the
> result was success
If the registered route information of MAC address resolved by ARP, rest_router
to display the route information.
Example of the display result is as follows.
$ curl http://localhost:8080/router/all
[{"internal_network": [{"route": [{"route_id": 1, "destination": "0.0.0.0/0",
"gateway": "172.16.10.1"}], "address": [{"address_id": 1, "address":
"172.16.10.10/24"}]}], "switch_id": "0000000000000001"}]r
There is a possibility that the value of the IP address set in the gateway
terminal is incorrect.
> ----------------------------------------------------------------------------------------------------------------------------------------
> the second one:
> when i was configure the router with vlan .
> this is the topology
> vm1------>OVS<------vm2
> vm1 vlan=2 ip 172.16.10.10/24 <http://172.16.10.10/24> gw=172.16.10.1
> vm2 vlan=3 ip 192.16.10.10/24 <http://192.16.10.10/24> gw=192.16.10.1
> host ip=10.0.0.2
> I used the ovs-vsctl to add vlan on OVS rather than on the vm.
>
> when i using the rest_router.py
> if i setting like this
> curl -X POST -d '{"address":"172.16.10.10/24 <http://172.16.10.10/24>"}'
> http://localhost:8080/router/all/2
> the vm can't ping to the host
> but it the setting
> curl -X POST -d '{"address":"172.16.10.10/24 <http://172.16.10.10/24>"}'
> http://localhost:8080/router/all/all
> it works!!
>
> and now the setting the vlan on the vm
> i have to setting the RYU like
> curl -X POST -d '{"address":"172.16.10.10/24 <http://172.16.10.10/24>"}'
> http://localhost:8080/router/all/2
> then it works!
>
> but , what is the diff between the OVS vlan setting and vm setting.
> why the commands are different if i want to communicate to the host???
>
> and the last question,if it possible to inter_vlan routing like this kind of
> topology??
> in here,the vlan are different and ip domain are different but it can't
> communicate.
> and, the vlan are different aand ip domain is same is also.
> so i am thinking ,the RYU_routing can support inter vlan routing??
> by the way, i'm already tried the kernel routing.it <http://routing.it> work
> without RYU!.
>
>
> Best Regard
>
> Albert Peng
> Email:[email protected] <mailto:email%[email protected]>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel