Displaying 3 results from an estimated 3 matches for "myrout".
Did you mean:
myroot
2006 Jun 21
1
Adding routes via plugins
Hi,
I''m attempting to add a route via a plugin. I attempted to add the following to my init.rb:
myroute = ActionController::Routing::Routes.connect "boo2", :controller=>''plugin'', :action=>''index''
puts "path=#{myroute.path}"
myroute.options.keys.each do |k|
puts "#{k}=#{myroute.options[k]}"
end
The newly created route is com...
2004 Jun 16
3
bandwidth shaping based on trafic on other host
Hi Folks,
I am a newbie in Qos... I could not find references to my question,
then I am asking.
This is the network:
192.168.1.2 --+
192.168.1.3 --+ Router
192.168.1.4 --+ Linux/2.4
192.168.1.5 --+---- eth0 eth1 ---- internetprovider1
200.x.x.2 ----+
200.x.x.3 ----+
200.x.x.4 ----+
Other network:
internetprovider2 ----- 200.y.y.6 (static IP)
The link to internetprovider1 is
2005 Feb 18
0
Route away packets addressed to the machine itself w/iproute and Netfilter
...he incoming ip address is not configured on the receiving
machine (but is configured to be arpproxied) but not with the "main" ip
address.
This is what i did to test
on 10.0.0.1
ifconfig
eth0: main interface
tunnel2: ipip tunnel interface to 10.2.0.2
/etc/iproute/rt_tables
added:
100 myroute
iptables -A PREROUTING -t mangle -d 10.0.0.1 -p tcp --dport 80 -j MARK
--set-mark 99
ip route add table test dev tunnel2
ip rule add fwmark 99 table test
in 10.0.0.2
ifconfig eth0:101 10.0.0.1 netmask 255.255.255.255
What i''m doing wrong ?
Thanks!