[LARTC] cheap line/expensive line situation.

Linux Advanced Routing and Traffic Control

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

 



Hi, 

I have a situation similar to cheap line/expensive line.
let's say two nic's one is on mygoodsubnet and other is provider's given ip address for their subnets.

So i do:
iptables -t mangle -A PREROUTING -s mygoodsubnet/mask -j MARK --set-mark 2

ip ru add fwmark 2 table 200
ip ro add dev eth2(outer nic) via ispsgivengateway

and... it doesn't work :(

If you would tell me how to do it, i would maybe write a mini-HOWTO and post it to linuxdoc :)



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux