[ovs-discuss] OpenvSwitch - create virtual port on switch - virtual interface on Debian - help

ahmed amamou ahmed.amamou at hotmail.com
Fri Aug 20 14:33:26 UTC 2010



i think the solution is to do ans ifconfig down eth0  (eth0 not eth1)
route add default br0 
then if you connect a cable to the br0 (eth1)
 you will normalli be able to ping all vif 



> To: discuss at openvswitch.org
> Date: Fri, 20 Aug 2010 13:14:28 +0200
> From: admin at hrd.pl
> Subject: Re: [ovs-discuss] OpenvSwitch - create virtual port on switch - virtual interface on Debian - help
> 
> You are think I should add route for eth1 or br0 ??
> I don't know.
> 
> May I should delete eth1 from br0, and add eth1 as uplink for switch br0.
> 
> But how do this?
> 
> 
> 
> 
> 
> Dnia 20-08-2010 o 13:05:11 ahmed amamou <ahmed.amamou at hotmail.com>  
> napisał(a):
> 
> >
> >
> >> deb64:~# route
> >> Kernel IP routing table
> >> Destination     Gateway         Genmask         Flags Metric Ref    Use
> >> Iface
> >> 193.XX.212.0    *               255.255.252.0   U     0      0        0
> >> eth0
> >> 193.XX.212.0    *               255.255.252.0   U     0      0        0  
> >> vi0
> >> 193.XX.212.0    *               255.255.252.0   U     0      0        0
> >> vif1
> >> 193.XX.212.0    *               255.255.252.0   U     0      0        0
> >> vif2
> >> 193.XX.212.0    *               255.255.252.0   U     0      0        0
> >> vif3
> >> default         193.XX.215.254  0.0.0.0         UG    0      0        0
> >> eth0
> >
> >
> > I think the problem come from the routes definition
> >
> > as eth0 is still up and it's the first entry to route to net 193.XX.212.0
> >
> > machine that contain this routing table will always send packet to  
> > 193.XX.212.0 from eth0
> >
> > and it's also the default route so all packet that aren't in  
> > 193.XX.212.0 network will be sent from eth0
> > if you put eth0 down it will normally work because you will remove the  
> > first entry in routing table (that routing from eth0)
> > but if you ping a host that isn't in the 193.XX.212.0 network you 'll  
> > have to add a default route
> >
> >
> >
> >
> > hope that will help you  		 	   		
> 
> 
> -- 
> 
> Tomasz Waśniewski
> Admin HRD.pl
> 
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100820/7da405e8/attachment-0001.html>


More information about the discuss mailing list