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] Need help with networking in DomU's

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Need help with networking in DomU's
From: <datto@xxxxxxxxxxx>
Date: Mon, 16 Jan 2006 16:37:37 -0800
Delivery-date: Tue, 17 Jan 2006 01:13:14 +0000
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/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
Sensitivity: Normal
Fedora Core 4 Dom0 and CenOS 4.1 DomU as outlined similarly at Mark Foster's 
wiki which doesn't seem to be up at the moment.

uname -a on Dom0
Linux w2knt412 2.6.12.6-xen3_2.1_fc4 #1 SMP Sun Dec 4 11:19:39 PST 2005 i686 
i686 i386 GNU/Linux

Dom0 comes up and is on the network and I can VNC into Dom0 from other 
computers on the network just fine. However, my DomU's startup and seem to be 
useable from the DomU console but I can't get their networking to go out to the 
world. What changes do I need to make to which config files to get my DomU's to 
go out to the network and to the Internet? Thanks.

Datto

Dom0 ifconfig results
eth0      Link encap:Ethernet  HWaddr 00:50:DA:5D:7E:E0
          inet addr:10.1.1.152  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:daff:fe5d:7ee0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:242514 errors:0 dropped:0 overruns:0 frame:0
          TX packets:212056 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20021338 (19.0 MiB)  TX bytes:55288081 (52.7 MiB)
          Interrupt:5 Base address:0xd800

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:86 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12077 (11.7 KiB)  TX bytes:12077 (11.7 KiB)

xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:252 (252.0 b)  TX bytes:378 (378.0 b)

DomU config file
kernel = "/boot/vmlinuz-2.6.12.6-xen3_2.1_fc4domU"
memory = 256
name = "cos41-03"
nics = 1
extra="selinux=0"
vif=['mac=00:29:5E:18:98:FC, bridge=xenbr0']
ip="10.1.1.215"
netmask="255.255.255.0"
gateway="10.1.1.15"
# dhcp = "dhcp"
hostname = "412cos4103"
disk = [ 
'file:/opt/xen/domains/vm04/diskimage,sdb7,w','file:/opt/xen/domains/vm04/swapimage,sdb8,w'
 ]
root = "/dev/sdb7 ro"

DomU /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=412cos4103


DomU /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.1.1.215
NETMASK=255.255.255.0
GATEWAY=10.1.1.15


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

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