On Sat, Aug 11, 2012 at 10:06 PM, 吴天一(Land@CosHiM)wrote: > hi > > how to set eth1? set to slave or normal. > and for server i want to use bond too, so i set ip address on br0 or on the > fake-iface >
Please, keep replies on list. see relevant lines of my ifcfg-bond0: DEVICETYPE=ovs TYPE=OVSBond OVS_BRIDGE=br0 BOND_IFACES="eth2 eth3" OVS_OPTIONS="bond_mode=balance-slb trunks=65,66 bond_updelay=200 other_config:bond-detect-mode=miimon other_config:bond-miimon-interval=100" NOTE: see man page for correct bond_mode parameter to use depending on your switch configuration As in the readme file, for my bond slaves (eth2 and eth3 in my case), I simply put this kind of config ifcfg-eth2 DEVICE=eth2 HWADDR=.... ONBOOT=yes BOOTPROTO=none NM_CONTROLLED=no HOTPLUG=no the bonding part is up to the config lines inside ifcfg-bond0 file To see then the status of bond you run ovs-appctl bond/show bond0 I also kept away the bonding parts in modprobe.d directory that I had before with "standard" bonding and bridges. In my case, with vlan65 and vlan66 configured, the ip of the server itself is on vlan66 and so I put IPADDR=IP_ADDR_ON_VLAN66 NETMASK=255.255.255.0 in ifcfg-brvlan66 (the fake bridge) So that when you run "ifconfig -a" you will see the ip inside the brvlan66 part... I don't put any ip in ifcfg-brvlan65, because I don't need it on the server for that LAN HIH, Gianluca _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss