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] Ubuntu 9.10: amd64: Xen-4.0: linux-2.6.32.16-xen: No Network

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Ubuntu 9.10: amd64: Xen-4.0: linux-2.6.32.16-xen: No Network connectivity in domU:
From: sriram <msriram@xxxxxxxxxx>
Date: Wed, 27 Oct 2010 18:43:52 -0700
Delivery-date: Wed, 27 Oct 2010 18:45:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi people,
I installed Xen-4 on top of karmic-amd64 using this method, and created dom1 using debootstrap, and its booting fine.
But, I cannot get networking work on domU

I have single system, eth0 connected to network
/etc/network/interfaces/ :
auto lo
iface lo inet loopback
iface eth0 inet dhcp

I have the following info in the dom1.cfg:
#
#  Networking
#
vif	   = ['']
dhcp        = 'dhcp'
#vif         = [ 'mac=00:16:3E:05:7D:B5' ]
netmask	    = "255.255.255.0"
gateway	    = "137.82.252.254"
 #

>From dom0
When I type route I get
#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
137.82.252.0    *               255.255.255.0   U     0      0        0 peth0
137.82.252.0    *               255.255.255.0   U     0      0        0 eth0
default         gw-vlan1394.ece 0.0.0.0         UG    0      0        0 eth0
default         gw-vlan1394.ece 0.0.0.0         UG    0      0        0 peth0

My interfaces are :
#ifconfig
eth0      Link encap:Ethernet  HWaddr 48:5b:39:43:25:b2  
          inet addr:137.82.252.5  Bcast:137.82.252.255  Mask:255.255.255.0
          inet6 addr: fe80::4a5b:39ff:fe43:25b2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:97536 errors:0 dropped:0 overruns:0 frame:0
          TX packets:298713 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7860472 (7.8 MB)  TX bytes:417692072 (417.6 MB)

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:776 errors:0 dropped:0 overruns:0 frame:0
          TX packets:776 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:410163 (410.1 KB)  TX bytes:410163 (410.1 KB)

peth0     Link encap:Ethernet  HWaddr 48:5b:39:43:25:b2  
          inet addr:137.82.252.5  Bcast:137.82.252.255  Mask:255.255.255.0
          inet6 addr: fe80::4a5b:39ff:fe43:25b2/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:97787 errors:0 dropped:0 overruns:0 frame:0
          TX packets:299801 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9645032 (9.6 MB)  TX bytes:417748230 (417.7 MB)
          Interrupt:226 Base address:0xc000 

vif2.0    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:414 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:2024 (2.0 KB)  TX bytes:50501 (50.5 KB)


------------------------------------------------------------------------
>From dom1

#ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device

#modprobe xennet
#ifconfig eth0 up
#
#route
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:65:7a:7c  
          inet6 addr: fe80::216:3eff:fe65:7a7c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:74 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8025 (8.0 KB)  TX bytes:1152 (1.1 KB)
          Interrupt:244 

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: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)

# ping www.google.com
ping: unknown host www.google.com

Do you have any suggestions?
Thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Ubuntu 9.10: amd64: Xen-4.0: linux-2.6.32.16-xen: No Network connectivity in domU:, sriram <=