[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Host uses one NIC; Guest OS uses other NIC



On Di, Apr 01, 2008 at 08:28:08 -0400, James Pifer wrote:
> > You have eth0 of domain 3 connected to xenbr1 
> > but that's is all.
> > 
> > No peth1 or someting like that in dom0.
> > 
> > So it's normal that you can't ping any host 
> > outside the network (and even dom0!).
> > Packets simply have no way to go out.
> > 
> > 
> > You must create the bridge in a way, that will allow it
> > to be connected to real interface (eth0 in your case).
> > 
> > Please, tell how you create the bridge.
> > 
> > 
> 
> 
> At one point I had to stop the bridge to edit the network settings. I
> used this command:
> /etc/xen/scripts/network-bridge stop netdev=eth0
> 
> I assumed this was enough to bring it all back up:
> /etc/xen/scripts/network-bridge start netdev=eth0
> 
> Did I miss something, or should that be enough?
> 

Theoretically, you have done all just like you should,
but I did notice, that running 

# /etc/xen/scripts/network-bridge stop netdev=eth0

is not enough in particular cases
to revert eth0 setup.

Anyway, you can always check the bridges state 
using brctl command.



> Apparently not, because that's how I ended up at that state. Since I
> didn't really know what brctl show should look like, I rebooted the host
> machine. Now everything is working. brctl show now looks like:
> 
> xen01:~ # brctl show
> bridge name     bridge id               STP enabled     interfaces
> xenbr1          8000.feffffffffff       no              vif0.1
>                                                         peth1
>                                                         vif1.0


This is correct output.


> 
> I appreciate the help. 
> 
> James
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.