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] Network configuration issues

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Network configuration issues
From: Net Warrior <netwarrior863@xxxxxxxxx>
Date: Tue, 06 Jul 2010 10:51:49 -0300
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Jul 2010 07:02:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=JyRtkNcZfwRF9+jBtyZoGt8SylcHyUXcbHNnAk7n64M=; b=oyYbphWdkNphRddGq1pMbT+zx/fzFs54hQhzofX0Ukn/ryGoSY5A4qdU1j2lwB5GKV czHDJk4VpeYtAq6bAhMmo5wW7MsGGAMimRHWGKJJa0JdsSDQ8B931JnM0zYA7o/IBFmy a1uTFnCJH3VEicTFN6QAPUZwtIoog5pyzZ3o8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=w9K/0FRnKOiuedy3/oZzqQ4yjiclaPc2jnjNS5IaKvrDSK1Y8BEgWEyi0pL4FioO0q cXngv943NNGHYDigsfzu+Jh+CsLddJzSqeOHACrzu3dtuhJ2YeA14LarTtu54ehTp18I e38Pf+Pa7Z7/K5DJLZ4vGwlBe5vSoVbD/AMjs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikd10liGj9I9oVBIfbiT1LMEV17FG_Qh9MVpf6s@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: <4C32864D.7000105@xxxxxxxxx> <AANLkTikd10liGj9I9oVBIfbiT1LMEV17FG_Qh9MVpf6s@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100625 Thunderbird/3.0.5
On 07/06/10 01:50, Fajar A. Nugraha wrote:
> On Tue, Jul 6, 2010 at 8:26 AM, Net Warrior <netwarrior863@xxxxxxxxx> wrote:
>   
>> Dom0
>> Only ethernet connected to internet ( public IP, dhcp )
>>
>> eth0 Link encap:Ethernet HWaddr 00:21:86:94:c5:c0
>> inet addr:x.x.x.x Bcast:0.0.0.0 Mask:255.255.252.0
>>     
>   
>> vif = [ 'mac=00:16:3E:52:CB:78, bridge=eth0, vifname=ubuntu904' ]
>>     
>   
>> root@ubuntu904:/etc/network# ifconfig
>> eth0 Link encap:Ethernet direcci��nHW 00:16:3e:52:cb:78
>> Direc. inet:192.168.10.10 Difus.:192.168.10.255 M��sc:255.255.255.0
>>     
> How did you setup networking on domU?
>
> IF, like you said:
> - eth0 on dom0 is configured via DHCP
> - domU is on eth0 bridge
>
> Then domU should be configured using DHCP as well. It should end up in
> the SAME network address as dom0, AND have the same DNS/gateway
> parameters. In other words, domU will behave like ANOTHER physical
> host on the same network as dom0.
>
> You've masked out dom0's IP address, which makes it harder for those
> who want to help.
>
>   
Well, no luck yet.

root@ubuntu904:~# dhclient
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:21:86:94:c5:c0
Sending on   LPF/eth0/00:21:86:94:c5:c0
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16

No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Dom0
netwarrior xen # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:21:86:94:c5:c0 
          inet addr:186.18.132.141  Bcast:0.0.0.0  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1228339 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16369 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:65589099 (62.5 MiB)  TX bytes:1537751 (1.4 MiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

peth0     Link encap:Ethernet  HWaddr 00:21:86:94:c5:c0 
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1228529 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16428 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:82800527 (78.9 MiB)  TX bytes:1542343 (1.4 MiB)
          Interrupt:154 Base address:0x6000

ubuntu904 Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff 
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2471 errors:0 dropped:924 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:1640 (1.6 KiB)  TX bytes:148260 (144.7 KiB)


Firewall is open in both, Dom0 and DomU.

Thanks for your time and support
Regards




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