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

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

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