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] RESOLVED: Broadcom NetXtreme II (DELL 1950)

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] RESOLVED: Broadcom NetXtreme II (DELL 1950)
From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxx>
Date: Wed, 10 Oct 2007 09:25:59 +0700
Delivery-date: Mon, 15 Oct 2007 03:37:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <470BE716.7080502@xxxxxxxxx>
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>
Openpgp: url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x418D88CB
References: <47082F9B.3000300@xxxxxxxxxxxxxxxx> <47084844.8030702@xxxxxxxxx> <470991FE.10307@xxxxxxxxxxxxx> <4709DB68.80404@xxxxxxxxx> <4709E028.500070 3@xxxxxxxxxxxxx> <4709688E.6080402@xxxxxxxxx> <470BE716.7080502@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070728)
Stefan de Konink wrote:
> Ok there are several issues with bridging:
> *STUPIDNESS* You cannot set an IP address on the endpoint of a NIC. If
> you want to manipulate a random subnet trough the bridge you should set
> the bridge with an IP address in this subnet and not one of the 'to be
> bridged' IP addresses.
>

>
> So
>
> eth1:0.0.0.0  ----  bridge  ---- tap0:0.0.0.0
>                   192.168.0.1
>
> and NOT:
>
> eth1:192.168.0.1 ---- bridge ---- tap0:0.0.0.0
>
>
This is how linux bridge works.
Solaris bridge uses a different bridging configration, in which you put
IP address on the NIC.

What I like to do is this :
eth1 --- bridge --- tap0,vif0.1

veth1:192.168.0.1

That is :
- disabled Xen's network-bridge script
- put vif0.1 on the bridge
- setup ip address on veth1

vif0.1 and veth1 is created by xen's netloop driver (loaded by xend. I
also added it to /etc/modprobe.conf). I prefer this setup because :
- there's no IP address on the bridge
- All networking setup is done by redhat's standard config files.

Regards,

Fajar

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