hi,
i got 3 MT units with 2 ADSL lines:
ADSL1—eth1| MT1|eth3—eth1|MT2|wlan1(to clients) |MT3|wlan1(clients)
ADSL2—eth2||eth5—eth2||wlan3------wlan3|___|
all i want to do is to split the traffic so that all traffic from MT2 will go to ADSL 1 and traffic from MT3 will go to ADSL2
i have connected MT1 and MT2 together with two ethernet cables so that i have two physcal connections between the two boards. each in its own ip range.
MT1 eth3 to MT2 eth 1 172.17.1.1-2/30
MT1 eth5 to MT2 eth2 172.17.2.1-2/30
MT2 wlan3 to MT3 wlan3 172.17.0.1-2/30
i mangle at MT2:so that alll traffic from MT3 will go to eth2 on MT2. using the IP address of the wlan3 on MT3 as source address.
chain=prerouting action=mark-routing
new-routing-mark=Tyger Traffic to Main passthrough=yes
src-address=172.17.0.2
routing:
add comment=“Second Route” disabled=no distance=1 dst-address=0.0.0.0/0
gateway=172.17.2.1 routing-mark=“Tyger Traffic to Main” scope=30
target-scope=10
add comment=“Main route” disabled=no distance=1 dst-address=0.0.0.0/0
gateway=172.17.1.1 scope=30 target-scope=10
At MT1 i mangle again for mark routing to split the two traffic steams , each to its own ADSL line. if i use the ip of wlan3 of MT2for src-address(172.17.2.1), it doesnt work but with ip of wlan3 of MT3(172.17.2.2), it works.
1: add action=mark-routing chain=prerouting comment=“Tyger to Main to Mweb2”
disabled=no new-routing-mark=“Tyger to Main to Mweb2” passthrough=yes
src-address=172.17.2.2
2: add action=mark-routing chain=prerouting comment=“Main to Mweb1” disabled=no
new-routing-mark=“Main to Mweb1” passthrough=yes src-address=172.17.1.1
routing: i added one extra route so that all traffic not mangled will go thought one line as well:
add comment=“Tyger traffic to Mweb2” disabled=no distance=1 dst-address=
0.0.0.0/0 gateway=41.134.106.141 routing-mark=“Tyger to Main to Mweb2”
scope=30 target-scope=10
add comment=“Route for Mweb1” disabled=no distance=1 dst-address=0.0.0.0/0
gateway=41.134.31.98 routing-mark=“Main to Mweb1” scope=30 target-scope=
10
add comment=“For all unmangled connnections” disabled=no distance=1
dst-address=0.0.0.0/0 gateway=41.134.31.57 scope=30 target-scope=10
This works great with no hassles. my problem however, is that i cant ping my radius manager which is on eth4 at MT1. 192.168.1.222. eth4 is 192.168.1.1
masqurade is enabled where needed. can surf internet etc with no hassles but just cannot ping radius server from MT3 if mangle rule on MT1 (rule 1) is enabled. can ping it however from MT2
can any one help me with why i cant ping the radius?
thx
dipdip
