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

[Xen-devel] VIF Interfaces not transparent to all ethernet protocols?

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] VIF Interfaces not transparent to all ethernet protocols?
From: Armin Kemper <Armin.Kemper@xxxxxxx>
Date: Mon, 8 Nov 2004 20:28:57 +0000 (UTC)
Delivery-date: Tue, 09 Nov 2004 07:52:36 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Loom/3.14 (http://gmane.org/)
Hi, 

I'm new to XEN and trying to migrate from UserMode Linux, because its much 
faster!!!

After having some trouble messing around with devfs (I'm using gentoo...)
the VMs are booting fine.


My current UML Setup looks like this:

Main Machine:
linux-2.4.22-gentoo   (using SKAS patch)
2 ethernet interfaces
eth0 connected to LAN
eth1 connected to DSL-Modem

The UML-VM has 2 virtual Interfaces 
eth0 and eth1
apperaing as tap0 and tap1 on the main machine

the vm is connected to the lan via proxy-arp/routing (uml-stadard),
the tap1 Interface ist bridged to eth1 on the main machine.

The UML-VM is running the rp-pppoe driver on eth1 (tap1)




My XEN 2.0 setup:
what I tried to do is creating 2 bridges (one for each physical interface)
on the host, bridging the first VIF to the LAN and the second to the DSL-Modem.

when I start the rp-pppoe inside the vm, I can see the PPPoE packets appearing
on the eth1 Interface (using tcpdump -nei eth1 inside the vm), but they never 
arrive at the corresponding vif on the main machine (using tcpdump -nei vif1.1).

The other way, sending PPPoE packets, to the vif1.1 from the main machine works.
I can see them inside the VM, but the other direction seems to be blocked.

If I set an IP-address on the eth1 interface inside the vm, I can see IP/ARP 
packets to, but no PPPoE.

After searching the XEN Mailing lists and XEN Changlogs, I found that there has 
been a change in one of 1.x releases making changes to the handling of ethernet 
packets, but I can't find any similar code in the current release.
This was in ChangeSet@xxxxxx

Sowhere in the XEN-docs I read that vif Interfaces are transparent, but in this 
case they aren't.


So my Question is:
I this a bug? Otherwise I cannot find anything in the docs about this.
If this is the right behaviour, where can I change it?
I havent't found any filtering code neither in the backend nor the frontend 
driver.


Best regards,

Armin Kemper



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel