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] Problem creating vm with two nics

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem creating vm with two nics
From: Dennis Storm - Drecomm BV <d.storm@xxxxxxxxxx>
Date: Fri, 27 Nov 2009 18:07:39 +0100
Delivery-date: Fri, 27 Nov 2009 09:08:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <78ad293c0911270904g523f150cs9b805d0accf27001@xxxxxxxxxxxxxx>
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>
References: <78ad293c0911270904g523f150cs9b805d0accf27001@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Do you have any logging from Xen you could paste to the list? Might help to see where the issues are.

Met vriendelijke groet,

Dennis Storm - Senior Systeembeheerder
Telefoon: (050) 577 58 22 (toestel 9701)
Mobiel: 06 4141 0181
E-mail: d.storm@xxxxxxxxxx


Drecomm BV "Internet Intelligence"
Opensource Internet Oplossingen

Vestiging Groningen:
    Hoendiep 208
    9745 ED  Groningen
    T:  +31 (0)50 577 58 22
    F:  +31 (0)50 577 58 23

Vestiging Rotterdam,  Walenburgerweg 46,  3033 AD  Rotterdam
Vestiging Amersfoort, Bergstraat 25, 3811 NE  Amersfoort



Martin Aceto wrote:
Hello list,

I 'm new on the mailing list. I've been using Xen for several years, but always with basic configurations and it worked for me, also i have several Debian/Xen servers working on production stages and they work really fine. But now i have some big trouble that i cannot solve, i'll give you some info to see if someone can give me a hand:

Server: Sun x86
OS: Debian Lenny
Xen Hypervisor: 3.4.22

I need to configure two Nics eth0 and eth1

eth0 is a public network(Internet)
eth1 is a private network (local)

Right now i have the following configuration:

/etc/network/interfases

### Static Mode ###############
# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet static
        address 10.10.10.145
        netmask 255.255.255.240
        network 10.10.10.144
        broadcast 10.10.10.159
        gateway 10.10.10.158

#allow-hotplug eth1
auto eth1
iface eth1 inet static
        address 192.168.10.10
        netmask 255.255.255.0
        network 192.168.10.0
        broadcast 192.168.10.255
        #gateway 192.168.10.1

/etc/xen/xend-config.sxp

(network-script network-bridge-wrapper)
(vif-script vif-bridge)

/etc/xen/scripts/network-
bridge-wrapper

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1


ifconfig

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)

peth0 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b8 inet6 addr: fe80::214:4fff:feca:47b8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6292 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6414 errors:8 dropped:0 overruns:0 carrier:8
          collisions:19 txqueuelen:100
          RX bytes:580331 (566.7 KiB)  TX bytes:3437154 (3.2 MiB)
          Memory:fbee0000-fbf00000

peth1 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b9 inet6 addr: fe80::214:4fff:feca:47b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:12120 (11.8 KiB)  TX bytes:846 (846.0 B)
          Memory:fbe60000-fbe80000

xenbr0 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b8 inet addr:10.10.10.145 Bcast:0.0.0.0 Mask:255.255.255.240
          inet6 addr: fe80::214:4fff:feca:47b8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6084 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6401 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:482561 (471.2 KiB)  TX bytes:3436112 (3.2 MiB)

xenbr1 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b9 inet addr:192.168.10.10 Bcast:0.0.0.0 Mask:255.255.255.0
          inet6 addr: fe80::214:4fff:feca:47b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 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:0 (0.0 B)  TX bytes:468 (468.0 B)


And when i want to run a virtual machine, it halts when it's booting

NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver

and it doesn't continue! Has anyone have any idea of what am I doing wrong?

Thank you!

--
Martin Aceto


------------------------------------------------------------------------

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

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

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