4

iproute2: policy routing slowing down existing network?

view full story
linux-howto

http://serverfault.com – I'm using iproute2 to set up policy routing as follows: echo 200 $table >> /etc/iproute2/rt_tables ip rule add from $my_ip table $table ip route add default via $gw_ip dev $dev table $table ip route flush cache Where $dev is a device set-up by OpenVPN. This way everything bound to $my_ip, would go through $gw_ip. This works out fine, except that it seems to slow down the main table's default route traffic, even though there is no traffic at all on the newly set-up route. Is this possible? And if so, how? (HowTos)