WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 431] Starting Xen disconnects machine from network

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 431] Starting Xen disconnects machine from network
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 06 Dec 2005 06:32:35 +0000
Delivery-date: Tue, 06 Dec 2005 06:32:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=431





------- Additional Comments From jacquesb@xxxxxxxxx  2005-12-06 06:32 -------
Here is a screen log of what is happening, plus the output from the requested
commands:

host:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:25:8E:7B:40  
          inet addr:10.43.234.101  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:37 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3052 (2.9 KiB)  TX bytes:2288 (2.2 KiB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

host:~# 
host:~# ping 10.43.234.1
PING 10.43.234.1 (10.43.234.1) 56(84) bytes of data.
64 bytes from 10.43.234.1: icmp_seq=1 ttl=255 time=0.260 ms
64 bytes from 10.43.234.1: icmp_seq=2 ttl=255 time=0.226 ms
64 bytes from 10.43.234.1: icmp_seq=3 ttl=255 time=0.246 ms

--- 10.43.234.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.226/0.244/0.260/0.013 ms
host:~# sh -x /etc/xen/scripts/network-bridge start
++ dirname /etc/xen/scripts/network-bridge
+ dir=/etc/xen/scripts
+ . /etc/xen/scripts/xen-script-common.sh
++ set -e
+ . /etc/xen/scripts/xen-network-common.sh
++ '[' -e /etc/SuSE-release ']'
++ which ifup
+ findCommand start
+ expr index start =
+ command=start
+ return
+ evalVariables start
+ expr index start = '>' 1
+ vifnum=0
+ bridge=xenbr0
+ netdev=eth0
+ antispoof=no
+ pdev=peth0
+ vdev=veth0
+ vif0=vif0.0
+ op_start
+ '[' xenbr0 == null ']'
+ link_exists veth0
+ ip link show veth0
+ return 0
+ create_bridge xenbr0
+ local bridge=xenbr0
+ brctl show
+ grep -q xenbr0
+ brctl addbr xenbr0
+ brctl stp xenbr0 off
+ brctl setfd xenbr0 0
+ ip link set xenbr0 up
+ link_exists veth0
+ ip link show veth0
+ return 0
++ ip link show eth0
++ grep 'link\/ether'
++ sed -e 's/.*ether \(..:..:..:..:..:..\).*/\1/'
+ mac=00:11:25:8e:7b:40
+ preiftransfer eth0
+ true
+ transfer_addrs eth0 veth0
+ local src=eth0
+ local dst=veth0
+ ip addr show dev veth0
+ egrep -q '^ *inet '
+ ip addr show dev eth0
+ egrep '^ *inet '
+ sed -e '
s/inet/ip addr add/
s@\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/[0-9]\+\)@\1@
s/eth0/dev veth0/
'
+ sh -e
+ ip route list
+ sed -ne '
/dev veth0\( \|$\)/ {
  s/^/ip route del /
  p
}'
+ sh -e
+ ifdown eth0
+ ip link set eth0 name peth0
+ ip link set veth0 name eth0
+ ip link set peth0 down arp off
+ ip link set peth0 addr fe:ff:ff:ff:ff:ff
+ ip addr flush peth0
+ ip link set eth0 addr 00:11:25:8e:7b:40 arp on
+ add_to_bridge xenbr0 vif0.0
+ local bridge=xenbr0
+ local dev=vif0.0
+ brctl show
+ grep -q vif0.0
+ brctl addif xenbr0 vif0.0
+ add_to_bridge xenbr0 peth0
+ local bridge=xenbr0
+ local dev=peth0
+ brctl show
+ grep -q peth0
+ brctl addif xenbr0 peth0
+ ip link set xenbr0 up
+ ip link set vif0.0 up
+ ip link set peth0 up
+ ifup eth0
+ '[' no == yes ']'
host:~# 
host:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:25:8E:7B:40  
          inet addr:10.43.234.101  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16 

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

host:~# ping 10.43.234.1
PING 10.43.234.1 (10.43.234.1) 56(84) bytes of data.
>From 10.43.234.101 icmp_seq=2 Destination Host Unreachable
>From 10.43.234.101 icmp_seq=3 Destination Host Unreachable
>From 10.43.234.101 icmp_seq=4 Destination Host Unreachable

--- 10.43.234.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5009ms
, pipe 3
host:~# 

host:~# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              peth0
                                                        vif0.0
host:~# brctl show br0
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              peth0
                                                        vif0.0

host:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.43.234.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         10.43.234.1     0.0.0.0         UG    0      0        0 eth0

I hope this input helps, please let me know if you need anything else.

(In reply to comment #4)
> Please post output of the following commands, run as root, from dom0:
> 
> brctl show
> brctl show br0
> ifconfig
> route -n
> 
> Thank you.



-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs