MAC Matching vif-route & tip
PATCH 1/1 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.
tools/examples/network-route Wed Sep 7 09:51:51 2005 renamed from tools/examples/network-route Fri Aug 12 13:48:47 2005 +1 -0
@@ -17,3 +17,4 @@ #============================================================================ echo 1 >/proc/sys/net/ipv4/ip_forward +echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp
tools/examples/vif-route Wed Sep 7 09:51:51 2005 renamed from tools/examples/vif-route Fri Aug 12 13:48:47 2005 +31 -10
69 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel