Nicole Hähnel
2007-Nov-22 09:21 UTC
[Xen-users] Different networks between Dom0 and Guest?
Hi, I''m running SLES10 SP1 with xen 3.0.4 and windows 2003 server as guest. Is it possible to assign ips from different networks to Dom0 and Guest, e. g. 172.27.10.1/24 for Dom0 and 172.27.15.1/24 for Guest? I tried it, but I can''t reach the Guest. If it''s possible, what should I have to configure? Thanks! Nicole _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Nov-22 09:27 UTC
Re: [Xen-users] Different networks between Dom0 and Guest?
Nicole Hähnel wrote:> Hi, > > I''m running SLES10 SP1 with xen 3.0.4 and windows 2003 server as guest. > Is it possible to assign ips from different networks to Dom0 and Guest, > e. g. 172.27.10.1/24 for Dom0 and 172.27.15.1/24 for Guest? > I tried it, but I can''t reach the Guest. > If it''s possible, what should I have to configure? > > Thanks! > NicoleIt should work, they have different MAC addresses. But do you have gateways set up correctly? And is your upstream switch or switches set up to allow traffic on both VLAN''s? And is your upstream gateway set up to handle both VLAN''s as well? I dislike setting up two VLAN''s on the same switch port, in order to avoid just that sort of routing problem. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
kanour-xen
2007-Nov-22 10:01 UTC
Re: [Xen-users] Different networks between Dom0 and Guest?
Nico Kadel-Garcia wrote:> Nicole Hähnel wrote: >> Hi, >> >> I''m running SLES10 SP1 with xen 3.0.4 and windows 2003 server as guest. >> Is it possible to assign ips from different networks to Dom0 and Guest, >> e. g. 172.27.10.1/24 for Dom0 and 172.27.15.1/24 for Guest? >> I tried it, but I can''t reach the Guest. >> If it''s possible, what should I have to configure? >> >> Thanks! >> Nicole > It should work, they have different MAC addresses. But do you have > gateways set up correctly? And is your upstream switch or switches set > up to allow traffic on both VLAN''s? And is your upstream gateway set up > to handle both VLAN''s as well? > > I dislike setting up two VLAN''s on the same switch port, in order to > avoid just that sort of routing problem. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >I believe you have to configure trunk and vlans to tag the packets. That is how I have it. Jiri _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nicole Hähnel
2007-Nov-22 12:23 UTC
Re: [Xen-users] Different networks between Dom0 and Guest?
kanour-xen schrieb:> Nico Kadel-Garcia wrote: >> Nicole Hähnel wrote: >>> Hi, >>> >>> I''m running SLES10 SP1 with xen 3.0.4 and windows 2003 server as guest. >>> Is it possible to assign ips from different networks to Dom0 and Guest, >>> e. g. 172.27.10.1/24 for Dom0 and 172.27.15.1/24 for Guest? >>> I tried it, but I can''t reach the Guest. >>> If it''s possible, what should I have to configure? >>> >>> Thanks! >>> Nicole >> It should work, they have different MAC addresses. But do you have >> gateways set up correctly? And is your upstream switch or switches >> set up to allow traffic on both VLAN''s? And is your upstream gateway >> set up to handle both VLAN''s as well? >> >> I dislike setting up two VLAN''s on the same switch port, in order to >> avoid just that sort of routing problem. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > I believe you have to configure trunk and vlans to tag the packets. > > That is how I have it. > > Jiri > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >I think, if I have two pcs, one in Dom0 network and one in Guest network, and all connected to the same switch, pc1 should reach Dom0 and pc2 should reach Guest, without configuring any vlans on the switch. So the bridge xenbr0 has to route the packets from Guest to the switch, but this doesn''t work. The bridge has no ip on my system. I don''t know if it''s right or if this can work at all. How can I set this up? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
kanour-xen
2007-Nov-22 12:41 UTC
Re: [Xen-users] Different networks between Dom0 and Guest?
Nicole Hähnel wrote:> kanour-xen schrieb: >> Nico Kadel-Garcia wrote: >>> Nicole Hähnel wrote: >>>> Hi, >>>> >>>> I''m running SLES10 SP1 with xen 3.0.4 and windows 2003 server as guest. >>>> Is it possible to assign ips from different networks to Dom0 and Guest, >>>> e. g. 172.27.10.1/24 for Dom0 and 172.27.15.1/24 for Guest? >>>> I tried it, but I can''t reach the Guest. >>>> If it''s possible, what should I have to configure? >>>> >>>> Thanks! >>>> Nicole >>> It should work, they have different MAC addresses. But do you have >>> gateways set up correctly? And is your upstream switch or switches >>> set up to allow traffic on both VLAN''s? And is your upstream gateway >>> set up to handle both VLAN''s as well? >>> >>> I dislike setting up two VLAN''s on the same switch port, in order to >>> avoid just that sort of routing problem. >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> I believe you have to configure trunk and vlans to tag the packets. >> >> That is how I have it. >> >> Jiri >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > I think, if I have two pcs, one in Dom0 network and one in Guest > network, and all connected to the same switch, > pc1 should reach Dom0 and pc2 should reach Guest, without configuring > any vlans on the switch. > So the bridge xenbr0 has to route the packets from Guest to the switch, > but this doesn''t work. > The bridge has no ip on my system. > I don''t know if it''s right or if this can work at all. > How can I set this up? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >This is not secure solution because anyone on those PCs can change the network and can access the other network. But, it should work (theoretically - I never done it like that). I assume that you have one network card with bridge created. Then just assign the addresses in dom0 and domU and try. Jiri _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Georg Fleckenstein
2007-Nov-22 21:54 UTC
Re: [Xen-users] Different networks between Dom0 and Guest?
Nicole Hähnel schrieb:> Hi, > > I''m running SLES10 SP1 with xen 3.0.4 and windows 2003 server as guest. > Is it possible to assign ips from different networks to Dom0 and Guest, > e. g. 172.27.10.1/24 for Dom0 and 172.27.15.1/24 for Guest? > I tried it, but I can''t reach the Guest. > If it''s possible, what should I have to configure? > > Thanks! > Nicole > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >Only devices on the same subnet talk directly with each other. You need a router wich tranfers the data between the different subnets, although the subnets are on the same cable, switch or bridge. Or add a second ip-address to one of the boxes, so that the subnet is the identical. Georg _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users