Hi all, Now, I successfully created two tunnels between External OpenvSwitch and DomUs. I added two tunnels as ports to bridge with out assigning any IP addresses to tunnels.
Thanks to Ben Pfaff for his explanation, Initially I thought that IP assignment is required to each tunnel like in normal Linux machines, but this is not the case with OpenvSwitch (create a bridge and add tunnels as ports to bridge are enough). On Fri, Dec 17, 2010 at 1:47 AM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, Dec 17, 2010 at 01:25:17AM +0530, Ramana Reddy wrote: > > This is the post from jesse regarding GRE tunnels in OVS mailing list: > > http://www.mail-archive.com/discuss@openvswitch.org/msg00360.html > > > > I replicated the same steps here for both tunnel1 and tunnel2: > > > > *tunnel1:* > > > > # ovs-vsctl create interface name=tunnel1 type gre options:remote_ip > > =x.x.x.x > > # ovs-vsctl create port name=tunnel1 interfaces= [uuid] > > # ovs-vsctl add bridge br0 ports uuid > > > > Now bridge br0 is assigned to IP address: > > # ifconfig br0 xx.xx.xx.xx up > > > > *tunnel2:* > > # ovs-vsctl create interface name=tunnel2 type gre options:remote_ip > > =y.y.y.y > > # ovs-vsctl create port name=tunnel2 interfaces=[uuid] > > # ovs-vsctl add bridge br1 ports uuid > > > > Now bridge br1 is assigned to IP address: > > # ifconfig br1 yy.yy.yy.yy up > > > > Here, bridge br0 creates corresponding datapath dp0 and bridge br1 > creates > > datapath dp1 in OpenVswitch. > > It sounds like you just need two IP addresses on different ports on a > single bridge. That's easy. To add another IP address to a bridge, > create an "internal" interface, then configure it with ifconfig in the > usual way, e.g.: > > ovs-vsctl add-port br0 myif -- set interface myif type=internal > ifconfig myif 1.2.3.4 >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org