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 in nat mode and windows, no network

To: Rafał Michalak <rafalak@xxxxxxxxx>
Subject: Re: [Xen-users] xen in nat mode and windows, no network
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Fri, 17 Dec 2010 00:47:36 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 16 Dec 2010 21:49:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=bvwOO4jZjqQ8FIdxaavLNTjWd4Nn2mmqjVQrPNbfS/k=; b=qgyNmu1h4yRmeA7bTQ5BxRdJ000E52LqzIlJV8T4eJeVBaNMdHSi4SdHTM0qdFFodJ ImaaHPbOex3l/I40mC182JZqKpPRmvd7f4G8i0cJeCfBx9VVOkiUcwIYKJR/lkoeIRL3 JHK1URY69/89vnq/0e/m8XsZ/bj852rPz9vqA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=FWNORtUrgbfK8nzuErsd0qQibAIsd9PGilVf6Z0EE5/gj77FHlUiWBaHoMivxWbLeh 4YShBxacUNAbHJ9nc/DNysChPr1gqx1gmlmMSx5cn6YLJFGmGbechO9E1Ty1+c5BjSuD UQE6cpaKvy9K85xfz9o6nZ7E73ONrG70swG5o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=JCT1PQ+=1ZvYVG_5BnvJ1q6iB3q3CYLr+PE6E@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: <590788.88048.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTi=JCT1PQ+=1ZvYVG_5BnvJ1q6iB3q3CYLr+PE6E@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Dec 16, 2010 at 6:56 AM, Rafał Michalak <rafalak@xxxxxxxxx> wrote:
>> network-nat is a very specific network:
>>    network 10.0.0.0
>>    gateway 10.0.0.254
>>   netmask 255.255.255.0
>>
>> In your dom0, try and ping 10.0.0.254. If its alive, then there is no
>> doubt what you need to do.
>>
>> Make a static config inside your domU on the 10.0.0.0 network with the
>> same gateway.
> Nothing change,
> I try to reinstall win2003 and install new xp
>
> vif = [ 'type=ioemu, ip=10.0.0.11, mac=00:16:3e:00:00:13, bridge=eth0']
>
> in windows set, 10.0.0.11, 255.255.255.0, 10.0.0.254
>
> when i ping from linux with XEN
>
> ping 10.0.0.11
> -----------
> PING 10.0.0.11 (10.0.0.11) 56(84) bytes of data.
> >From 10.0.0.138 icmp_seq=1 Destination Host Unreachable
> >From 10.0.0.138 icmp_seq=2 Destination Host Unreachable
> >From 10.0.0.138 icmp_seq=3 Destination Host Unreachable
>
>
> route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.0.11       0.0.0.0         255.255.255.255 UH    0      0        0 
> vif13.0
>
> everything looks good, where is the problem ?

The problem could be the nat routing. Check the iptables rules in dom0
to make sure they make sense.
You should also be able to trace the traffic with a tool like tcpdump
on the bridge in dom0.

Hope that helps.

Thanks,
Todd

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

<Prev in Thread] Current Thread [Next in Thread>