On Sat, Apr 17, 2010 at 08:44:55AM -0700, Xin Wang wrote:
> >And last time I asked this question, you replied me as follow:
> 
> "You need to move your IP address from eth0 to bri.  The switch will
> take the packets from eth0 before they make it to the IP stack, which
> is why you have the local port."
>  
> But I still don't know the exact steps how to switch the IP address,
> could ypou give me a more specified instruction.

To remove an IP address from eth0:
        ifconfig eth0 0.0.0.0

To add an IP address to bri:
        ifconfig bri 192.168.0.2 netmask 255.255.255.0
where 192.168.0.2 is the correct IP address and 255.255.255.0 is the
correct netmask.  You may need to configure a default gateway also:
        route add default gw 192.168.0.1
where 192.168.0.1 is the gateway's address.

> And more, in "ovs-vsctl" , could you tell me about the differences
> between "bridge" and "fake bridge" and the differences between "port"
> and "interface", and how to config them, Thank you!

A bridge is a virtual Ethernet switch.  A "fake bridge" is used to
support Linux-like VLAN bridging, as explained in the manpage under
"Linux VLAN Bridging Compatibility".

An interface is a network device such as eth0 or bri.  A port is an
interface or a bonded set of two or more interfaces.

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to