* [Q] eth0 not up on dom0
@ 2005-03-24 21:31 Bharadwaj Yadavalli
0 siblings, 0 replies; 3+ messages in thread
From: Bharadwaj Yadavalli @ 2005-03-24 21:31 UTC (permalink / raw)
To: xen-devel
Apologies if this is trivial and an FAQ. Google search
hasn't helped.
I have been unsuccessful in getting eth0 interface up in
dom0. My linux installation is FC3 and I get my address via
DHCP. I am running Linux 2.6.11-xen0. I see the following
steps recommended in the bridge-utils HOWTO page
1. Zero IP the interfaces. The bridge needs the network
devices to be operational, but without TCP/IP running on
them.
# ifconfig eth0 0.0.0.0
2. Create the bridge interface.
# brctl addbr mybridge
3. Add interfaces to the bridge.
# brctl addif mybridge eth0
[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.
I get the following:
"Determining IP information for eth0...PING
<my.dhcp.server.address> from
<what-I-think.is-the-IP.address.I-was-assigned>: eth0"
[usual ping statistics stuff]
failed.
I suspect I am close but not there. Can someone provide the
nudge please?
Thanks,
Bharadwaj
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread* RE: [Q] eth0 not up on dom0
@ 2005-03-24 21:42 Ian Pratt
2005-03-25 16:56 ` Bharadwaj Yadavalli
0 siblings, 1 reply; 3+ messages in thread
From: Ian Pratt @ 2005-03-24 21:42 UTC (permalink / raw)
To: Bharadwaj Yadavalli, xen-devel; +Cc: ian.pratt
> [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_ide95&alloc_id\x14396&op=click
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Q] eth0 not up on dom0
2005-03-24 21:42 Ian Pratt
@ 2005-03-25 16:56 ` Bharadwaj Yadavalli
0 siblings, 0 replies; 3+ messages in thread
From: Bharadwaj Yadavalli @ 2005-03-25 16:56 UTC (permalink / raw)
To: Ian Pratt; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-25 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 21:31 [Q] eth0 not up on dom0 Bharadwaj Yadavalli
-- strict thread matches above, loose matches on Subject: below --
2005-03-24 21:42 Ian Pratt
2005-03-25 16:56 ` Bharadwaj Yadavalli
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.