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-devel

Re: [Xen-devel] Networking problems with debian packages

To: Gerd Knorr <kraxel@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Networking problems with debian packages
From: Nicholas Lee <nic-lists@xxxxxxxxxxxxxx>
Date: Sat, 5 Mar 2005 10:22:10 +1300
Cc: Christian Wicke <xen.christian@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Mar 2005 21:23:37 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <87d5ugpz48.fsf@xxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Mail-followup-to: Gerd Knorr <kraxel@xxxxxxxxxxx>, Christian Wicke <xen.christian@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
References: <200503031213.27518.xen.christian@xxxxxxxxxxxxxxx> <87d5ugpz48.fsf@xxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Thu, Mar 03, 2005 at 03:45:11PM +0100, Gerd Knorr wrote:
> Christian Wicke <xen.christian@xxxxxxxxxxxxxxx> writes:
> 
> > Does anyone know what is the correct way to make this work?
> 
> The xen start script network setup doesn't work very good for me as
> well.  Sometimes it works, sometimes it doesn't, havn't figured yet
> why.
> 

Debian has some useful bridge scripts:
# dpkg -S /etc/network/if-pre-up.d/bridge
bridge-utils: /etc/network/if-pre-up.d/bridge


Then from /etc/network/interfaces:

# External Bridged Network.
auto br0
iface br0 inet static
        address 202.89.35.97
        netmask 255.255.255.240
        network 202.89.35.96
        broadcast 202.89.35.111
        gateway 202.89.35.110
        bridge_ports eth1
        bridge_fd 0
        bridge_hello 0
        bridge_stp off


# Internal Bridged Network.
#  10.0.0.1 - stateless-int
auto uml-intbr
iface uml-intbr inet static
        address 10.0.0.1
        netmask 255.255.0.0
        network 10.0.0.0
        broadcast 10.0.255.255
        bridge_ports dummy0
        bridge_fd 0
        bridge_hello 0
        bridge_stp off


Note the above is from my current UML setup. I'm replacing it with a
similar configuration for my new Xen setup.

Note, with the above you simply ignore eth0 in /etc/network/interfaces.

This gets up at: /etc/rcS.d/S39ifupdown before networking at
S40networking.

Nicholas




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel