WARNING - OLD ARCHIVES

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

xen-devel

Re: [Xen-devel] [Q] eth0 not up on dom0

Hi Ian,

Thanks for your reply.

However, I am still unable to get my network interface
up in dom0. Here is what I did:

I created a /etc/sysconfig/network-scripts/ifcfg-xen-br0
as you suggested.

# more /etc/sysconfig/network-scripts/ifcfg-xen-br0
DEVICE=xen-br0
BOOTPROTO=dhcp
ONBOOT=no
TYPE=Ethernet
DHCP_HOSTNAME=<myhostname>
USERCTL=no
PEERDNS=yes
IPV6INIT=no

[I also needed to modify

/etc/sysconfig/network-scripts/network-functions 

so that the device xen-br0 is not picked as xen but as xen-br0.]

Anyway, once dom0 booted, I do the following :

# ifconfig eth0 0.0.0.0 up
# xend start
# ifup xen-br0

I see dhclient running (ps) but I get 

=======
Determining IP information for xen-br0... xen-br0
failed
======

What am I missing? I verified that eth0 interface would come
up as expected and I get an IP address when booted with standard
FC3 Linux kernel.

Thanks for your help once again,

Bharadwaj

On Thu, Mar 24, 2005 at 09:42:44PM -0000, Ian Pratt wrote:
> > [I believe steps 2 amd 3 will be done by executing 
> >  xend start. I verified this by running 'brctl show' 
> >  after I ran 'xend start']
> > 
> > 4. Put up the bridge.
> >       # ifconfig xen-br0 up
> > 
> > Now that I have the bridge up, I tried running 
> > 
> >     ifup eth0
> > 
> > to get an IP address.
> 
> It's 'mybridge' you want to configure with dhcp, not eth0.
> You'll need to create an appropriate ifcfg-mybridge file then 'ifup
> mybridge'.
> 
> Ian 
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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