Displaying 11 results from an estimated 11 matches for "do_ifup".
Did you mean:
do_if
2012 Jan 12
3
Bug#655581: xen-utils-common: network-bridge breaks the network setup when using ethernet bonding.
...-bridge scripts breaks the network.
I have run through the commands manually in irder to establish the culprit.
In the op_start function (Starting on line 214) everything is fine up until line 251.
At this point the bridge has been created, devices renamed and the network is fine, but then
it runs do_ifup {$bridge}. In this function on line 111 it does ifup $1.
This breaks everything.
My solution is to surround the do_ifup ${bridge} line with a condition:
if [ ! -n "${slaves}" ]; then
do_ifup {$bridge}
fi
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy:...
2012 Jan 12
0
Bug#655581: solution
Apologies, there is a slight change required to the solution. replace
the do_ifup line as follows:
if [ -n "${slaves}" ]; then
ip link set dev $bridge up
[ -n "$gateway" ] && ip route add default via ${gateway}
else
do_ifup ${bridge}
fi
--
Philip Ward
Unix Systems Administrator
01786 467274 (ext 7274)
--...
2010 Jul 08
2
Bug#588477: network-bridge: start: 95 sec sleep/bridge without a default gateway
Package: xen-utils-common
Version: 4.0.0-1
Severity: normal
Tags: patch
do_ifup() in network-bridge exits badly, if the interface doesn't have a
default gateway.
Since it's wrapped in xen's locking script it causes it to be retied 100
times and sleep for 95 seconds before it continues.
In my setup this amounts to:
16 vlans without a default gateway * 95 secs / br...
2010 Aug 18
8
Patch fixing vlan handling when network-bridge script is used
...proc/net/vlan/${netdev}* 2>/dev/null`; do
+ vlan_id=$(echo ${vlan} | sed -e "s/.*${netdev}.\(.*\)/\1/")
+ vlan_if=${netdev}.${vlan_id}
+
+ get_ip_info ${vlan_if}
+
+ vconfig rem ${vlan_if}
+ sleep 1
+ vconfig add ${bridge} ${vlan_id}
+
+ do_ifup ${bridge}.${vlan_id}
+ done
+}
+
+handle_vlan_stop() {
+ for vlan in `ls /proc/net/vlan/${bridge}* 2>/dev/null`; do
+ vlan_id=$(echo ${vlan} | sed -e "s/.*${bridge}.\(.*\)/\1/")
+ vlan_if=${bridge}.${vlan_id}
+
+ get_ip_info ${vlan_if}
+
+ vconfig rem...
2012 Jul 09
3
Bug#588477: [PATCH] hotplug: network-bridge: fix for interfaces with no gateway
...Signed-off-by: Ian Campbell <ian.campbel at citrix.com>
diff -r 1d33f934dd67 -r 310aa4c07d02 tools/hotplug/Linux/network-bridge
--- a/tools/hotplug/Linux/network-bridge Tue Jul 10 00:14:54 2012 +0100
+++ b/tools/hotplug/Linux/network-bridge Tue Jul 10 00:41:45 2012 +0100
@@ -115,7 +115,9 @@ do_ifup() {
ip addr add ${addr_pfx} dev $1
fi
ip link set dev $1 up
- [ -n "$gateway" ] && ip route add default via ${gateway}
+ if [ -n "$gateway" ] ; then
+ ip route add default via ${gateway}
+ fi
fi
}
2011 Dec 19
12
UDP checksums broken in Dom0 -> DomU vif transfer
...rce.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 this patch.
It some solutions su...
2013 Jun 08
0
xen-4 dom0 bridge failed to bring up eth1
...th1-3:tg3 wheezy -> boot_xen:ok net:ok
bridge:fail
So i running "xend start" (or "xenbridges start")
on my patient (R620 with broadcom tg3)
network will be lost:
RTNETLINK answers: File exists
Failed to bring up eth1.
It seen to be a problem near scripts/network-bridge:do_ifup()
workaround seen to be: simple add "ifconfig $1 up"
Whats going wrong?
Which direction should I look now? (my(config), tg3, wheezy, ...)
details below.
Regards Torsten
# egrep -v "#|^$" /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth1
allow-hotplug eth1
i...
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
2009 Jan 12
1
Bug#511579: network-bridge script does not work if netdev is not in /e/n/interfaces
...but
connected to a network to which the DomUs are supposed to be connected.
This setup does not work with the network-bridge script, because it does
not bring eth0 up, after it became the bridge and in consequence the
DomUs do have link, but no network connectivity.
I guess the problem lies in the do_ifup function which tries to call
ifup to bring the new interface (bridge with the name of the original eth
device) up. There is an alternative code path which I guess is supposed
to be called if devices are not in /e/n/interfaces, where the script
expects that ifup would exit with a non-zero exit code....
2008 Sep 09
14
Problems with bridged networking
Hi,
I''m using Xen 3.0.3 on two servers with Debian Etch (amd64). These
servers have 10 nics (2 onboard and 8 in two 4-port cards) so that
every vm can have its own interface.
This worked so far with the Xen Version from Etch with a wrapper
script wich started 10 bridges at boot time. But now I''ve updated Xen
on one of these server to Xen 3.2.0 from backports.org and now the
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