[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] MAC Matching vif-route & tip



This patch will setup iptable rules for vif's that does MAC matching, as PHYSDEV matching only works for bridged devices. (Patch generated from Xen-2.0-testing.)

On a separate but still networking issue, I noticed that my XenU's outbound traffic is sporadic (between 800KB/sec and 2MB/sec). The problem is the default qdisc being inadequate. So I fix it with:

XenU# tc qdisc add dev eth0 root tbf rate 50mbit latency 20ms burst 50k

TBF requires kernel option CONFIG_NET_SCH_TBF, but other qdisc should work too if the buffer is large enough to handle the bandwidth. To make this permanent, add it as a 'up' line to iface eth0 in XenU's /etc/network/interfaces.

Attachment: vif-route.patch
Description: Text document

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.