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: Net Warrior <netwarrior863@xxxxxxxxx>
Subject: Re: [Xen-users] Network configuration issues
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 6 Jul 2010 11:50:16 +0700
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 05 Jul 2010 21:51:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C32864D.7000105@xxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

-- 
Fajar

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