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-users

[Xen-users] Ubuntu 8.04 Hardy Heron bridged networking xen connectivity

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Ubuntu 8.04 Hardy Heron bridged networking xen connectivity loss
From: Mike Power <mpower@xxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Sep 2008 19:55:05 -0700
Delivery-date: Wed, 03 Sep 2008 19:55:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: mpower@xxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080724)
Last problem I had involved changing one character in my configuration scripts. Really easy once someone showed me what was wrong.

Well I think this issue is just the same. The moment I used apt to install the Xen kernal and tools I lost internet connectivity. I have been managing because I can restore connectivity be deleting the bridge

mpower@dodtsair:~$ sudo ifdown eth0
mpower@dodtsair:~$ sudo brctl delbr eth0


But that means any domUs will not have connectivity. I have not had any till now so it wasn't much of an issues. But thanks to your help now I have XP running.

Ultimately I would really like you to show me the documentation that tells me how to fix this. I am pretty sure it exists but my googling has not been effective in this area.

Some things that seem dubious to me are the fact that eth0(the bridge) looks like an exact clone of peth0 from ifconfig. I would have expected them to have different HWaddr and at the very least different inet addr. Another dubious thing is the routing table, double routes one for each interface. Shouldn't that confuse the heck out of the OS? Lastly I have no clue why the next line is in the routing table:
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0

Here is that status of my system on boot with networking broken:

mpower@dodtsair:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:22:15:3f:f2:0d inet addr:75.101.5.130 Bcast:75.101.5.255 Mask:255.255.255.0
         inet6 addr: fe80::222:15ff:fe3f:f20d/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:462 errors:0 dropped:0 overruns:0 frame:0
         TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:32133 (31.3 KB)  TX bytes:29676 (28.9 KB)

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:575 errors:0 dropped:0 overruns:0 frame:0
         TX packets:575 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:64462 (62.9 KB)  TX bytes:64462 (62.9 KB)

peth0 Link encap:Ethernet HWaddr 00:22:15:3f:f2:0d inet addr:75.101.5.130 Bcast:75.101.5.255 Mask:255.255.255.0
         inet6 addr: fe80::222:15ff:fe3f:f20d/64 Scope:Link
         UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
         RX packets:531 errors:0 dropped:80563353626 overruns:0 frame:0
         TX packets:497 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:45589 (44.5 KB)  TX bytes:54250 (52.9 KB)
         Interrupt:18 Base address:0xa000

mpower@dodtsair:~$ sudo brctl show
bridge name    bridge id        STP enabled    interfaces
eth0        8000.0022153ff20d    no        peth0

mpower@dodtsair:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 75.101.5.0 0.0.0.0 255.255.255.0 U 0 0 0 peth0
75.101.5.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0 75.101.5.1 0.0.0.0 UG 0 0 0 peth0
0.0.0.0         75.101.5.1      0.0.0.0         UG    100    0        0 eth0

mpower@dodtsair:~$ sudo ethtool eth0
Settings for eth0:
   Link detected: yes

mpower@dodtsair:~$ sudo ethtool peth0
Settings for peth0:
   Supported ports: [ TP ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Supports auto-negotiation: Yes
   Advertised link modes:  10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Advertised auto-negotiation: Yes
   Speed: 100Mb/s
   Duplex: Full
   Port: Twisted Pair
   PHYAD: 0
   Transceiver: internal
   Auto-negotiation: on
   Supports Wake-on: pumbg
   Wake-on: g
   Current message level: 0x00000033 (51)
   Link detected: yes

mpower@dodtsair:~$ sudo /etc/Xen/scripts/network-bridge status
============================================================
10: peth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:22:15:3f:f2:0d brd ff:ff:ff:ff:ff:ff
   inet 75.101.5.130/24 brd 75.101.5.255 scope global peth0
   inet6 fe80::222:15ff:fe3f:f20d/64 scope link
      valid_lft forever preferred_lft forever
11: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
   link/ether 00:22:15:3f:f2:0d brd ff:ff:ff:ff:ff:ff
   inet 75.101.5.130/24 brd 75.101.5.255 scope global eth0
   inet6 fe80::222:15ff:fe3f:f20d/64 scope link
      valid_lft forever preferred_lft forever

bridge name    bridge id        STP enabled    interfaces
eth0        8000.0022153ff20d    no        peth0

75.101.5.0/24 dev peth0  proto kernel  scope link  src 75.101.5.130
75.101.5.0/24 dev eth0  proto kernel  scope link  src 75.101.5.130
169.254.0.0/16 dev eth0  scope link  metric 1000
default via 75.101.5.1 dev peth0
default via 75.101.5.1 dev eth0  metric 100

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 75.101.5.0 0.0.0.0 255.255.255.0 U 0 0 0 peth0
75.101.5.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0 75.101.5.1 0.0.0.0 UG 0 0 0 peth0
0.0.0.0         75.101.5.1      0.0.0.0         UG    100    0        0 eth0
============================================================

I'll try the following before I send.

ifconfig eth0 mtu 1496

That didn't work.

Mike Power




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

<Prev in Thread] Current Thread [Next in Thread>