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-users

RE: [Xen-users] bridge-utils problem

Hi,

Thanks for all your suggestions.
Finally I found the problem that the interface xenbr0 cannot get the IP 
automatically.
Here is the procedure that I did:

#since dhcpcd starts when eth0 is running, I shut down it.
kill [pid of dhcpcd]
ifconfig eth0 0.0.0.0 
dhclient xenbr0

Without shutdown the dhcpcd which has been run by eth0, dhclient cannot get the 
IP for xenbr0.
But I still don't know why this would happen. Did I miss setting anything?
I follow the procedure of the following website which provides solutions in 
general cases (not XEN). 
http://www.linuxfoundation.org/en/Net:Bridge
I am still wondering what is the right procedure to set IP for xenbr0 while 
fetching IP from DHCP?
Any response is appreciated. Thanks in advance.

Regards,
- Tommy

----------------------------------------
> Date: Mon, 22 Sep 2008 19:51:36 +0200
> From: stefan.bauer@xxxxxxxxxxx
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] bridge-utils problem
> 
> * Tommy Huang  [22.09.2008 19:15]:
>> I found that once I "ifdown xenbr0". Then the machine can connect to the 
>> Internet immediately.
>> By the way, I allow all traffic in iptables. So the firewall should not be 
>> problem now.
>> Any thought? Thanks in advance.
> 
> That sounds like a routing problem. Probably more than one default route
> is active. That can be confirmed by doing a route -n while xenbr0 is up.
> there should only be one entry beginning with 0.0.0.0.
> 
> Regards
> 
> --
> stefan
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users