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] not able to get my hard coded(static) ip address on Dom

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] not able to get my hard coded(static) ip address on Dom U
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Dec 2008 12:41:44 +0000
Cc:
Delivery-date: Wed, 10 Dec 2008 04:43:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <eb8de7f00812100410g50f8e68fnf6ab2496efaf0810@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: <eb8de7f00812100410g50f8e68fnf6ab2496efaf0810@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
First off, if you want help. don't go out of your way to annoy those you are requesting help from ! Set your client to text only so that it posts :

   address 107.108.161.190

rather than :

   address <http://107.108.161.190>107.108.161.190


akhilesh kumar wrote:

But I am not able to get my hard coded(static)  ip address on Dom U

I  have updated  network configuration in my DomU config file



Vif =['ip=107.108.161.190, vifname=veth0' ]



 Don 0 etc/network/interface file

auto lo

iface lo inet loopback

        address 127.0.0.1

        netmask 255.255.255.0



auto eth0 eth0:0



iface eth0 inet static

        address 107.108.161.116

        netmask 255.255.255.0

        gateway 107.108.161.1

#       pre-up /etc/init.d/xend start || true

#       up /usr/sbin/xen-net-setup.sh start

#       post-down /usr/local/sbin/xen-net-setup.sh stop



iface veth0:0 inet static

        address 107.108.161.190

                  ^^^^^^^


        netmask 255.255.255.0



my ifcfg-eth0 for  domU.

TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=static

BROADCAST=107.108.161.255
IPADDR=107.108.161.190

        ^^^^^^^^^^^^^^^^

NETMASK=255.255.255.0
NETWORK= 107.108.161.0
GATEWAY=107.108.161.1



Can any one  help

You could try not assigning the same address to two different machines !

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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

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