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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> [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_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel