<datto@charter.net>
2005-Aug-26 18:51 UTC
[Xen-users] dom0 bootup -- Device eth0 has differet mac address than expected
CentOS 4.1, Xen 2.0.7. My dom0 is booting up but can''t get to the outside network because eth0 won''t start due to, apparently, Xen providing a different mac address than expected. How do I tell Xen to start eth0 at the bootup with a specific mac address that lines up with the HWADDR= line in my ifcfg-eth0? Note that a normal bootup into CentOS 4.1 outside of the Grub Xen bootup works fine since it''s sensing the mac address of the NIC in the machine rather than what I suspect is a virtualized mac address that Xen provides upon a Xen bootup. I''ve tried removing the HWADDR= lline in ifcfg-eth0 but that just makes the complaint different and eth0 won''t startup at all inside or outside of Xen. Is there someplace in the vif-bridge script to hardcode this required mac address to line it up with the ifcfg-eth0 HWADDR= mac address or is the place to hardcode a fixed mac address for dom0 located somplace else? Thanks for your help. Datto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2005-Aug-29 02:29 UTC
Re: [Xen-users] dom0 bootup -- Device eth0 has differet mac address than expected
datto@charter.net wrote:>CentOS 4.1, Xen 2.0.7. My dom0 is booting up but can''t get to the outside network because eth0 won''t start due to, apparently, Xen providing a different mac address than expected. How do I tell Xen to start eth0 at the bootup with a specific mac address that lines up with the HWADDR= line in my ifcfg-eth0? Note that a normal bootup into CentOS 4.1 outside of the Grub Xen bootup works fine since it''s sensing the mac address of the NIC in the machine rather than what I suspect is a virtualized mac address that Xen provides upon a Xen bootup. I''ve tried removing the HWADDR= lline in ifcfg-eth0 but that just makes the complaint different and eth0 won''t startup at all inside or outside of Xen. Is there someplace in the vif-bridge script to hardcode this required mac address to line it up with the ifcfg-eth0 HWADDR= mac address or is the place to hardcode a fixed mac address for dom0 located somplace else? > > >On your dom-U config file, add something like vif = [''mac=AA:00:4D:AB:4B:4D,bridge=xen-br0''] Run "xm help create" for details. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Aug-29 10:42 UTC
Re: [Xen-users] dom0 bootup -- Device eth0 has differet mac address than expected
I think he''s having problems with Dom0 changing Mac address, rather than the domU (is that right?) Does the original machine have more than one ethernet device? Perhaps Linux is enumerating the cards in a different order when running under Xen so you''re not using the card you think you are? Cheers, Mark On Monday 29 August 2005 03:29, Fajar A. Nugraha wrote:> datto@charter.net wrote: > >CentOS 4.1, Xen 2.0.7. My dom0 is booting up but can''t get to the outside > > network because eth0 won''t start due to, apparently, Xen providing a > > different mac address than expected. How do I tell Xen to start eth0 at > > the bootup with a specific mac address that lines up with the HWADDR> > line in my ifcfg-eth0? Note that a normal bootup into CentOS 4.1 outside > > of the Grub Xen bootup works fine since it''s sensing the mac address of > > the NIC in the machine rather than what I suspect is a virtualized mac > > address that Xen provides upon a Xen bootup. I''ve tried removing the > > HWADDR= lline in ifcfg-eth0 but that just makes the complaint different > > and eth0 won''t startup at all inside or outside of Xen. Is there > > someplace in the vif-bridge script to hardcode this required mac address > > to line it up with the ifcfg-eth0 HWADDR= mac address or is the place to > > hardcode a fixed mac address for dom0 located somplace else? > > On your dom-U config file, add something like > vif = [''mac=AA:00:4D:AB:4B:4D,bridge=xen-br0''] > > Run "xm help create" for details. > > Regards, > > 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
Possibly Parallel Threads
- Re: dom0 bootup -- Device eth0 has differet mac address than expecte
- Dom0 eth0 has different MAC address than expected, ignoring
- Server Install Eth0 & Eth1 not working
- VM fails to start on host bootup, but starts fine manually. Why?
- Using Puppet to swap eth0 and eth1