|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How to setup network configuration in guest domain.
thanks tim,
My domains are able to communicate well also i able to mount nas location to my guest domain.
On 12/29/06, Tim Post <tim.post@xxxxxxxxxxxxxxx> wrote:
On Fri, 2006-12-29 at 17:03 +0530, trilok nuwal wrote: > Hi Tim, > Thanks for the update. > > I am using FC5. >
Xen is the same once installed, but bridging / networking is a tad different than GNU/Debian systems. Looks like you got that part right,
however so no worries.
> example: > My dom0 IP 139.185.48.204 > > and config file for configuration file contains vif > vif = [ 'mac=FE:FF:FF:FF:FF:FF , ip=
139.185.48.214 , bridge=xenbr2']
You are correct. Typically I don't specify an IP in the config file, I just bring it up in the guest itself.. however its 6 of one half dozen
of the other.
Each guest should get a static mac that stays with it, the syntax of the mac (sort of) matters , what matters most is that they are unique and always get paired with the same IP address.
XenSource registered a prefix that indicates a 'virtual' nic, I can't remember what it is unfortunately. Someone else here will surely chirp in with it.
> > Now tell me, Is mac of eth0 in guest domain should be
> FE:FF:FF:FF:FF:FF as in vif and same as IP.
Each guest gets its own IP, be it public or reserved. Each guest also needs its own unique (and static) mac address. If an IP broadcasts using a different mac than it used a minute before, it could take your router
up to 10 minutes to re-arp the IP .. and networking would seem broken. Its important that public macs remain the same and always associated with the same IP.
On the private bridge .. this isn't a big concern since re-starting it
is rather simple if needed, but still good practice to follow.
> > I also want that my mchines should be pingable from each other. >
This is not a problem at all. All machines (guests) will be able to ping
eachother on the public or private bridge respectively provided you have no firewall on dom-0 (or the guests) preventing it. Just be sure you don't specify a gateway on dom-0 for the private bridge, and be sure stp
on your bridges is turned OFF.
> > This is bit confusing for me. >
Its a bit confusing for anyone who gets thrown into bridged ethernet networking. Hope this is of some help to you :)
> Thanks, > Trilok >
Best, -Tim
> > On 12/29/06, Tim Post <tim.post@xxxxxxxxxxxxxxx> wrote: > On Fri, 2006-12-29 at 14:59 +0530, trilok nuwal wrote:
> > Hi, > > > > I want to setup network congfiguration in my guest domain. > How this > > can be setup so that my dom0 should be pingable from my
> guest domain. > > Because i wanted to mount NFS location to my guest domain. > > > > Thanks in advance for help. > > > > Trilok
> > You would do this as you would normally. For all intensive > purposes, > dom-0 and your guest can be counted as two completely separate > machines. > I'm assuming dom-0 has an IP, just provide one for your guest.
> > Another useful way of doing this is bringing up a second > bridge that > doesn't port any physical ethernet device, and using it as you > would a > dumb ethernet switch. This lets you have a public and private
> network, > the private being between the guests themselves and dom-0. > Each guest > gets 2 vif's, one using the public bridge, one using the dummy > (private)
> bridge. > > If you give an indication of what OS you're using on dom-0, it > would be > easier to give some examples or better pointers. I'm happy to
> help with > anything GNU .. but don't often venture into Fedora or other > yum-ish > distros with bridged networking or Xen. > > Best,
> -Tim > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx > > http://lists.xensource.com/xen-users >
> > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx >
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] How to setup network configuration in guest domain.,
trilok nuwal <=
|
|
|
|
|