[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] not able to get my hard coded(static) ip address on Dom U


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "akhilesh kumar" <akhipatel@xxxxxxxxx>
  • Date: Wed, 10 Dec 2008 17:40:41 +0530
  • Cc:
  • Delivery-date: Wed, 10 Dec 2008 04:11:37 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=sjuMqC7Rq72mN8ON7wnjOSJ6f7v+PTiSJgFH00wBHDh8sM+fK309WDHtpcZjmuvUK3 J/j0jFPG4KdO0qyVeaIewjv3U8k+p5Gy0WpHM4kertpXdSrpuchgOk/AMlJNge6YrGpg npE5YW8RawRpesJQRsaLTwN1Nl4cCR0qpO8b8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi All,

 

I am working on xen virtual network interface

My Dom0 and DomU is up and working fine.

With manual ip address  network  on DonU is working fine.

Example

#ifconfig

# uname -r

2.6.18.8-xenU

# ifconfig eth0 107.108.161.190 netmask 255.255.255.0

# ifconfig lo 127.0.0.1 netmask 255.255.255.0

# ping 107.108.161.116

PING 107.108.161.116 (107.108.161.116): 56 data bytes

64 bytes from 107.108.161.116: seq=0 ttl=64 time=18.735 ms

64 bytes from 107.108.161.116: seq=1 ttl=64 time=0.229 ms

[3] + Stopped                    ping 107.108.161.116

# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:16:3E:7D:29:0B

          inet addr:107.108.161.190  Bcast:107.108.161.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:75349 errors:0 dropped:0 overruns:0 frame:0

          TX packets:103 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:22187579 (21.1 MiB)  TX bytes:9989 (9.7 KiB)

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.255.255.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)

 

#

 

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

How I can get (static)  ip address on Dom U

 

Thanks,

Akhilesh


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.