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] Xen networking newbie

To: Emir Sosa <emir@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen networking newbie
From: Henrik Andersson <henrik.j.andersson@xxxxxxxxx>
Date: Fri, 4 Feb 2011 17:57:09 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Feb 2011 08:01:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=w9c6i50kvMmIhXdPgo365c/VZpzY0jEY6wDyb4lfKec=; b=Dp7tSfrC0ajeH+6CUgTP0vBWQOpPA4UOfo2R+PZdM5d68+6MdyrhBsP/6yxLfw14Qr kMAjC781+9Eirtc9hunC304oQS62ZEefPERGp3ri+F8gzspdDDWUmW2AWwJ5nXUkouNK 9D3Y3AGp8HRfY3mJMBFGp0lzqxjr7wsrwgfWw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZUen09ypEay/hGMFOMHxY2bP5fs0cjIA9GWD/Q53nfgJcXfJ4idksV8V/US2UeUiiQ HCE36VzSm+FwUantzQ/E9u4NbX2uwdwPrq/XssqwC2BkKD0XzyorjlCciaDsNWhM+jyO 1Ayd8qbRuAEFb0SDs7kf3muJ6VIA4Z+OEYMA8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=7TB9XYFF6yE9eWiDV8Kc9+bSJd87cid5oSmwk@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinQRQT5-+ACm3ORwbsM11Co1q3LAFW58KD+6YOz@xxxxxxxxxxxxxx> <AANLkTi=aDGVV0fAnV+mhiv+J01CwYt8SjTYsutQ=gpfG@xxxxxxxxxxxxxx> <AANLkTi=7TB9XYFF6yE9eWiDV8Kc9+bSJd87cid5oSmwk@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yes, quest OS can be on the same subnet. Just configure it like you would any windows server. You should propably check where that ip came from. My guess would be that it's "windows zero conf" or something like that. Basicly windows assigns that ip if there is no static configuration or dhcp availeable. Try assigning some ip from 192.168.1.0/24 subnet manually and go from there.

I don't understand how you would be able to ping form wondows but not the other way, other than windows firewall preventing it.

-Henrik Andersson

On 4 February 2011 17:48, Emir Sosa <emir@xxxxxxxxxxxxxx> wrote:
The windows server is on DHCP and it got 192.168.122.187/24 i have no dhcp server setup(only router but that gives 192.168.1.0/24)

the windows server can ping the routers and devices on 192.168.1.0 but from my router i cant ping 192.168.122.0/24

when i mean "is there a way that the the guest OS belong to the same network? so they can be communicate easily?i mean for the guest Os to be on the same subnet.

thnx for helping.....

On Fri, Feb 4, 2011 at 9:16 AM, Henrik Andersson <henrik.j.andersson@xxxxxxxxx> wrote:
The IP you get? Where do you get it? From DHCP or from windows?

You do know that xen only gives mac address for the virtual ethernet adapter? You need to either configure IP-address manually or have dhcp enabled on the virtual machine for it to get/have ip address. Also you need to have dhcp server on the network for it (dhcp) to work.

I dont know what you mean by "is there a way that the the guest OS belong to the same network? so they can be communicate easily?" but you can assign any ip address to virtual host, xen doesn't mind. If routing works/they are on the same network, everything should work just as it would with non virtualized servers.


-Henrik Andersson
On 4 February 2011 16:49, Emir Sosa <emir@xxxxxxxxxxxxxx> wrote:
ok so i have centos installed configured with xen...installation went smooth.

the centOS is on 192.168.1.1/24 network

i managed to install windows server 2003 but the ip i get is 192.168.122.187 /24

this is what i get from ifconfig


eth0      Link encap:Ethernet  HWaddr 44:87:FC:55:23:49 
          inet addr:192.168.1.92  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::4687:fcff:fe55:2349/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:98604 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44980 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:52446958 (50.0 MiB)  TX bytes:10128161 (9.6 MiB)

virbr0    Link encap:Ethernet  HWaddr 72:3E:16:81:25:6D 
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:89471 (87.3 KiB)  TX bytes:31046 (30.3 KiB)


and other stuff

but the thing is the windows server can ping the 192.168.1.1 but devices on 192.168.1.0 cant ping the 192.168.122.0(cuase they dont know of this network)

is there a way that the the guest OS belong to the same network? so they can be communicate easily?


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