tmpbridge is the name of the bridge and networking not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-common (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was under the impression that the name of the default bridge would be "eth0"
(or "peth0" or "xenbr0"), instead I see "tmpbridge" as having been created.
In either case, I can't ssh to Dom0 from DomU, nor the reverse.
Nor can I ping any machine on the Internet from DomU.
I think xen-tools is not working correctly
on Ubuntu PrecisePangolin 12.04 with xen-tools 4.2.1-1.
I also see my Network Manager icon constantly reporting
that something has been disconnected every 30 seconds or so.
Output from `sudo ifconfig -a` on Dom0:
eth0 Link encap:Ethernet HWaddr 00:22:19:2c:b9:db
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::222:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:136340 errors:0 dropped:0 overruns:0 frame:0
TX packets:93781 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:176393891 (176.3 MB) TX bytes:14595539 (14.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4115 errors:0 dropped:0 overruns:0 frame:0
TX packets:4115 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:470107 (470.1 KB) TX bytes:470107 (470.1 KB)
tmpbridge Link encap:Ethernet HWaddr 92:45:75:85:57:a7
BROADCAST 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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Contents of one of my VM's config file: /etc/xen/
kernel = '/boot/
ramdisk = '/boot/
vcpus = '1'
memory = '1024'
root = '/dev/xvda2 ro'
disk = [
]
name = 'xen002'
vif = [ 'ip=192.
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
Contents of xend-config.sxp with commented and blank lines removed:
$ cat xend-config.sxp | grep -v "^#" | sed -e '/^$/d'
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(enable-
(total_
(dom0-cpus 0)
(vncpasswd '')
I also will add that I don't think the syntax of naming a bridge works either.
Meaning, If I change the network-script line to
(network-script 'network-bridge bridge=br3')
I don't see anything get created named "br3".
I have zero experience with Xen so there may be a lot of user
error here but I am willing and able to provide more tests and information.
That's likely not a bug in xen-tools as it does not fiddle with the bridges unless explicitly told to do so. Not sure which package else, though, maybe xen-utils-common?