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/
Home Products Support Community News


RE: [Xen-users] Debian & eth0 vs. peth0

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Debian & eth0 vs. peth0
From: Joshua Kinard <joshua.kinard@xxxxxxxxxxxxx>
Date: Fri, 21 Aug 2009 17:10:57 -0400
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Fri, 21 Aug 2009 14:14:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0908211354x63cb3ed8ib9de06f1fd21df56@xxxxxxxxxxxxxx>
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>
References: <E9E9BAC7D3459C40BAA714735552E0E450EE9FC760@xxxxxxxxxxxxxxxxxxxxxxxx>, <7207d96f0908211354x63cb3ed8ib9de06f1fd21df56@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoiobQpyGbc6OpxSL+FvEVPU1XItAAAiwP9
Thread-topic: [Xen-users] Debian & eth0 vs. peth0
Ah. I see.  I thought it was a Debian thing from some googling I did, as one 
site referenced something like (paraphrased) "In Debian, we have to do this 
...", and pointed the difference between peth0 and eth0.  Hence, I thought 
Debian instituted that change in their Xen packages.

Oh well, that's my mistake of the day!  Now if only setting up a proper apt 
mirror were a little easier....


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fajar A. Nugraha 
Sent: Friday, August 21, 2009 4:54 PM
To: Xen User-List
Subject: Re: [Xen-users] Debian & eth0 vs. peth0

On Fri, Aug 21, 2009 at 8:57 PM, Joshua
Kinard<joshua.kinard@xxxxxxxxxxxxx> wrote:
> It seems that with their specific Xen packages, Debian likes to go against
> the norm, and rather than calling the Xen bridging device something sensible
> like "xenbr0", they rename the main physical ethernet device "eth0" to
> "peth0" and create "eth0" as the Xen bridge (as far as I can tell,

Actually that's Xen's doing. Debian didn't change anything in the
naming convention. The naming was changed somewhere around Xen 3.3

> anyways).  Anyone know where exactly they do this so I can reverse it?  It's
> throwing my thinking off, because in all other Linux distros, I've always
> gone for the eth0 device when needing to do networking, and this name change
> just messes with things.

I believe the naming was chosen for that particular purpose : since
users are used to eth0, and the IP is now moved to the bridge, then it
makes sense to name the bridge eth0. Try looking at
/etc/xen/scripts/network-bridge if you want to change it.

I prefer to do my own bridging setup though, using standard OS methods
(/etc/network/interfaces for Debian/Ubuntu) and dumping Xen's
network-bridge script altogether (comment-out network-script on


Xen-users mailing list
Xen-users mailing list

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