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] routed networking xen3.0.1

To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] routed networking xen3.0.1
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Mon, 6 Feb 2006 11:57:28 +0530
Delivery-date: Mon, 06 Feb 2006 06:38:19 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ahxEMHLgan4tEOYQjWp1GM49nRm6ooeW9p7JC5g9Tj/V4CqhmIzxlbvlWetWoiwDFGEVpPBCC61MH2a8IFwgxtLI9LrAm8xbr02rrQwi/xyqFt8uYfsQ3M7p7jvqJzUTJG2f/JqoNaaqbLp2uA5zgaBaJ+I6XV4EZqV9/9jlnmo=
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
I have been trying to get the networking working via route however can't get it running.

Here is my domU config

kernel = "/boot/vmlinuz-2.6.12.6-xen"
ramdisk = "/boot/initrd-2.6.12.6-xen.img "
memory = 32
name = "vm01"
dhcp ="off"
vif = ['mac=AA:00:00:18:98:FB, vifname=vm01']
ip="192.168.1.240"
netmask=" 255.255.255.0"
gateway="192.168.1.1"
extra="selinux=0 elevator=cfq"
disk = ['file:/root/xen/centos.4-2.img,sda1,w', 'file:/root/xen/centos.swap,sda2,w']
root = "/dev/sda1 ro"

/etc/sysconfig/network-scripts/ifcfg-eth0 from inside the domU

TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=static
>BROADCAST=192.168.1.255
IPADDR=192.168.1.240
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1

ifconfig from dom0

eth0      Link encap:Ethernet  HWaddr 00:08:A1:50:FA:19
          inet addr:192.168.1.250  Bcast:192.168.1.255   Mask:255.255.255.0
          inet6 addr: fe80::208:a1ff:fe50:fa19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38535 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2791353 (2.6 MiB)  TX bytes:6028533 (5.7 MiB)

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:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4670 (4.5 KiB)  TX bytes:4670 (4.5 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:38529 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33928 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2907531 (2.7 MiB)  TX bytes:6056688 (5.7 MiB)
          Interrupt:16 Base address:0xa000

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:33891 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6028533 (5.7 MiB)  TX bytes:2791599 (2.6 MiB)

vm01      Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr: 192.168.1.250  Bcast:192.168.1.250  Mask:255.255.255.255
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2692 (2.6 KiB)  TX bytes:252 ( 252.0 b)

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:14264 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:1016201 (992.3 KiB)  TX bytes:378 (378.0 b)


Sorry but i am confused here on how to get this working. Any help would be appreciated.

--
regards,

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