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

Admin HRD.pl admin at hrd.pl
Fri Aug 20 11:14:28 UTC 2010


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




More information about the discuss mailing list