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] Assign IP's

To: "postmaster/info" <info@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Assign IP's
From: "Kaushal Shriyan" <kaushalshriyan@xxxxxxxxx>
Date: Mon, 7 Aug 2006 19:18:17 +0530
Delivery-date: Mon, 07 Aug 2006 07:33:34 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=msQ3Lefk3EqS2KzUiafF8ZhOsfsaEnt8hdmV9OoTbWKVfwljU21G+Ss+tvJcJyYz3uyRgHJTC7/MyPWhO3rcnjC7Pu1zTWdrSsglA1Q2gXMDMXNps/M+GpmAWck2SRiENvcRQi1W9+bQ6VRd1zxCyrQGpq1C9jikBCDpuFUWDEM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <004701c6ba25$9be1ca60$4001a8c0@elcheapo>
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>
References: <6b16fb4c0608070616h67202fbak3e6e084ab8c2b15b@xxxxxxxxxxxxxx> <004701c6ba25$9be1ca60$4001a8c0@elcheapo>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 8/7/06, postmaster/info <info@xxxxxxxxxxxxxxx> wrote:
What kind of error message did you get? And what did you try? Don't forget
to put a vif = [' '] statement in your xen config file else there won't be a
nic present in your domU. So please post your xen config file, lspci of domU
and relevant parts of dmesg are welcome. Please check for typos I spend two
days grumbling because I copied a typo from a not working example.

Greetings,

Sjoerd de Heer
S&R Solutions

> -----Oorspronkelijk bericht-----
> Van: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] Namens Kaushal Shriyan
> Verzonden: maandag 7 augustus 2006 15:16
> Aan: xen-users@xxxxxxxxxxxxxxxxxxx
> Onderwerp: Re: [Xen-users] Assign IP's
>
> On 8/7/06, postmaster/info <info@xxxxxxxxxxxxxxx> wrote:
> > Just like you normally do. /etc/sysconfig/network and
> > /etc/sysconfig/network-scripts/ifcfg-eth0 Or use dhcp and assign a mac
> > address in the xen config file for vm02. Browse the list for some
> examples.
> >
> > Sjoerd de Heer
> > S&R Solutions
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> > > bounces@xxxxxxxxxxxxxxxxxxx] Namens Kaushal Shriyan
> > > Verzonden: maandag 7 augustus 2006 14:43
> > > Aan: xen-users@xxxxxxxxxxxxxxxxxxx
> > > Onderwerp: [Xen-users] Assign IP's
> > >
> > > Hi ALL
> > >
> > > I did it all partition. everything is cool.
> > > i installed centos too.
> > > i dont know how to assign ip for my centos let me know the same.
> > >
> > > xm list
> > > Name                              ID Mem(MiB) VCPUs State  Time(s)
> > > Domain-0                           0      256     1 r-----   123.5
> > > vm02                              16       96     1 -b----    12.2
> > >
> > > Kaushal
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> >
> Hi Sjoerd de Heer
>
> It didnot worked, can you point me to the exact steps Please
>
> Thanks and Regards
>
> Kaushal
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


Hi Sjoerd de Heer

How do i set vif in the xen config file

[root@localhost etc]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      256     1 r-----    34.2
vm02                               2       96     1 -b----     5.2


ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:76:08:17:55
         inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
         inet6 addr: fe80::216:76ff:fe08:1755/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:2444 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1755 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:403081 (393.6 KiB)  TX bytes:159337 (155.6 KiB)

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:34 errors:0 dropped:0 overruns:0 frame:0
         TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:5034 (4.9 KiB)  TX bytes:5034 (4.9 KiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:2437 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1774 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:403748 (394.2 KiB)  TX bytes:166515 (162.6 KiB)
         Interrupt:20 Base address:0xde00

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1755 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2446 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:159337 (155.6 KiB)  TX bytes:403249 (393.7 KiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:977 errors:0 dropped:0 overruns:0 frame:0
         TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:243833 (238.1 KiB)  TX bytes:468 (468.0 b)


CentOS release 4.3 (Final)
Kernel 2.6.16-xen3_86.1_rhel4.1 on an i686

localhost login: root
Password:
Last login: Sun Aug  6 16:26:12 on tty1
-bash-3.00# ls
-bash-3.00# ifconfig
-bash-3.00#

unable to add ip.

Kaushal

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

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