Displaying 8 results from an estimated 8 matches for "add_to_bridge2".
Did you mean:
add_to_bridge
2010 Feb 10
0
Script for bond+vlan bridging from red hat
2011 Dec 19
12
UDP checksums broken in Dom0 -> DomU vif transfer
...1-04/msg01235.html
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1655
The fix is to turn off UDP checksum offloading on the vif interface in
Dom0 as documented in the above mail:
I edited /etc/xen/scripts/network-bridge,
adding this command to the end of the op_start() function:
add_to_bridge2 ${bridge} ${pdev}
do_ifup ${netdev}
+ # disable ip checksum offloading for veth device
+ ethtool -K ${netdev} tx off
else
# old style without ${vdev}
Note: I am not sure which path is taken through the script, I set the
parameter manually with ethtool before I found...
2008 Dec 23
2
DomU strange network behavior
...9; ''
brctl show ${bridge}
echo '' ''
ip route list
echo '' ''
route -n
echo ''============================================================''
}
op_start () {
create_bridge xenbr0
add_to_bridge xenbr0 vif0.0
add_to_bridge2 xenbr0 bond0
transfer_addrs bond0 xenbr0
transfer_routes bond0 xenbr0
}
op_stop () {
transfer_routes xenbr0 bond0
ip link set xenbr0 down
brctl delbr xenbr0
}
# adds $dev to $bridge but waits for $dev to be in running state first
add_to_bridge2() {
local bridge=$1
lo...
2006 Jan 28
4
bad udp cksum by dns request in domU
Hello
I use XEN 3.0 in debian sarge. I have a domU1 for routing and firewall. This
domU1 use 2 network interfaces which is on a bridge ''gate'' and the other on
bridge ''lan''.
dumU2 use one interface (eth0) on bridge ''lan''.
Then I make a ping out of domU2 to www.debian.de so I get no answer. The name
isn''t resolved. A ping to IP of
2008 Apr 14
0
Etch Release / Bond networking
...e bridge dev
add_to_bridge () {
local bridge=$1
local dev=$2
# Don't add $dev to $bridge if it's already on a bridge.
if ! brctl show | grep -q ${dev} ; then
brctl addif ${bridge} ${dev}
fi
}
# adds $dev to $bridge but waits for $dev to be in running state first
add_to_bridge2() {
local bridge=$1
local dev=$2
local maxtries=10
echo -n "Waiting for ${dev} to negotiate link."
for i in `seq ${maxtries}` ; do
if ifconfig ${dev} | grep -q RUNNING ; then
break
else
echo -n '.'
sleep 1...
2006 May 12
2
[patch] xen bridged network setup fixes
Hi,
The attached patch fixes the setup of the bridge ports and the bridge
itself. Changes:
* move some functions to xen-network-common.sh, so both vif-bridge
and network-bridge can use them.
* add a new function to configure bridge ports and use it.
* make sure arp requests, ipv6 autoconfiguration and ipv6 router
solicitations are disabled for the bridge ports and also for the
2010 Aug 18
8
Patch fixing vlan handling when network-bridge script is used
...vconfig rem ${vlan_if}
+ sleep 1
+ vconfig add ${netdev} ${vlan_id}
+
+ do_ifup ${netdev}.${vlan_id}
+ done
+}
+
# Usage: transfer_addrs src dst
# Copy all IP addresses (including aliases) from device $src to device $dst.
transfer_addrs () {
@@ -254,6 +284,8 @@
add_to_bridge2 ${bridge} ${pdev}
do_ifup ${bridge}
+ handle_vlan_start
+
if [ ${antispoof} = ''yes'' ] ; then
antispoofing
fi
@@ -289,6 +321,8 @@
ip link set ${pdev} name ${netdev}
do_ifup ${netdev}
+ handle_vlan_stop
+
brctl delbr ${tdev}
release_l...
2006 Jul 07
7
[PATCH] xenconsole fix
xenconsole fix. reference of tty->count in xencons_close() is racy.
It must be protected by tty_sem semaphore like con_close() in
drivers/char/vt.c
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel