nuclearcat
04-20-2006, 01:01 PM
There is in MATCH-RULES: from, to, nfmar and tos.
As i know in iproute2 there is also "dev". I will explain the idea:
Usually customer have wireless "gateway" setup, this means 1 ethernet, and 1 wireless. To not keep routing tables at all i think more good to do such setup (i will speak in iproute2 language):
lets say we have
wifi0 10.1.1.1/24 , next point is 10.1.1.2/24
eth0 10.1.2.1/24, next point 10.1.2.2/24
ip rule add dev eth0 table 200
ip route add table 200 default via 10.1.1.2
ip route default via 10.1.2.2
Then wireless gateway will looks transparent, and there is also minimum routing tables, this mean less load for host CPU.
Btw. Is in StarV3 bridging works good? It can simplify task, and i will do just bridge, if there no routing required. My preference to run big routing tables on border router, not on poor ARM cpu :)
As i know in iproute2 there is also "dev". I will explain the idea:
Usually customer have wireless "gateway" setup, this means 1 ethernet, and 1 wireless. To not keep routing tables at all i think more good to do such setup (i will speak in iproute2 language):
lets say we have
wifi0 10.1.1.1/24 , next point is 10.1.1.2/24
eth0 10.1.2.1/24, next point 10.1.2.2/24
ip rule add dev eth0 table 200
ip route add table 200 default via 10.1.1.2
ip route default via 10.1.2.2
Then wireless gateway will looks transparent, and there is also minimum routing tables, this mean less load for host CPU.
Btw. Is in StarV3 bridging works good? It can simplify task, and i will do just bridge, if there no routing required. My preference to run big routing tables on border router, not on poor ARM cpu :)