[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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....

--J

________________________________________
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fajar A. Nugraha 
[fajar@xxxxxxxxx]
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
xend-config.sxp).

--
Fajar

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.