[ovs-discuss] Question about configuration ovs-ctl and routing

Jesse Gross jesse at nicira.com
Sun Dec 19 23:49:26 UTC 2010


On Sun, Dec 19, 2010 at 3:00 PM, Admin HRD.pl <admin at hrd.pl> wrote:
> Hi All
>
> Can I do something like this?
>
> I have one NIC eth0
> And create tree vif0, vif1, vif2
> Create br0
>
> +--------|eth0|--------+
> |                      |
> |         br0          |
> |                      |
> +-|vif0|-|vif1|-|vif2|-+
>
>
> eth0 didn't have ip
> br0 didn't have ip
>
> vif0..2 have ip (this is a external IP not NAT)
> 193.x.0.100
> 193.x.0.101
> 193.x.0.102
>
> GW is 193.x.0.1
> Subnet /24
>
> How create routing table for openvswitch interfacess and how set gateway in
> routing table correctly ?

You need to set up the routing table in the VMs.  Open vSwitch is not
doing any routing, only switching.  It's the same as if you had a
number of machines connected to a physical Ethernet switch.




More information about the discuss mailing list