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

[Xen-users] define ip gateway

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] define ip gateway
From: "Janis Daniel Bistevins" <bistevins@xxxxxxxxx>
Date: Wed, 16 Jan 2008 13:10:08 -0200
Delivery-date: Wed, 16 Jan 2008 07:10:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=EylJu2Ktx8RmYyODFeRbLYuHhdV2FZ9RWBQWhmkxFhg=; b=l1wC3uyN4GkFaX3SeNCnBBsrq28MW6beQ7LvpGi/gtK/8606rrirzI3U30nf8kmC4Q4e/HBMUFkOqK3ytYVxXVzP7/g6TrSRj4Wtw4F3iU23QDdfDJe9/roRl0Rc+mNxiPg67Tv4MM+f3AjcErE3criw6Klac3wd9qxojXh+E38=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uA4kR76KBnRymW038rYxAiOMezFmch19MlzB9HvJJmhrTpnsvFixZQ9gYmkV+TzHyBuUGZYaRAAveNUVQvqOL4B6zniQ/i4GpDEFkfnUNBoiOWz/fd5InPNChrZ37tfCadE+4CEuERUWqKKAa8bNC//1tKBjHJ5GxQU4lWOGd3c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi,
I have a VM with route-nat and 3 virtual interfaces. This is my config:

vif = [ 'ip=10.10.10.4/24, vifname=vif1.0', 'ip=10.10.20.4/24,
vifname=vif2.0', 'ip=10.10.30.4/24, vifname=vif3.0' ]

And the output of dom0 ifconfig:

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:10.10.10.131  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST MULTICAST  MTU:1500  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:32
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif2.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:10.10.20.131  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST MULTICAST  MTU:1500  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:32
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif3.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:10.10.30.131  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST MULTICAST  MTU:1500  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:32
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


I need to know how can I change the IP address of vifx.0. I want to
set that address to
something like 10.10.10.1 or 10.10.20.1, not 10.10.10.131.

Where can I change that 131 to something else? and why is assigned like that?

thx in advance.


-- 
Janis Daniel Bistevins
---
Serenity now!!!
---

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

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