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, 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. Thanks!, --J _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I don''t have any Debian specific information but if I understand it correctly, the naming of the bridges is more a functiion of which major version of Xen you are running as opposed to a distro-specific thing. For instance, Redhat 5 which includes xen 3.1.2 disguised as xen 3.0.3 also renames their physical device as peth0. so it may not be deb-specific at all, just that they are still running an older version of xen. Steve On Fri, 21 Aug 2009, Joshua Kinard 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, 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. > > Thanks!, > > --J >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Aug 21, 2009 at 8:57 PM, Joshua Kinard<joshua.kinard@sdc-world.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Fajar A. Nugraha [fajar@fajar.net] 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@sdc-world.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users